-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Non-tensor attributes of nn objects are not saved by SaveToNpz/LoadFromNpz #485
Labels
bug
Something isn't working
Comments
Would it be feasable to store those values as scalar tensor instead and let the |
Yeah good idea, very straightforward! |
nkoppel
added a commit
to nkoppel/dfdx
that referenced
this issue
Jun 28, 2023
coreylowman
added a commit
that referenced
this issue
Jul 10, 2023
* add infrastructure for hyperparameter support for TensorCollections; add Gradients::as_model * run cargo fmt * use 'scalar' instead of 'hyperparameter'; use NumCast instead of ToPrimitive * run cargo fmt * add scalars to TensorCollection impls for examples listed in #485 * run cargo fmt * implement npz scalar serialization * fix documentation; simplify tensor/numpy.rs * add scalars to safetensor serialization * small simplification --------- Co-authored-by: Corey Lowman <clowman1993@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is currently affecting:
The text was updated successfully, but these errors were encountered: