-
Notifications
You must be signed in to change notification settings - Fork 433
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
FileNotFoundError: [Errno 2] No such file or directory: 'python' #424
Comments
Are you sure you installed it into the virtual environment? You need to activate that first. This is not an AutoGPTQ issue. |
Oh thanks for the speedy response. Let me fix that and close this thread. |
I am facing the same error. I am wondering if you had solved this? |
Activate virtual environment and follow quick installation in the readme. No need to build from git. Just Or 11.8 cuda equivalent if you are still using that. |
Thank you! Not sure why, but installing the latest version will not have this problem. This happens for 0.5.1 |
There have been some fixes but also you skip the build step if you install a released version from PyPi. This error occured, I think, because one of the build steps was trying to call python but it's sometimes python3 and python should be 2.7 but is not installed nor would it work. If you are in the proper virtual environment however, it will work and be the correct python version. |
Describe the bug
Trying to update autoGPTQ after error in text-generation-webui LoRA training which says in text-generation-webuit:
ImportError: Found an incompatible version of auto-gptq. Found version 0.4.2+cu121, but only versions above 0.5.0 are supported
Hardware details
AMD Epyc, RTX 3090, 128GB RAM
Software version
text-generation-webui OobaBooga updated 11/10/2023
Lllama-2-Mistral-Zephyr beta loaded in transformers, 4 bit, double quantization
To Reproduce
Followed instructions on PanQiWei Github page:
git clone https://github.com/PanQiWei/AutoGPTQ.git && cd AutoGPTQ
pip install -v .
Expected behavior
expected to update AutoGPTQ to 0.5.0 or above
Screenshots
Generating qigen kernels...
Traceback (most recent call last):
File "/home/wc/AutoGPTQ/setup.py", line 103, in
subprocess.check_output(["python", "./autogptq_extension/qigen/generate.py", "--module", "--search", "--p", str(p)])
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'python'
The text was updated successfully, but these errors were encountered: