-
Notifications
You must be signed in to change notification settings - Fork 219
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
UndefVarError: CodeInfo not defined #1756
Comments
Does it work without memoization? |
yes, when setting |
Test errors on the master branch are caused by the same error (eg https://github.com/TuringLang/Turing.jl/runs/4629430127?check_suite_focus=true#step:6:379). It seems tests pass with previous Julia versions (< 1.6.5) and is only present in Julia 1.6.5. Thus it seems one of the changes in Julia 1.6.5 broke memoization. I assume it is an upstream bug in Memoization but I don't have a non-Turing example (put away my computer for some days 🎅). |
Likely the cause: https://github.com/JuliaLang/julia/blob/9058264a69f9efc1af805c4473c946f87859b731/base/expr.jl#L432-L433 Uncertain how it exactly affects Memoize.jl though. |
Sorry, forgot about this issue when I got hold of my computer again.
I don't think it affects Memoization.jl at all - I think it's another case where the name |
It's unfortunate that this time the escaping problem is in base Julia and hence it will take much more time until a fix is available (I would assume it would be backported to 1.6 but I have no clue about the release cycle). Hence it is probably much easier and faster to rename |
Aaaah one of those again.. And yeah, I'm in the process of renaming it right now. |
Ah, missed this and opened a separate PR 😄 |
BTW the |
Hey all,
after switching Julia from 1.6.2 to 1.6.5, I experience problems when using ReverseDiff in combination with Memoization, The following MWE fails:
The full error message is
Sorry in advance if this is not related to Turing but rather to Memoization but, I can't make much sense of the error message.
Cheers!
Edit:
Here is the package list
The text was updated successfully, but these errors were encountered: