You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
when running the code: diffopt.step(buff_losses)
the following problem occurs: RuntimeError: trying to differentiate twice a function that was markedwith @once_differentiable
but when setting track_higher_grads: bool = False, it runs correctly.
I want to know why this issue occurs. Thanks a lot for answering my question!
The text was updated successfully, but these errors were encountered:
when running the code: diffopt.step(buff_losses) the following problem occurs: RuntimeError: trying to differentiate twice a function that was markedwith @once_differentiable but when setting track_higher_grads: bool = False, it runs correctly. I want to know why this issue occurs. Thanks a lot for answering my question!
does this setting have any effect on the final result?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when running the code: diffopt.step(buff_losses)
the following problem occurs: RuntimeError: trying to differentiate twice a function that was markedwith @once_differentiable
but when setting track_higher_grads: bool = False, it runs correctly.
I want to know why this issue occurs. Thanks a lot for answering my question!
The text was updated successfully, but these errors were encountered: