Specify GPU
CerebralSeed opened this issue · comments
CerebralSeed commented
Could something be added to specify the GPU to use?
vadim epstein commented
CUDA_VISIBLE_DEVICES environment variable perfectly controls this.
you can set it from command line: set CUDA_VISIBLE_DEVICES=0
or from python itself:
import os
os.environ['CUDA_VISIBLE_DEVICES']='0'
CerebralSeed commented
Okay, got it. I will give that a try.