Skip to content
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

CUDA_ERROR_UNSUPPORTED_PTX_VERSION (222) #2

Closed
quantaosun opened this issue Oct 22, 2022 · 0 comments
Closed

CUDA_ERROR_UNSUPPORTED_PTX_VERSION (222) #2

quantaosun opened this issue Oct 22, 2022 · 0 comments

Comments

@quantaosun
Copy link
Owner

quantaosun commented Oct 22, 2022

In case of the CUDA version error.

CUDA_ERROR_UNSUPPORTED_PTX_VERSION (222)

There are two ways to get rid of this

  1. Use nvidia-smi to print out your cuda version. In my case, it is 11.2. Use conda list | grep cudatoolkit to print out the cudatoolkit version, in my case it is 11.7. You see, the difference between the cuda driver and cuatoolkit version is where this problem lies. An easy way to fix this, is to change cudatoolkit to the same 11.2 version. by conda install -c conda-forge cudatoolkit=11.2

  2. Alternatively, you could modify the yaml file to change CUDA to OpenCL, if your platform supports OpenCL. However, this might not be as fast as CUDA in terms of utilizing GPU power.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant