Closed markscsmith closed 2 months ago
See #1852 for details on the upstream reason in pytorch this is needed
For reference, this is not a bug per se (the return type of a lr schedule should be float, not np.ndarray
) but it is annoying for users/error message should be improved anyway.
Oh! My bad! Should I recategorize as enhancement? Thank you for being so patient with my noob mistakes :)
Oh! My bad! Should I recategorize as enhancement? Thank you for being so patient with my noob mistakes :)
this is fine, no worry, I just wanted to comment in case someone else finds the issue.
🐛 Bug
When using the model save/load function, using certain types in a learning_rate function will cause the
model.load
to requireweights_only=False
because they are not an allowed safe unpickle type.To Reproduce
Relevant log output / Error message
System Info
Checklist