Open
Description
Describe the bug
Cannot specify GPU to train the model, only GPU 0 can be used
Reproduction
- What command or script did you run?
train.py
- Did you make any modifications on the code or config? Did you understand what you have modified?
Only when I change the Gpu_id to 1 will an error occur
RuntimeError: Expected tensor for 'out' to have the same device as tensor for argument #3 'batch2'; but device 1 does not equal 0 (while checking arguments for baddbmm)