Skip to content

Support NUMBA_NUM_THREADS env variable #9075

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

Open
flying-sheep opened this issue May 13, 2025 · 0 comments
Open

Support NUMBA_NUM_THREADS env variable #9075

flying-sheep opened this issue May 13, 2025 · 0 comments

Comments

@flying-sheep
Copy link

According to Avoid Oversubscribing Threads, you set OMP_NUM_THREADS, MKL_NUM_THREADS, and OPENBLAS_NUM_THREADS.

You should also set NUMBA_NUM_THREADS and maybe more: https://github.com/joblib/joblib/blob/ed0806a497268005ad7dad30f79e1d563927d7c6/joblib/_parallel_backends.py#L59-L67

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

Successfully merging a pull request may close this issue.

1 participant