-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: radix_sort: failed on 1st step: cudaErrorInvalidDevice: invalid device ordinal #29
Comments
Seeing a similar/related error on a Tesla K80:
|
Having the same issue as @josephrocca with a Tesla K80. |
Same, I also do see it pop up more with later GPUs (RTX 30x0) |
Please provide the code leading up to it. I need more context |
Hi! I also ran into this problem. As I understand it, this is a compatibility issue. Changing this line Line 23 in e5955db
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -std=c++14 -gencode=arch=compute_37,code=sm_37") for Tesla K80 on Google Colab helped me. -gencode=arch=compute_86,code=sm_86 for RTX 3090 . -gencode=arch=compute_75,code=sm_75 for Tesla T4 . Found info about matching CUDA arch here: https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/
|
@IzhanVarsky Thank you so much!! I updated the install section of my notebooks that use diffvg with the following code, and now they work when Colab assigns me K80 machines.
|
Hello! Nice work!
I'm trying to get this running on an RTX 3090, I'm getting warnings when installing where its recommending that i launch with -std=c++14
Other than that I'm not seeing anything out of the ordinary. Has anyone else managed to get this running for newer rtx cards?
The text was updated successfully, but these errors were encountered: