-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Problem with nuclear norm, safe_map() argument 2 is longer than argument 1 #904
Comments
Also, if it helps, these are the versions: |
Can you give a standalone script that can be ran? Including imports etc. |
Sure, here it is:
If you remove the "nuc" option, the code will run, otherwise, you'll get the error previously mentioned. |
Hi Jad, |
Hello @johannahaffner, thanks for the prompt and useful reply. Uninstalling and reinstalling jax resolved the issue. I am not sure what happened there, but it works now some I am closing the issue. |
Related to #716, I am having the same error when trying to put a nuclear norm of a model weight in the loss.
Minimal reproducible example:
dataloader
is a typical dataloader.Note: It works fine for the Frobenius norm (default).
I am unsure if it is a problem with equinox or the same bug in the new version of JAX.
The text was updated successfully, but these errors were encountered: