-
Notifications
You must be signed in to change notification settings - Fork 177
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
Performance of RESTful API #324
Comments
Hi @kihanc we are aware of performance issues related to the restful API and will be providing an update on this feature soon. Thanks |
Hey, how can I make Restful start and listen on 0.0.0.0 instead of localhost? I often encounter situations where I deploy my application on a remote machine but cannot test it using external API tools like Postman because it only listens on localhost. |
I think it's using localhost by default and there is no option to set it, you can modify this file locally until they add an option to set the hostname |
Thank you! |
@mrwyattii Thanks for the quick update! Your test code works perfectly on our end. But, if we hit more than 100 requests at once, things get wonky and connections are reset. It would be awesome if you could add support for concurrent connections on your API server. |
@kihanc if you increase the number of mii.serve(model_name, restful_processes=64, enable_restful_api=True) |
@mrwyattii I already tried that before but that was not helpful. |
Do we have any updates on this issue? I am also observing "Connection reset" failures when request rate is high |
I have measured the performance of Mistral 7B w/ and w/o Restful API, and got 7.1 reqs/s and 0.48 reqs/s individually.
(avg. input/output tokens: 232/208, A100 80GB)
The text was updated successfully, but these errors were encountered: