RuntimeError: CUDA error: the provided PTX was compiled with an unsupported toolchain.
See original GitHub issueWe are attempting to train a neural net using Colab’s GPU offerings. When getting paired with an A100 GPU, we experience the following issue:
RuntimeError: CUDA error: the provided PTX was compiled with an unsupported toolchain.
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.
To verify that it wasn’t something to do with the actual program we were running, we ran the same program on a GCP instance and with a Colab V100. In both cases, the program ran fine without issue/as expected.
To further verify that the program wasn’t the issue, we ran the following code snippet:
import torch
torch.tensor([0,1],device="cuda")
And had the same issue.
Is anyone else experiencing this issue?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:31 (8 by maintainers)
Top Results From Across the Web
"provided PTX was compiled with an unsupported toolchain ...
Hello all, This morning, I was suddenly facing a provided PTX was compiled with an unsupported toolchain error. I came across this post...
Read more >the provided PTX was compiled with an unsupported toolchain
When I run a python file, containing a machine learning model, I get the following error. (pytorch) [s.1915438@cl1 aneurysm]$ srun python ...
Read more >CUDA - the provided PTX was compiled with an unsupported ...
This indicates that the provided PTX was compiled with an unsupported toolchain. The most common reason for this, is the PTX was generated...
Read more >[Solved] A problem with hashcat
Whenever I try to run hashcat I get this error. Code: cuLinkAddData(): the provided PTX was compiled with an unsupported toolchain.
Read more >the provided PTX was compiled with an unsupported toolchain
I tried running cuda-memcheck tst.exe and oh surprise there were errors. This is one of the error i get (The rest are the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For anyone here for JAX issues: a quick workaround until we can get a fix out is to run
and then restart your kernel (ctrl-m . or
Runtime
->Restart runtime
).Fun fact: Now I’m no longer getting an A100 after the fix.