Zygote.jl
Zygote.jl copied to clipboard
test with ChainRulesTestUtils
we should replace out testing utilities https://github.com/FluxML/Zygote.jl/blob/master/test/gradcheck.jl
with the ones given by ChainRulesTestUtils. https://juliadiff.org/ChainRulesTestUtils.jl/dev/#Testing-AD-systems
Maybe. There's something to be said for keeping legacy tests as they were, so that you can be quite sure what's changed if they fail. And, if spending time re-writing things, perhaps it's better spend on transferring rules to ChainRules, & adding upgraded tests there.
Now that we are free of Zygote-isms in src/ and upstreamed as many rules as we can to ChainRules (in Flux, Zygote is still a WIP), perhaps it's time to revisit this.