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
AWQ Model Works from UI in Windows, But Fails When Launched from .bat File #1561
Comments
I'm not an expert at .bat files. I used chatgpt to help me with .bat file stuff for h2oGPT, so I recommend doing same with your errors or seeing if someone else will respond. Also, you didn't say what the issue is. |
I don't believe the issue lies with the .bat file itself. The .bat file functions similarly to the python generate.py command with parameters. The problem arises when attempting to run the AWQ model through the .bat file. Interestingly, the AWQ model runs perfectly fine when loaded from the UI, but H2OGPT doesn't start when using the .bat file. Furthermore, if I use --base_model=TheBloke/zephyr-7B-beta-GGUF instead of --base_model=TheBloke/zephyr-7B-beta-AWQ in the .bat file, H2OGPT starts without any issues with the GGUF model loaded. There appears to be a discrepancy in behavior between loading the model from the UI and using the --base_model input in the .bat file. |
Hi, please say what the issue actually is. You haven't said what the error or stack trace is etc. |
Sorry, I didn't know where to find the error.
|
I can import upper level thing but I don't have the other thing:
Probably the awq install instructions are out of date for windows, will check on it. |
I got this:
I don't understand why it works when I load the model from UI and not in this way |
Hi,
I need your help :)
I'm trying to launch H2OGPT from a .bat file on Windows with an AWQ model as a parameter, but it doesn't seem to work. Below is the content of the .bat file :
cd %HOMEDRIVE%\%HOMEPATH%\h2ogpt_data
C:\Users\yuyu\AppData\Local\Programs\h2oGPT\Python\pythonw.exe "C:\Users\yuyu\AppData\Local\Programs\h2oGPT\h2oGPT.launch.pyw" --load_awq=model --base_model=TheBloke/zephyr-7B-beta-AWQ
When I use a GGUF model instead of AWQ, it works fine. Also, loading the AWQ model from the UI works without any issues.
I've tried various parameters and searched through the documentation, but nothing has helped me to get it running from the .bat file.
I'm running it on a computer with 128GB of RAM and an RTX 4090 GPU.
Could someone please help me? Thanks. 😄
The text was updated successfully, but these errors were encountered: