-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
AssertionError when computing grad of function with @jax.custom_gradient #1875
Comments
We faced this issue for custom transforms with jvp rule. For example,
|
This was referenced Dec 18, 2019
I'm also hitting this same assertion error, though I'm pretty sure my code does not use any custom transforms. |
4 tasks
I merged #2026, which should fix this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With JAX 0.1.55, when I run:
The final line raises an AssertionError: " If you see this error, please let us know by opening an issue at https://github.com/google/jax/issues since we thought this was unreachable!"
The full traceback is:
The text was updated successfully, but these errors were encountered: