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 4 times, most recently from 81d8c6d to 8a22461 Compare December 4, 2025 20:16
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: 840353856
@copybara-service copybara-service bot merged commit ec85cdd into main Dec 4, 2025
@copybara-service copybara-service bot deleted the test_839319133 branch December 4, 2025 20:30
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