File size: 198 Bytes
5fa1a76
 
 
 
 
 
1
2
3
4
5
6
Add the following environment variable to the beginning of your code to switch to a CPU:

import os
os.environ["CUDA_VISIBLE_DEVICES"] = ""

Another option is to get a better traceback from the GPU.