Using only 1 CPU core #1995
Unanswered
hadarshavit
asked this question in
Q&A
Replies: 1 comment
-
Running script with enabled sklearnex debugging might show if there is a problem: OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1 BLIS_NUM_THREADS=1 SKLEARNEX_VERBOSE=DEBUG python test_svr.py My output in this case is correct - SVR is patched and number of threads is reduced to 1:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to make my experiment as reproducible as possible (including running time).
Therefore, I'm want to limit the CPU usage to one core.
I used OMP_NUM_THREADS=1, OPENBLAS_NUM_THREADS=1, MKL_NUM_THREADS=1, BLIS_NUM_THREADS=1.
This made "normal" sklearn models to use only one CPU core, but for models using the intel extension (especially sklearn) I see a CPU usage of more than 100% in htop.
How can I fix that?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions