|
发表于 2024-10-4 01:21:58
|
显示全部楼层
我用RTX4060 8G显存的显卡试了,显示CUDA显存不足,下面是代码: torch.cuda.synchronize()
File "E:\Rope-Live-Next-极速版\venv3.10\lib\site-packages\torch\cuda\__init__.py", line 892, in synchronize
return torch._C._cuda_synchronize()
RuntimeError: CUDA error: operation not permitted when stream is capturing
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
|
|