-
Notifications
You must be signed in to change notification settings - Fork 89
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
reuse factorization in rule for \ #302
base: main
Are you sure you want to change the base?
Conversation
This fails for some inputs because |
@willtebbutt gave me a workaround:
|
bother: : |
This should be unblocked by JuliaLang/julia#40899 |
testing this against JuliaLang/julia#40899 (cc @andreasnoack for interest)
So I think probably JuliaLang/julia#40899 works, not 100% sure re the last point |
The error suggests that you end up doing something like |
Worth asking @DhairyaLGandhi who originally openned this issue in FluxML/Zygote.jl#773 / #250 I never want to actually AD In general ChainRules exercises all paths because it does. |
Closes JuliaLang/julia#250
Its pretty cute
I am not 100% sure this is correct, but CI will tell me
Also stops thunking
∂B
since we want to use that for∂A
which means if we need
∂B
then we need to compute it, and if we need∂A
we needed to compute it,so either way we need it.