Closed dongjun-Lee closed 3 years ago
The training script supports multiple GPUs through pytorch-lightning (see the documentation here). To use GPUs 0 and 1, you would specify the --gpus
argument to be 2
like so: --gpus 2
. Let me know if this helps!
Hi,
Thank you for your great work. I'm using the training script in the documentation as below:
It works well when using single gpu. However, when I use multi-gpus (export CUDA_VISIBLE_DEVICES=0,1), below error occurs.
Can I use the training script in multi-gpu setting? Thank you.