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

Errors with the website #14

Open
bibi-b opened this issue Jun 9, 2023 · 4 comments
Open

Errors with the website #14

bibi-b opened this issue Jun 9, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@bibi-b
Copy link

bibi-b commented Jun 9, 2023

Hi there,

thanks for the project. I ran into an issue while connection to the website within my network. So I have a headless server running the code and open 192.168.2.10:5678 on another computer. Website looks good. But I get error messages with every click afterwords.
The terminal on the server say's:

Starting PautoBot...
Version: 0.0.18
Found model file at /home/meiko/pautobot-data/models/ggml-gpt4all-j-v1.3-groovy.bin
gptj_model_load: loading model from '/home/meiko/pautobot-data/models/ggml-gpt4all-j-v1.3-groovy.bin' - please wait ...
gptj_model_load: n_vocab = 50400
gptj_model_load: n_ctx = 2048
gptj_model_load: n_embd = 4096
gptj_model_load: n_head = 16
gptj_model_load: n_layer = 28
gptj_model_load: n_rot = 64
gptj_model_load: f16 = 2
gptj_model_load: ggml ctx size = 5401.45 MB
gptj_model_load: kv self size = 896.00 MB
gptj_model_load: ................................... done
gptj_model_load: model size = 3609.38 MB / num tensors = 285
Creating new vectorstore
Loading documents from /home/meiko/pautobot-data/contexts/default/documents
Loading new documents: 0it [00:00, ?it/s]
No new documents to load
No new documents to load
INFO: Started server process [536575]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:5678 (Press CTRL+C to quit)
INFO: 192.168.2.48:51870 - "GET / HTTP/1.1" 304 Not Modified
INFO: 192.168.2.48:51870 - "GET /_next/static/U0WT1P6WMnAqx-4T8sG3z/_buildManifest.js HTTP/1.1" 404 Not Found
INFO: 192.168.2.48:51871 - "GET /_next/static/U0WT1P6WMnAqx-4T8sG3z/_ssgManifest.js HTTP/1.1" 404 Not Found
INFO: 192.168.2.48:51873 - "POST /api/ask HTTP/1.1" 405 Method Not Allowed

Any hints?
Thanks!

@vietanhdev
Copy link
Member

@bibi-b Please upgrade and run again:

pip install --upgrade pautobot
pautobot

@bibi-b
Copy link
Author

bibi-b commented Jun 9, 2023

@vietanhdev Still the same. Opening the URL brings this up in the terminal:

Found model file at /home/meiko/pautobot-data/models/ggml-gpt4all-j-v1.3-groovy.bin
gptj_model_load: loading model from '/home/meiko/pautobot-data/models/ggml-gpt4all-j-v1.3-groovy.bin' - please wait ...
gptj_model_load: n_vocab = 50400
gptj_model_load: n_ctx = 2048
gptj_model_load: n_embd = 4096
gptj_model_load: n_head = 16
gptj_model_load: n_layer = 28
gptj_model_load: n_rot = 64
gptj_model_load: f16 = 2
gptj_model_load: ggml ctx size = 5401.45 MB
gptj_model_load: kv self size = 896.00 MB
gptj_model_load: ................................... done
gptj_model_load: model size = 3609.38 MB / num tensors = 285
Loading new documents: 0it [00:00, ?it/s]
INFO: Started server process [461678]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:5678 (Press CTRL+C to quit)
INFO: 192.168.2.48:54477 - "GET / HTTP/1.1" 304 Not Modified
INFO: 192.168.2.48:54477 - "GET /_next/static/U0WT1P6WMnAqx-4T8sG3z/_buildManifest.js HTTP/1.1" 404 Not Found
INFO: 192.168.2.48:54478 - "GET /_next/static/U0WT1P6WMnAqx-4T8sG3z/_ssgManifest.js HTTP/1.1" 404 Not Found

@vietanhdev
Copy link
Member

@bibi-b I think version 0.0.24 can resolve your problem:

pip install --upgrade pautobot
pautobot --version
pautobot --host 0.0.0.0

@vietanhdev vietanhdev added the bug Something isn't working label Jun 10, 2023
@bibi-b
Copy link
Author

bibi-b commented Jun 11, 2023

@vietanhdev Thanks! Working now. I now need some other models as answers are wird ;-)

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

2 participants