Skip to content
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

Support Zygote.forwarddiff & Zygote.checkpointed #17

Open
prbzrg opened this issue Aug 15, 2023 · 1 comment
Open

Support Zygote.forwarddiff & Zygote.checkpointed #17

prbzrg opened this issue Aug 15, 2023 · 1 comment

Comments

@prbzrg
Copy link
Member

prbzrg commented Aug 15, 2023

Hi,
I have a question, do we need to support Zygote.forwarddiff? What about Zygote.checkpointed?
I think, there can be parameters of AutoZygote to activate them.

@gdalle
Copy link
Collaborator

gdalle commented Apr 16, 2024

  • Supporting Zygote.forwarddiff seems weird to me, because if you really need to differentiate a function with ForwardDiff.jl you will use AutoForwardDiff
  • Supporting Zygote.checkpointed seems reasonable, and it could be a field checkpointed::Bool of AutoZygote in the same way that e.g. AutoReverseDiff has compile::Bool. A type parameter would seem more type-stable, but given how unstable Zygote.jl itself is, I don't know if it matters. @Vaibhavdixit02, any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants