quadra icon indicating copy to clipboard operation
quadra copied to clipboard

Add a way to configure multithreading options for all tasks

Open lorenzomammana opened this issue 2 years ago • 0 comments

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 avatar Nov 03 '23 13:11 lorenzomammana