Closed sk142857 closed 1 year ago
RuntimeError: CUDA error: invalid device ordinal 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.
运行参数的 num_processes 改一下, 你有多个块GPU,就填多少
num_processes
感谢。
我改完num_processes 还会出现这个错误,什么原因呢 @k55k32 @sk142857
RuntimeError: CUDA error: invalid device ordinal 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.