Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a way to configure multithreading options for all tasks #78

Open
lorenzomammana opened this issue Nov 3, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@lorenzomammana
Copy link
Contributor

Description & Motivation

Right now we have no direct way to setup the number of threads used by numpy or torch, as such there are cases of heavy cpu usage for certain operations causing issues to multple users environments.

It would be nice to have a way to set the standard multithreading environment variables
OMP_NUM_THREADS
OPENBLAS_NUM_THREADS
MKL_NUM_THREADS
VECLIB_MAXIMUM_THREADS
NUMEXPR_NUM_THREADS

And torch num threads

@lorenzomammana lorenzomammana added the enhancement New feature or request label Nov 3, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant