Skip to content

Allow free-threaded parallel sampling - #8355

Draft
ricardoV94 wants to merge 3 commits into
pymc-devs:mainfrom
ricardoV94:free_threading
Draft

Allow free-threaded parallel sampling#8355
ricardoV94 wants to merge 3 commits into
pymc-devs:mainfrom
ricardoV94:free_threading

Allow free-threaded parallel sampling

f83b2aa
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 10, 2026 in 0s

91.57% (-0.17%) compared to c870b5c

View this Pull Request on Codecov

91.57% (-0.17%) compared to c870b5c

Details

Codecov Report

❌ Patch coverage is 65.04065% with 43 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.57%. Comparing base (c870b5c) to head (f83b2aa).

Files with missing lines Patch % Lines
pymc/sampling/mcmc.py 54.83% 28 Missing ⚠️
pymc/step_methods/arraystep.py 18.75% 13 Missing ⚠️
pymc/sampling/parallel.py 88.88% 1 Missing ⚠️
pymc/step_methods/compound.py 75.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8355      +/-   ##
==========================================
- Coverage   91.73%   91.57%   -0.17%     
==========================================
  Files         128      128              
  Lines       20697    20806     +109     
==========================================
+ Hits        18987    19053      +66     
- Misses       1710     1753      +43     
Files with missing lines Coverage Δ
pymc/model/core.py 93.11% <100.00%> (+0.11%) ⬆️
pymc/progress_bar/rich_progress.py 97.56% <100.00%> (-0.04%) ⬇️
pymc/step_methods/hmc/base_hmc.py 92.99% <100.00%> (+0.74%) ⬆️
pymc/sampling/parallel.py 65.45% <88.88%> (+0.65%) ⬆️
pymc/step_methods/compound.py 98.29% <75.00%> (-0.41%) ⬇️
pymc/step_methods/arraystep.py 82.79% <18.75%> (-13.31%) ⬇️
pymc/sampling/mcmc.py 88.39% <54.83%> (-3.52%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.