Skip to content
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

Turing.jl parallel sampling BoundsError #60

Closed
soldasim opened this issue Jan 8, 2025 · 2 comments
Closed

Turing.jl parallel sampling BoundsError #60

soldasim opened this issue Jan 8, 2025 · 2 comments

Comments

@soldasim
Copy link
Owner

soldasim commented Jan 8, 2025

When using Turing.jl to sample multiple chains in parallel, it produces a BoundsError whenever the number of chains is higher then the Threads.nthreads() value.

This is an issue in Turing.jl, but a workaround could be implemented in BOSS.jl.

For now, avoid setting TuringBI.chain_count higher than Threads.nthreads(). (It should rarely be needed anyway.)

@soldasim
Copy link
Owner Author

soldasim commented Jan 8, 2025

Created an issure at Turing.jl: TuringLang/AbstractMCMC.jl#153

@soldasim
Copy link
Owner Author

Resolved with TuringLang/AbstractMCMC.jl#154.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant