Closed biobai closed 4 weeks ago
Can you check what device your model is on, cuda:0 or cuda:1?
You might be able to fix this by setting only one visible device at the top of your notebook/script (before defining your model):
import os
# set only GPU 0 as visible
os.environ['CUDA_VISIBLE_DEVICES'] = '0'
Hope this helps!
That works. Thanks, @mtcarilli
I follow the instructions from Demo.ipynb.
conda list