if I use gpu to train,How can I best set these three environment variables? #1512
Unanswered
shenghansen
asked this question in
Q&A
Replies: 2 comments
-
I know this three environment variables mean,but i don't know how to set them to get the best performance if i use gpu ,should I set OMP_NUM_THREADS=4 if i have 4 gpus,then how to set TF_INTRA_OP_PARALLELISM_THREADS, and TF_INTER_OP_PARALLELISM_THREADS.I really need your help,please. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's unclear unless you compare on your machine. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
when i use gpu to train ,I met the warning below,How can I best set these three environment variables?
WARNING:root:To get the best performance, it is recommended to adjust the number of threads by setting the environment variables OMP_NUM_THREADS, TF_INTRA_OP_PARALLELISM_THREADS, and TF_INTER_OP_PARALLELISM_THREADS.
Beta Was this translation helpful? Give feedback.
All reactions