-
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
remove zygoterules #451
base: master
Are you sure you want to change the base?
remove zygoterules #451
Conversation
Codecov Report
@@ Coverage Diff @@
## master #451 +/- ##
==========================================
+ Coverage 93.18% 93.46% +0.28%
==========================================
Files 52 51 -1
Lines 1261 1255 -6
==========================================
- Hits 1175 1173 -2
+ Misses 86 82 -4
Continue to review full report at Codecov.
|
…tions.jl into st/remove_zygoterules
Huh, this is weird. Is it clear if we're hitting these adjoints at all in our tests? |
|
The rules were defined for |
The rules were defined for |
That KernelFunctions.jl/src/zygoterules.jl Lines 1 to 7 in 8e805ef
map . Internally, typically we work with _map though (due to AD issues and map being handled to generally by Zygote), e.g., in KernelFunctions.jl/src/kernels/transformedkernel.jl Lines 84 to 118 in 05fe340
map will not be hit.
|
Just verified this locally by adding print statements to the zygote rules -- they don't seem to be hit. Given that we document that one can call |
@devmotion ah okay, I think I see what you mean now. Given the @willtebbutt what would you like to have added unit tests for ? |
I don't think this will work. The main reason why |
Curious to see what breaks...