Skip to content
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

Llama.cpp whl is not downloaded - Pip returned an error while installing the wheel! #202

Open
BDvirus opened this issue Aug 13, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@BDvirus
Copy link

BDvirus commented Aug 13, 2024

Describe the bug
From Select Backend form, select Llama.cpp(HuggingFace)
Getting error:
"Pip returned an error while installing the wheel! Please check the Home Assistant logs for more details."

LogViewer of HASS:
2024-08-13 13:00:55.258 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package https://github.com/acon96/home-llm/releases/download/v0.3.4/llama_cpp_python-0.2.87-cp312-cp312-musllinux_1_2_x86_64.whl: ERROR: HTTP error 404 while getting https://github.com/acon96/home-llm/releases/download/v0.3.4/llama_cpp_python-0.2.87-cp312-cp312-musllinux_1_2_x86_64.whl
(it's look like the file not exists)

Expected behavior
Backend will select and install Llama.cpp

@BDvirus BDvirus added the bug Something isn't working label Aug 13, 2024
@pjope
Copy link

pjope commented Aug 17, 2024

+1

@acon96
Copy link
Owner

acon96 commented Aug 17, 2024

This should be fixed in v0.3.5

@FlorianShepherd
Copy link

FlorianShepherd commented Aug 19, 2024

I've completely uninstalled and reinstalled (via HACS) v0.3.5, but still get the error (it also points to 0.3.4):

Logger: homeassistant.util.package

Source: util/package.py:123

First occurred: 21:46:20 (1 occurrences)

Last logged: 21:46:20

Unable to install package https://github.com/acon96/home-llm/releases/download/v0.3.4/llama_cpp_python-0.2.88-cp312-cp312-linux_x86_64.whl: ERROR: HTTP error 404 while getting https://github.com/acon96/home-llm/releases/download/v0.3.4/llama_cpp_python-0.2.88-cp312-cp312-linux_x86_64.whl ERROR: Could not install requirement llama-cpp-python==0.2.88 from https://github.com/acon96/home-llm/releases/download/v0.3.4/llama_cpp_python-0.2.88-cp312-cp312-linux_x86_64.whl because of HTTP error 404 Client Error: Not Found for url: https://github.com/acon96/home-llm/releases/download/v0.3.4/llama_cpp_python-0.2.88-cp312-cp312-linux_x86_64.whl for URL https://github.com/acon96/home-llm/releases/download/v0.3.4/llama_cpp_python-0.2.88-cp312-cp312-linux_x86_64.whl

@pjope
Copy link

pjope commented Aug 20, 2024

Same for me, still getting the same error as @FlorianShepherd. Also completly reinstalled the extension.

@FlorianShepherd
Copy link

FYI - I managed to get it to work by following @acon96's fallback option: https://github.com/acon96/home-llm/blob/develop/docs/Backend%20Configuration.md#wheels (manually copy the WHL file to the HA folder and run the installer)

The assistant works great (apart from my CPU being too slow) - awesome work Acon!

@acon96
Copy link
Owner

acon96 commented Aug 21, 2024

I messed up the last release and just re-published it. Sometimes Github handles re-releases weird, so if that doesn't work I can just push a fully new version.

@agelanyi
Copy link

I messed up the last release and just re-published it. Sometimes Github handles re-releases weird, so if that doesn't work I can just push a fully new version.

I guess we'll need a new release then. :(
Even today, after a clean install of the extension (v0.3.5) I can still see references to v0.3.4 in the wheel URLs.

@JMiahMan1
Copy link

I had to go back to v0.3.3 allow it to download the wheel and then update to 0.3.5

@woodenapple
Copy link

I had to go back to v0.3.3 allow it to download the wheel and then update to 0.3.5

did not work for me, unfortunately
guess ill leave llm for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants