-
Notifications
You must be signed in to change notification settings - Fork 35
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
grad does not work when using dynamic one-shot #1092
Comments
Same crash exists for value_and_grad:
|
Same crash happens when using jvp and vjp:
the traceback is a little different but essentially the same problem:
|
The following tests have already been added to catalyst and are marked xfail or skip. Any solution to this issue should pass these tests at
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
using grad does not work when using dynamic one-shot.
Crash happens in the following code:
which crashes with the following message:
Expected behavior: Same circuit without mcm_method="one-shot"
returns
Reproduces how often: 100%
System information:
The text was updated successfully, but these errors were encountered: