Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork216
Test changes from https://github.com/FluxML/ZygoteRules.jl/pull/26#1466
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
devmotion commentedOct 24, 2023
Seems the Zygote test failures only point to a few tests that have to be updated since they rely on the current non-collapsing behaviour. |
ToucheSir commentedOct 24, 2023
Most if not all of those should be fixed by#1328, but it hasn't been merged yet. Do you have any insight into the DynamicPPL error? If it doesn't look related, the ZygoteRules PR should be good to go. |
devmotion commentedOct 25, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
DynamicPPL can be ignored - AbstractMCMC 4.5 contains a breaking change which was accidentally released in a non-breaking release (TuringLang/AbstractMCMC.jl#132 (comment)). Hopefully it will be yanked soon (JuliaRegistries/General#94031). |
devmotion commentedOct 25, 2023
I went through the CI logs once more and I thinkhttps://github.com/FluxML/Zygote.jl/actions/runs/6631670834/job/18015683033?pr=1466#step:6:818 might be problematic: There |
devmotion commentedOct 25, 2023
I guess my assumption about the return type of Zygote.jl/src/compiler/interface.jl Line 98 inf755127
|
ToucheSir commentedOct 25, 2023
Yeah, so this goes all the way back to the early early days of Zygote and I don't think the behaviour nor the reasoning for it have ever been documented:https://github.com/FluxML/Zygote.jl/blame/087b55467afb4ee312ad1325de02bdf91e07e790/src/compiler/interface.jl#L60. We should make a more formal guarantee now, but of what? It would be good to know where other AD libraries fall on this, AbstractDifferentiation.jl and its backends come to mind. Also cc@mcabbott since I think he last had to deal with this part of the codebase. |
devmotion commentedOct 26, 2023
Yeah, I think such conventions should be documented more clearly and followed more consistently. IMO it would be reasonable to demand that |
We have both Zygote's own CI and downstream tests here, so it'll be much easier to see what the impact is.
PR Checklist