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

Deprecate jax.clear_backends. #20275

Closed
wants to merge 0 commits into from
Closed

Deprecate jax.clear_backends. #20275

wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Mar 15, 2024

Deprecate jax.clear_backends.

jax.clear_backends does not necessarily do what its name suggests and can lead to unexpected consequences, e.g., it will not destroy existing backends and release corresponding owned resources. Use jax.clear_caches if you only want to clean up compilation caches. For backward compatibilty or you really need to switch/reinitialize the default backend, use jax.extend.backend.clear_backends.

@copybara-service copybara-service bot changed the title deprecate jax.clear_backends Deprecate jax.clear_backends. Mar 18, 2024
@copybara-service copybara-service bot force-pushed the test_616212663 branch 3 times, most recently from baa0921 to 19fc7e1 Compare March 18, 2024 21:01
@copybara-service copybara-service bot closed this Mar 18, 2024
@copybara-service copybara-service bot deleted the test_616212663 branch March 18, 2024 21:23
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