-
Notifications
You must be signed in to change notification settings - Fork 18
"ptxas returned an error during compilation of ptx to sass" #19
Comments
I cannot reproduce it with CUDA 11.5. If the same error don't occur with new version of CUDA, then I think you better to report to jax team directly. Note, |
Thank you for the quick response. I didn't know other versions of CUDA are supported. The README says "Currently, only CPU and CUDA 11.1 are supported." Does jaxlib also support CUDA 11.8? I tried upgrading CUDA to 11.7.1 and CuDNN to 8.7. The installed driver version is 527.56 which is newer than 516.94 that comes with CUDA 11.7.1, but CUDA installer refuses to downgrade it. (Could this be a problem?) Then I reinstalled jaxlib and jax:
(Is this the correct way to install them?) Then again I tried to use JAX and had the same result:
|
Based on you commandline, you correctly installed jaxlib and jax. This is indeed very strange. Are you using python distributed from Microsoft Store? If so, pls stop using it and avoiding it like a plague. |
OK, I was thinking that you are not the only victim of Microsoft Python #16, but it turn out that you are stepping into the same river twice. |
That would be very embarrassing, so I tried to double check that I'm using the correct version of Python before submitting this bug. This is Python 3.10.9 installed from https://www.python.org/downloads/ just yesterday. I just verified that I don't have MS Store version installed and that pip comes from the correct package. For some context, I made JAX work last time (thank you!), but for some reason its performance was significantly lower than on Ubuntu on the same machine, so I didn't use it on Windows since then. Now I decided to give it another go. |
I just installed jax for windows and your code works. I will outline the steps I took. Perhaps it will help out. update: I tried the below step with CUDA 11.7 & it still works. 1. Create a new conda environment
2. Installing cudatoolkit from official
|
I've just installed the jax + jaxlib from jaxlib-0.3.25+cuda11.cudnn82-cp310-cp310-win_amd64.whl and I'm getting the following error:
ptxas version:
The text was updated successfully, but these errors were encountered: