Skip to content

Fix issue #145: set max OPENBLAS_NUM_THREADS to 128#180

Merged
diegodoimo merged 4 commits into
mainfrom
fix_multiprocessing_issue
May 17, 2026
Merged

Fix issue #145: set max OPENBLAS_NUM_THREADS to 128#180
diegodoimo merged 4 commits into
mainfrom
fix_multiprocessing_issue

Conversation

@diegodoimo
Copy link
Copy Markdown
Collaborator

Fixes #145

I capped the maximum number of threads at min(128, multiprocessing.cpu_count()) and fixed issue #145.

  • n_jobs can be configured in the base class as a regular parameter (as before).
  • If n_jobs is not specified, it defaults to min(128, multiprocessing.cpu_count()).
  • Thread configuration is now centralized in a single module instead of being handled across multiple parts of the codebase.

@diegodoimo diegodoimo merged commit bf318cf into main May 17, 2026
7 checks passed
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

Successfully merging this pull request may close these issues.

When n_jobs > 128 the Data class crushes

1 participant