-
Notifications
You must be signed in to change notification settings - Fork 32
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
MaternKernel AD #450
Comments
Isn't that the convention in Zygote and expected? In Zygote every undefined gradient is To me it doesn't seem like a Zygote issue and rather |
I'm okay (although disappointed) that this is what Zygote is doing. I think it's good to keep a record of this behaviour, so that we can a) point disgruntled users towards it, and b) point Zygote devs towards it if we feel so inclined. |
Ideally, the convention in Zygote would be changed but I don't think this will happen anytime soon (and possibly never). But it's still not clear to me why Zygote being surprising here should affect if we return |
I'll take back my statement above. Apparently Zygote returns Possibly the issue in #425 was that the pullback was incorrect (missing |
#425 makes it possible to AD through the
MaternKernel
by dropping the derivative w.r.t.\nu
. We tried ensuring that it returns aNotImplemented
, but Zygote doesn't appear to handle it properly, returning anothing
, rather thanNotImplemented
.The text was updated successfully, but these errors were encountered: