Closed SeekPoint closed 7 years ago
You can use cutorch.setDevice(i) (see the README at https://github.com/torch/cutorch) or otherwise set the CUDA_VISIBLE_DEVICES environment variable.
cutorch.setDevice(i)
CUDA_VISIBLE_DEVICES
You can use
cutorch.setDevice(i)
(see the README at https://github.com/torch/cutorch) or otherwise set theCUDA_VISIBLE_DEVICES
environment variable.