-
Is there a way to specify the GPU I want to use? I have a machine with multiple GPUs and I would like to load the model into a specific GPU instead of it defaulting to the first one. |
Beta Was this translation helpful? Give feedback.
Answered by
jongwook
Oct 17, 2022
Replies: 1 comment 5 replies
-
Setting the environment
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
jongwook
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting the environment
CUDA_VISIBLE_DEVICES
will work, like:--device cuda:3
may also work, but I haven't tested.