pautobot
pautobot copied to clipboard
Errors with the website
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 Please upgrade and run again:
pip install --upgrade pautobot
pautobot
@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 I think version 0.0.24 can resolve your problem:
pip install --upgrade pautobot
pautobot --version
pautobot --host 0.0.0.0
@vietanhdev Thanks! Working now. I now need some other models as answers are wird ;-)