Closed Watterry closed 4 months ago
I tried to use CUDA:1 or other device because my CUDA:0 is taken by other application. I tried to change "cuda" to "cuda:1" in all script but it didn't worked.
Is it possible to do this?
Just set CUDA_VISIBLE_DEVICES=1 as an env var, and set TORCH_DEVICE=cuda
CUDA_VISIBLE_DEVICES=1
TORCH_DEVICE=cuda
I tried to use CUDA:1 or other device because my CUDA:0 is taken by other application. I tried to change "cuda" to "cuda:1" in all script but it didn't worked.
Is it possible to do this?