How to specify GPU to use #297
-
Hi, Just want to say this is a great library. I would like to ask if it is possible to specify the GPU to use (not using docker). Current device is able to select between 'cuda', 'auto', etc. But is there a way to specify the GPU to use? i tried device='cuda:2' and it doesnt work. |
Beta Was this translation helpful? Give feedback.
Answered by
lckr
Jul 13, 2024
Replies: 1 comment 1 reply
-
Hi, does setting |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
michaelfeil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, does setting
export CUDA_VISIBLE_DEVICES=2
to select a single gpu orexport CUDA_VISIBLE_DEVICES=0,1,2
for multiple gpus help?