Open agostini01 opened 4 years ago
This should work:
CUDA_VISIBLE_DEVICES=2,3 python demo_cli.py
But it currently does not, always assigning the work to device 0.
import torch torch.cuda.set_device(1)
This should work:
But it currently does not, always assigning the work to device 0.