-
Notifications
You must be signed in to change notification settings - Fork 69
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
stack overflow in type inference of forcefold #2261
Comments
that seems unrelated (and appears to be ignored by Julia as a warning). It looks like the real issue is
which is that the functino you're differentiating didn't return a float |
Yeah, the error indeed is something else, happy to ignore that. Do you think you know based on the above repro snippet what the cause of the stack overflow is? I can reduce it further, but will do so only if necessary, since it's slow work with these Turing models and sampler code. |
yeah the stackoverflow doesn't need reduction [and is incidentally within julia itself] |
Working example (not claiming it's a minimal one):
Output:
Enzyme v0.13.28, Julia v1.10.6.
This came up while minimising #2256. I would like to sort this one out first in case the two are related, given that minimising #2256 is quite laboursome. This one is hopefully easier given that at least the error is deterministic.
The text was updated successfully, but these errors were encountered: