What are current limitations for using jax.jit for training? #5256
Unanswered
wittenator
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
For example the guide https://flax.readthedocs.io/en/latest/guides/flax_gspmd.html is completely written with jax.jit, but using it for my own more complex models seems to not update the weights during training. Replacing nnx.value_and_grad with jax.value_and_grad also throws errors due to int values. Are there known cases where this cannot be used such with randomness etc.?
All reactions