Skye Wanderman-Milne
cc5171034f
Add new config jax_persistent_cache_min_compile_time_secs
.
This replaces `jax_persistent_cache_min_instruction_count` introduced
in https://github.com/google/jax/pull/12798, since gating on the
compile time seems strictly better than gating on the instruction
count (except maybe that the instruction count is more deterministic,
but I don't think that's a big deal).
I defaulted to 1 second as the minimum threshold based on the same
flax wmt example
(https://github.com/google/flax/tree/main/examples/wmt) numbers from
name | instruction_count | compile_time_secs
---- | ----------------- | -----------------
`broadcast_in_dim` | 2 | 0.01633763313
`convert_element_type` | 2 | 0.01704716682
`reshape` | 2 | 0.01730203629
`_squareit` | 2 | 0.01730823517
`broadcast_in_dim` | 2 | 0.0182030201
`convert_element_type` | 2 | 0.01982188225
`concatenate` | 2 | 0.02102327347
`true_divide` | 2 | 0.02172231674
`broadcast_in_dim` | 2 | 0.02370619774
`broadcast_in_dim` | 2 | 0.02393102646
`broadcast_in_dim` | 2 | 0.02488565445
`broadcast_in_dim` | 2 | 0.03395628929
`broadcast_in_dim` | 2 | 0.03428125381
`broadcast_in_dim` | 2 | 0.0394551754
`shift_right_logical` | 2 | 0.06500506401
`<lambda>` | 3 | 0.01793265343
`_unstack` | 5 | 0.01975226402
`_reduce_sum` | 5 | 0.0210878849
`_reduce_sum` | 5 | 0.02416801453
`_multi_slice` | 9 | 0.09065580368
`_threefry_split` | 232 | 0.09037566185
`_threefry_split` | 232 | 0.09161829948
`<unnamed wrapped function>` | 2668 | 7.701903343
`<unnamed wrapped function>` | 3455 | 17.57672167
`<unnamed wrapped function>` | 46580 | 166.2570884
`init` | 60361 | 26.35722399
`<unnamed wrapped function>` | 78010 | 3.879326344
Also adds new float config functionality.
2022-11-02 00:56:19 +00:00
..
2022-10-27 09:27:00 -07:00
2022-10-12 19:51:09 +00:00
2021-07-13 09:30:56 -07:00
2022-10-10 11:35:32 -07:00
2022-10-11 21:06:08 +00:00
2022-10-27 16:41:44 -07:00
2022-09-22 12:27:19 -07:00
2022-10-21 08:23:18 -07:00
2022-10-28 10:41:35 -07:00
2022-09-22 12:27:19 -07:00
2022-10-27 13:12:38 -07:00
2022-10-11 21:06:08 +00:00
2022-10-17 23:01:43 +01:00
2022-09-22 12:27:19 -07:00
2022-11-02 00:56:19 +00:00
2022-09-22 12:27:19 -07:00
2022-10-07 06:36:11 -07:00
2022-10-11 21:06:08 +00:00
2022-09-22 12:27:19 -07:00
2022-10-10 11:35:32 -07:00
2022-10-27 10:24:11 -04:00
2022-10-27 12:48:11 -07:00
2022-10-10 11:35:32 -07:00
2022-10-26 12:01:49 -07:00
2022-10-10 19:11:58 +00:00
2022-10-10 11:35:32 -07:00
2022-10-11 21:06:08 +00:00
2022-09-22 12:27:19 -07:00
2022-09-22 12:27:19 -07:00
2022-10-21 14:42:32 -07:00
2022-09-22 12:27:19 -07:00
2022-10-12 15:20:53 +00:00
2022-09-22 12:27:19 -07:00
2022-10-10 19:11:58 +00:00
2022-09-22 12:27:19 -07:00
2022-09-26 14:38:35 -07:00
2022-09-22 12:27:19 -07:00
2022-10-27 10:24:11 -04:00
2022-09-22 12:27:19 -07:00
2022-09-22 12:27:19 -07:00
2022-10-13 18:30:50 -07:00
2022-09-26 16:18:30 -07:00
2022-09-22 12:27:19 -07:00
2022-10-12 10:19:21 -07:00
2022-10-11 21:06:08 +00:00
2022-10-12 15:20:53 +00:00
2022-10-27 15:47:04 -07:00
2022-10-11 21:06:08 +00:00
2022-10-12 15:20:53 +00:00
2022-10-12 15:20:53 +00:00
2022-10-19 06:50:36 -07:00
2022-10-05 13:46:19 +00:00
2022-10-12 19:51:09 +00:00
2022-10-24 14:10:31 -07:00
2022-10-01 04:45:26 -07:00
2022-10-26 11:32:50 -07:00
2022-09-22 12:27:19 -07:00
2022-09-26 16:18:30 -07:00
2022-10-12 15:20:53 +00:00
2022-10-27 10:24:11 -04:00
2022-09-22 12:27:19 -07:00
2022-10-10 11:35:32 -07:00
2022-09-22 12:27:19 -07:00
2022-09-22 12:27:19 -07:00
2022-10-10 11:35:32 -07:00
2022-10-28 09:14:11 -07:00
2022-10-26 13:56:07 -07:00
2022-10-10 11:35:32 -07:00
2022-09-22 12:27:19 -07:00
2022-10-27 10:24:11 -04:00
2022-10-10 19:11:58 +00:00
2022-10-13 11:14:21 -07:00
2022-09-22 12:27:19 -07:00
2022-10-10 11:35:32 -07:00
2022-10-10 11:35:32 -07:00
2022-10-10 11:35:32 -07:00
2022-10-11 21:06:08 +00:00
2022-10-21 12:52:32 -07:00
2022-10-22 15:48:20 -04:00
2022-10-27 14:34:44 -07:00
2022-10-12 15:20:53 +00:00
2022-09-22 12:27:19 -07:00
2022-10-12 12:59:18 -07:00
2022-10-12 15:20:53 +00:00
2022-10-10 11:35:32 -07:00
2022-09-22 12:27:19 -07:00
2022-10-27 10:24:11 -04:00
2022-09-27 10:06:52 -07:00
2022-10-27 10:24:11 -04:00
2022-09-22 12:27:19 -07:00
2022-10-10 11:35:32 -07:00
2022-10-17 15:44:06 -07:00
2022-09-22 12:27:19 -07:00
2022-10-28 07:22:24 -07:00