Open Red-Portal opened 2 years ago
Can you try different older Zygote versions and check if it was introduced in some version? Unfortunately, in my experience the Zygote-ChainRules integration is quite unstable and it is not uncommon that new releases break previously working code while fixing something else.
@devmotion Unfortunately, I can't wind up to older versions of Zygote
due to an issue with Flux needing OneElement
which seems to not exist anymore. Any idea what might have caused the problem? Or should I knock on the door of ChainRules? It does seem to be a Bijector
specific problem though.
No clue, I saw so many mysterious bugs that I became tired of hunting them down and gave up on trying to understand all of them :smile: Based on the stacktrace I assume it is a more general issue with sparse arrays (it seems we end up a ZeroTangent
where we need a NoTangent
) but of course it is triggered by some code in Bijectors and it would be good to have some minimal example without Bijectors if one wants to demonstrate that is a general problem.
I guess I'll have to try ReverseDiff
for the meantime.
Hi,
Coupling
currently has an issue with differentiation. Here's a reproducible example.Seems like an issue with the chain rule of sparse arrays?