InternVL icon indicating copy to clipboard operation
InternVL copied to clipboard

How to set up InternVL-Chat as an API

Open BIGBALLON opened this issue 11 months ago • 2 comments

First of all, thank you very much for your work, which is very constructive.

I would like to ask how to deploy this model and turn it into an API for others to call. Can you provide the corresponding code? Thank you again.

BIGBALLON avatar Mar 07 '24 05:03 BIGBALLON

Thank you for your interest. Currently, we do not offer such code to deploy the model as an API; our existing code only supports deploying the model as a local demo.

I plan to investigate and see if there are mature tools in the community that can facilitate a better deployment of VLLMs. This may take a bit of time, so I kindly ask for your patience during this period.

czczup avatar Mar 07 '24 13:03 czczup

@czczup Thank you for your prompt and detailed response. I appreciate the effort you’re putting into this. I’ll be looking forward to any updates.

BIGBALLON avatar Mar 07 '24 14:03 BIGBALLON

You can now use lmdeploy to deploy InternVL-Chat as an API, or you can use this existing API.

czczup avatar May 30 '24 14:05 czczup