pautobot icon indicating copy to clipboard operation
pautobot copied to clipboard

Errors with the website

Open bibi-b opened this issue 1 year ago • 4 comments

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!

bibi-b avatar Jun 09 '23 11:06 bibi-b

@bibi-b Please upgrade and run again:

pip install --upgrade pautobot
pautobot

vietanhdev avatar Jun 09 '23 14:06 vietanhdev

@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

bibi-b avatar Jun 09 '23 14:06 bibi-b

@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 avatar Jun 10 '23 07:06 vietanhdev

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

bibi-b avatar Jun 11 '23 09:06 bibi-b