You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the nnx docs and example code, I am noticing that TrainState is conspicuously absent. Furthermore, the TrainState docstring still references the outdated linen API.
What's the word on the street on TrainState? Is it still relevant in a flax.nnx world?
The text was updated successfully, but these errors were encountered:
Hey @samuela, nnx.TrainState is not documented because it was a prototype from the old days, the need for this API was reduced when we introduced nnx.Optimizer which is more ergonomic. I think we should delete it and instead show users how to use train_state.TrainState with NNX.
Looking at the nnx docs and example code, I am noticing that TrainState is conspicuously absent. Furthermore, the TrainState docstring still references the outdated linen API.
What's the word on the street on TrainState? Is it still relevant in a flax.nnx world?
The text was updated successfully, but these errors were encountered: