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 when loading is_u32_f32 #2498

Open
super-fun-surf opened this issue Sep 24, 2024 · 2 comments
Open

CUDA_ERROR_UNSUPPORTED_PTX_VERSION when loading is_u32_f32 #2498

super-fun-surf opened this issue Sep 24, 2024 · 2 comments

Comments

@super-fun-surf
Copy link

Running executable with candle on Ubuntu 22 we get an error when trying to generate an image

DriverError(CUDA_ERROR_UNSUPPORTED_PTX_VERSION, \"the provided PTX was compiled with an unsupported toolchain.\") when loading is_u32_f32

Our compiling machine is Debian 12
Driver Version: 550.54.14 CUDA Version: 12.4 |
running on a NVIDIA RTX 4000 Ada

The machine that is failing to run the executable is
Ubuntu 22
Driver Version: 550.107.02 CUDA Version: 12.4
NVIDIA A100 80GB PCIe

@LaurentMazare
Copy link
Collaborator

No real clue what is going on here. Could you try compiling on the box that runs the executable to see if it fixes the issue?
You could try adjusting the compute cap used to compile the ptx via CUDA_COMPUTE_CAP=... though I'm unsure whether this would explain such an error message.

@super-fun-surf
Copy link
Author

Ok so compiling on the A100 works great. It must be a cuda mismatch problem.
I did try using the CUDA_COMPUTE_CAP=80 when compiling on my desktop ADA4000 and then running that on the A100 but couldnt get it to wokr first try. need to explore that more. I will report more. 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

2 participants