Currently the args for device are 'gpu' and 'cpu'. Is there a way to run the script with multiple gpu? I have tried the following and they do not work-
Option2:
Including the following code snippet in the script before import torch-
os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"]="0,1"
Thanks for the repo and would appreciate any help!
Currently the args for device are 'gpu' and 'cpu'. Is there a way to run the script with multiple gpu? I have tried the following and they do not work-
Option1: Inputting GPU ranks directly: --device '0,1'
Option2: Including the following code snippet in the script before import torch- os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"]="0,1"
Thanks for the repo and would appreciate any help!