Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace disable_backends with enable_backends on jax_multiplatform_test. #23953

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

Replace disable_backends with enable_backends on jax_multiplatform_test.

Most users of disable_backends were actually using it to enable only a single backend. So things are simpler if we negate the sense of the option to say that. Change disable_configs to enable_configs, with a default None value meaning "everything is enabled".

We change the relationship between enable_backends, disable_configs, enable_configs to be the following:

  • enable_backends selects a set of initial test configurations to enable, based off backend only.
  • disable_configs then prunes that set of test configurations, removing elements from the set.
  • enable_configs then adds additional configurations to the set.

Fix code in jax/experimental/mosaic/gpu/examples not to depend on a Google-internal GPU support target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant