Peter Hawkins
76cda0ae07
Update flags to use the ABSL typed flag API.
...
Change flags to use the newer definition style where the flag is read via a typed FlagHolder object returned by the DEFINE_... function. The advantage of doing this is that `flag.value` has a type known to the type checker, rather than reading it as an attr out of a gigantic config dictionary.
For jax.config flags, define a typed FlagHolder object that is returned when defining a flag, matching the ABSL API.
Move a number of flags into the file that consumes them. There's no reason we're defining every flag in `config.py`.
This PR does not change the similar "state" objects in `jax.config`. Changing those is for a future PR.
PiperOrigin-RevId: 551604974
2023-07-27 12:15:58 -07:00
..
2023-06-20 13:53:30 -07:00
2023-03-24 12:33:33 -07:00
2023-03-21 16:57:34 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-07-27 12:15:58 -07:00
2023-07-21 10:10:30 -07:00
2023-07-14 14:28:16 -07:00
2023-06-23 10:28:26 -07:00
2023-06-15 15:22:22 -07:00
2023-06-23 15:12:14 -07:00
2023-07-20 18:28:51 -07:00
2023-06-12 10:58:40 -07:00
2023-06-21 09:29:02 -07:00
2023-07-19 15:17:45 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-06-23 09:22:11 -07:00
2023-04-21 11:51:22 -07:00
2023-07-21 14:49:44 -04:00
2023-06-01 09:42:55 -07:00
2023-02-17 10:55:04 -08:00
2023-07-13 10:41:49 -07:00
2023-07-14 15:03:13 -07:00
2023-04-21 11:51:22 -07:00
2023-05-31 06:21:01 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-04-17 08:35:53 -07:00
2023-04-21 11:51:22 -07:00
2023-07-21 14:49:44 -04:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-03-24 23:14:54 +00:00
2023-04-21 11:51:22 -07:00
2022-11-10 11:59:50 -08:00
2023-05-16 23:17:02 +00:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-07-13 16:25:25 -07:00
2023-07-21 14:49:44 -04:00
2023-07-11 17:19:40 -07:00
2023-07-14 14:42:34 -07:00
2023-04-21 11:51:22 -07:00
2023-06-23 10:28:26 -07:00
2023-07-26 08:54:54 -07:00
2023-04-21 11:51:22 -07:00
2023-06-23 09:22:11 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-04-25 14:31:00 -07:00
2023-07-26 11:20:31 -07:00
2023-04-21 11:51:22 -07:00
2023-07-10 16:42:45 -07:00
2023-03-10 10:29:33 -08:00
2023-07-17 10:17:21 -07:00
2023-06-14 09:02:49 -04:00
2023-07-21 14:49:44 -04:00
2023-06-12 21:57:41 -04:00
2022-11-15 12:41:41 -08:00
2023-07-20 18:28:51 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-06-01 10:18:05 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-07-21 14:49:44 -04:00
2023-07-19 08:22:32 -07:00
2023-06-07 14:39:52 -07:00
2023-07-21 14:49:44 -04:00
2023-07-19 08:39:16 -07:00
2023-04-21 11:51:22 -07:00
2023-06-20 22:25:17 +00:00
2023-07-21 14:49:44 -04:00
2023-04-21 11:51:22 -07:00
2023-06-09 14:10:35 -07:00
2023-07-21 12:27:32 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-04-21 11:51:22 -07:00
2023-06-20 05:27:20 -05:00
2023-06-27 03:41:38 -07:00
2023-07-21 14:49:44 -04:00
2023-04-21 11:51:22 -07:00
2023-07-21 14:49:44 -04:00
2023-07-26 13:01:02 -07:00
2023-04-21 11:51:22 -07:00
2023-07-21 14:49:44 -04:00
2023-04-21 11:51:22 -07:00
2023-06-23 17:50:00 +00:00
2023-04-21 11:51:22 -07:00
2023-07-21 14:49:44 -04:00
2023-03-15 17:09:11 -07:00
2023-07-12 11:53:55 -07:00
2022-09-22 12:27:19 -07:00
2023-04-21 11:51:22 -07:00
2023-07-11 14:47:39 -07:00
2022-09-22 12:27:19 -07:00
2023-07-21 14:49:44 -04:00