-
Notifications
You must be signed in to change notification settings - Fork 460
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
Problem with setup_cuda.py install #47
Comments
I'm guessing you're missing VS build toolkit. #11 (comment) - Need that for windows. |
It's installed. Maybe something from it is not in path? I wouldn't know what though. |
Open windows search by hitting |
That doesn't work either. I managed to run it in a docker image, but that's just a workaround. Unfortunately even that doesn't work for what I want to do. |
same here. i am getting the exact same error, have tried everything and still getting this issue. i've also got VS 2019, i set DISTUTILS, i do everything and still no help. |
I managed to find a workaround (It requires a bit of Linux knowledge). Install Ubuntu 22.04 from the Microsoft Store, then open it and follow the installation process for linux instead. I installed cuda in this linux too, but I'm not sure if it was necessary. If you do, just make sure that the cuda installed in your windows and linux are the same version, otherwise you'll run into errors. |
can you speak to more detailed instructions? dying to run this. |
like, where are the linux setup instructions? is it the same instructions once i have followed the WSL setup? how do i use the VSCode build tools in linux? |
It's essentially the same thing, but you don't have to install build tools for it since linux comes with a C++ compiler. |
ah yeah, it didn't work for me on linux, but it worked on python 3.10 with the alternate install workaround. it gave me a "CUDA extension not installed" message, but is currently loading the sharded checkpoints anyway. |
If you are using conda try the following:
|
Be aware: that wheel is an old (2 weeks, lmao) version and it may not work with the current patches. For any lost souls who look for compiled kernels, it's probably best to use: https://github.com/jllllll/GPTQ-for-LLaMa-Wheels |
currently using triton, so I don't think this problem will occur. |
Yes of course, but not for windows users... I's a shame |
Hi,
When running
python setup_cuda.py install
I get the following error:I have no idea why this is happening. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: