-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
🐛 Bug Report: Self-hosting localy reports that llama-cpp-python is not installed #1400
Comments
Lets create a message or a warning to a user that they need to install this dependency, im not sure if this dependency needs to be installed by default |
Looking around on requirements.txt I noticed that python-llama-cpp is not being installed, so I made two changes:
Builder Stage.
This causes the application to find the Llama package, however now the application complains that the model does not exist. Should I report this here or open another issue? |
Yeah, I would suggest we have an error message instead of adding it as a dependency to our requirements.txt file. |
Issue with your model not existing is because you dont have it in your model/ directory. |
📜 Description
Self-hosting localy reports that llama-cpp-python is not installed on the console logs.
When I ask a question on CHAT the following message appear on the console logs:
backend_1 | err Please install llama_cpp using pip install llama-cpp-python
I'm using the default script provided on the project.
👟 Reproduction steps
git clone https://github.com/arc53/DocsGPT.git
cd DocsGPT
python -m pip install all_requirements
./run-with-docker-compose.sh
Go to browser: http://localhost:5173/
Ask a question
👍 Expected behavior
I expect to receive any answer, instead the message bellow appear:
Please try again later. We apologize for any inconvenience.
👎 Actual Behavior with Screenshots
💻 Operating system
Linux
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
Yes, followed the instructions on https://docs.docsgpt.cloud/Deploying/Quickstart
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
👀 Have you spent some time to check if this bug has been raised before?
🔗 Are you willing to submit PR?
Yes, I am willing to submit a PR!
🧑⚖️ Code of Conduct
The text was updated successfully, but these errors were encountered: