删除以下设置多个设备可见的代码
os.environ[‘CUDA_VISIBLE_DEVICES’]=‘4,5,6’
解决 torch.cuda.DeferredCudaCallError:CUDA call failed lazily at initializationwitherror:device>=0 报错
最新推荐文章于 2024-04-29 18:34:02 发布
删除以下设置多个设备可见的代码
os.environ[‘CUDA_VISIBLE_DEVICES’]=‘4,5,6’