Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Dec 2, 2025

Avoid passing concrete argument to jax.remat

This argument has had no effect since JAX v0.3.17, aside from raising NotImplementedError if it is set to True. It will be deprecated in JAX v0.8.2 and eventually removed (jax-ml/jax#33674).

Flax should probably deprecate this argument from its own remat wrappers, but I'll leave that up to the team.

#jax-fixit

@copybara-service copybara-service bot force-pushed the test_839319133 branch 2 times, most recently from c9cc26b to 3cbe27b Compare December 3, 2025 19:02
This argument has had no effect since JAX v0.3.17, aside from raising `NotImplementedError` if it is set to `True`. It will be deprecated in JAX v0.8.2 and eventually removed (jax-ml/jax#33674).

Flax should probably deprecate this argument from its own `remat` wrappers, but I'll leave that up to the team.

#jax-fixit

PiperOrigin-RevId: 839319133
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.

0 participants