-
Notifications
You must be signed in to change notification settings - Fork 68
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
illegal type analysis, Turing InverseGamma model #2169
Comments
So this is indicative of a union (which isn't presently fully supported, at least without setting Enzyme.API.strictAliasing!(false) which may permit it). Something around here https://github.com/TuringLang/DynamicPPL.jl/blob/2252a9b6012da8e2ac56353770a0f848f6874357/src/abstract_varinfo.jl#L791 is sometimes an int and other times a double. I think this will need to be fixed on the turing side. |
If this is an error which may keep cropping up in normal use of Enzyme then simplifying the error message would be good. |
oh yeah for sure, how about this? #2173 |
Improved error messages merged, better union support is already covered in other issues. |
MWE:
Output: https://gist.github.com/mhauru/66d6f71f82eb5fe9476dc08c8f92e263
Enzyme v0.13.17. Affects both Forward and Reverse modes.
The text was updated successfully, but these errors were encountered: