pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Set multiprocessing to spawn for Linux

Open fonnesbeck opened this issue 6 months ago • 9 comments

Description

Multiprocess sampling often fails randomly on Linux due to the start method defaulting to "fork". This sets it to "spawn" when mcmc is imported.

Related Issue

  • [x] Closes #7354
  • [ ] Related to #

Checklist

Type of change

  • [ ] New feature / enhancement
  • [x] Bug fix
  • [ ] Documentation
  • [ ] Maintenance
  • [ ] Other (please specify):

📚 Documentation preview 📚: https://pymc--7804.org.readthedocs.build/en/7804/

fonnesbeck avatar May 28 '25 02:05 fonnesbeck