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: the provided PTX was compiled with an unsupported toolchain #280

Open
zinuok opened this issue May 2, 2023 · 0 comments
Open

Comments

@zinuok
Copy link

zinuok commented May 2, 2023

I built the custom layers via "python3 setup.py install --user" in each directory (of resample2d, channelnorm, correlation).
However, after importing the following custom layer,

from ...(some_path)... correlation_package.correlation import Correlation

I cannot transfer the tensor to the GPU:

a = np.array(1)
torch.from_numpy(a).to('cuda')

producing the following error.

RuntimeError: CUDA error: the provided PTX was compiled with an unsupported toolchain.

(but, torch.cuda.is_available() returns True)

my settings are as follows:

  • GPU: RTX 3080 Ti
  • driver: 510.108.03
  • CUDA: 11.7 (I also tried with 11.1 but the same error occurred!)
  • PyTorch: 2.0.0

Is there any related-issue about this?

Thank you

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