-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
RuntimeError: The current installed version of g++ (12.2.1) is greater than the maximum required version by CUDA 11.7. Please make sure to use an adequate version of g++ (>=6.0.0, <12.0). #850
Comments
I had some issue. Running gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) Try this:
|
I've been struggling with this for the past few days, it's ultimately a GPTQ-for-LLaMa problem so I'm not sure how much it belongs here, but the maintainer of that repo has switched to Triton development from cuda. When I try using gcc 10 (running on arch linux with cuda 11.1) I get the following error: | |
This is how I fixed from a user named plhosk (Thanks!): pacman -S gcc11 |
...that worked? What cuda do you have? I've tried that several times with cuda 12.1 before and nada |
Doesn't work on Arch either:
|
Gcc11 is in thr AUR, should be fine installing it from there. I was lazy and just did Not sure how to get that on nobara though |
Unfortunately, yay gcc11 seems to get stuck for me at some point, never finishes. It's not a binary, so it builds it but fails. |
I was able to use |
try with yay |
This issue has been closed due to inactivity for 6 weeks. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment. |
Describe the bug
Hello everyone,
I'm facing a problem when trying to install the setup_cuda.py inside GPTQ-for-LLaMa.
I have a RuntimeError. It look like a problem due to my version of g++ (12.2.1). How can I make a downgrade to the 11 ?
I'm on Nobara 37.
Thanks
Is there an existing issue for this?
Reproduction
Just following the setup for 4 bit mode
Screenshot
Logs
System Info
The text was updated successfully, but these errors were encountered: