You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I had the same error with this repository, and I fixed this error by replacing all occurences of "cuda:1" to "cuda:0"
In your code, the GPU you are using is named "cuda:1", but this fails on some computers.
For instance, on my computer, this dummy piece of code fails :
The error is
I had the same error with this repository, and I fixed this error by replacing all occurences of "cuda:1" to "cuda:0"
The files involved are:
tab-ddpm/scripts/train.py
Line 12 in b476257
tab-ddpm/scripts/train.py
Line 91 in b476257
tab-ddpm/scripts/pipeline.py
Line 41 in b476257
tab-ddpm/scripts/sample.py
Line 34 in b476257
The text was updated successfully, but these errors were encountered: