-
Notifications
You must be signed in to change notification settings - Fork 3
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
MCMCThreads error #28
Comments
Huh, can't replicate this on my desktop machine (using code from before df6521b). I'll roll my branch forward and see if I can trigger it with the new code. |
Are we using the same manifest file? I'm using exactly what is in main branch. |
Yep, exactly the same manifest. |
Replicated using current main -- curious! Will investigate more. |
Found it, opened an issue TuringLang/AbstractMCMC.jl#89. |
Is there anything we can do to avoid that? |
A temporary solution in HighDimensionalEconLab/DifferentiableStateSpaceModels.jl#70 resolves this one |
Currently, I set the Turing sampler to be just sampling one chain and it can work, see https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/src/estimate_rbc_1_joint.jl#L34-L40
If it is replaced by the MCMCThreads() version, i.e.,
@cpfiffer you can replicate this error by changing the codes in https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/src/estimate_rbc_1_joint.jl#L34-L40, and compile the package again, then run this https://github.com/HighDimensionalEconLab/HMCExamples.jl/blob/main/test/runtests.jl#L6 in parciular.
The text was updated successfully, but these errors were encountered: