-
-
Notifications
You must be signed in to change notification settings - Fork 611
Enable other reactant tests #2600
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
base: master
Are you sure you want to change the base?
Conversation
@mcabbott @ToucheSir a lot of these remaining errors seem to be bugs in the testing infra?
Do you have any idea what's happening (or could help make an isolated example of what's going awry) |
From reading the log... error is from this utility function: Lines 38 to 44 in 0e36af9
Seems to be called with 1st argument Zygote gradient, and 2nd argument Enzyme gradient: Line 109 in 0e36af9
And Zygote will often truncate branches which are like Signature in another error is other order... but it looks like Enzyme has left Tuple{Int64, Int64} in the gradient, where Zygote has nothing. Then in the next recursion inwards, you could get
|
yeah Enzyme keeps the primal and shadow structures the same, so it sounds like the test works -- but the test function itself is busted here? |
Yes, that's right. Sorry I stopped before the conclusion! Somehow the function for doing approximate equality on nested structs needs to be made smart enough to handle the difference between Zygote & Enzyme conventions. |
No description provided.