API is not able to handle multiple requests at the sametime
API is not able to handle multiple requests at the same time, It is giving segmentation error and closing down, how to fix this please help
Having the same. I'm not sure if it's a memory issue, or a structural thing. I would expect an API to be able to handle multiple messages at a time, but since it's a local solution, maybe not :)
Same issue running it on llama2 model
This is not an issue with model, this is problem of your api (assuming using flask) you need to setup WSGI server using Gunicorn which handles multiple query request for the flask.
Checkout this blog: - https://developers.redhat.com/articles/2023/08/17/how-deploy-flask-application-python-gunicorn#containerization
Hope this helps :)
Can anyone help me out are you getting justifiable response time? and answers are generated ? I have tried so many models but localgpt not returning any answer returning blank.
then again ask for query input.
If anyone encounter this issue, please help!!
I am same Facing Issue . is there any way to solve it with out Docker or guicorn???
I am same Facing Issue . is there any way to solve it with out Docker or guicorn???
I followed the solution given by @Komal-99 and it worked for me with Gunicorn, I think there are other solutions similar to Gunicorn that you can explore Ex: uWSGI