Conversation
|
Looks like this currently causes some downstream issues -- will attempt to isolate the particular rules that we need to keep Zygote and Diffractor tests passing. |
|
Diffractor never passes. Zygote failures are things like this: for which the immediate fix is that there should be rules something like |
|
This seems suprising since the PR does not touch Edit: Ah, probably |
|
Yes, the method is: If we allow I'd rather not have any of these mutating functions, but removing them might break too many things. |
|
Stumbled on this after a long dive (w/ help from Zack Li and Brian Chen on Slack) trying to understand this incorrectly dropped gradient: gradient(σ -> sum(rand(Xoshiro(1), MvNormal(zeros(2), σ*I))), 1) # nothingConversely, with this PR, instead of dropping it, you (correctly) get an error since the |
Resolves #603