bentoml / OpenLLM

Run any open-source LLMs, such as Llama 3.1, Gemma, as OpenAI compatible API endpoint in the cloud.
https://bentoml.com
Apache License 2.0
9.7k stars 616 forks source link

feat: support LMDeploy backend #966

Closed zhyncs closed 1 month ago

zhyncs commented 4 months ago

Feature request

@aarnphm @ssheng @parano Hi OpenLLM team, thank you for your exceptional work. Currently, OpenLLM supports two backends, vLLM and PyTorch, with good usability but there is still room for improvement in terms of performance. LMDeploy has achieved a good balance between performance and usability, with recent Llama3 8B showing a 1.8x performance improvement over vLLM on LMDeploy. Performance is crucial, especially when the demand for large-scale deployment arises after meeting user requirements. Currently, Meituan is widely using internally. I strongly recommend OpenLLM to consider integrating LMDeploy and making it the default backend. You can refer to the documentation at https://lmdeploy.readthedocs.io/en/latest/ during the research and integration process. Thanks.

Motivation

No response

Other

No response

zhyncs commented 4 months ago

cc @lvhan028 @AllentDan

zhyncs commented 3 months ago

remind @aarnphm @ssheng @parano

zhyncs commented 3 months ago

Recently, I noticed that you published a blog post https://bentoml.com/blog/benchmarking-llm-inference-backends that mentioned LMDeploy currently does not support a wide variety of models yet. And this will continue to be developed, including subsequent support for MOE models on TurboMind and decoupling model and batch. The performance advantage will also be maintained, and I also look forward to your future plans. Cheers.

zhyncs commented 1 month ago

Due to the lack of response for a long time, this issue is being closed.

bojiang commented 1 month ago

Since vllm 0.6, this should be simple to implement. Just contribute bentos / templates to https://github.com/bentoml/openllm-models

zhyncs commented 1 month ago

@bojiang @aarnphm Take the liberty to find out what are the differences and advantages between OpenLLM and Skypilot. Thanks.

bojiang commented 1 month ago

IMO Skypilot has different design pattern. It tries to do everything for users, and openllm just focus on a running models and get a service.