LMDeploy
Toolkit for compressing, deploying and serving LLMs and VLMs.
- Star 数
- 8.2K
- Fork 数
- 791
- 未关闭 Issue
- 686
- 最近提交
- 2026-11-30
数据来自 GitHub API · 更新于 2026-11-30
LMDeploy 是什么?
LMDeploy from the InternLM team serves LLMs and vision-language models with its TurboMind and PyTorch engines, offering persistent batching, KV-cache quantization and an OpenAI-compatible API server.
主要功能
- TurboMind high-throughput engine
- AWQ 4-bit weights and KV-cache quantization
- Vision-language model support
- OpenAI-compatible server
系统要求
- 平台
- Linux · Windows · Docker
- 显卡
- NVIDIA GPU recommended
- Python
- 3.8+
如何安装 LMDeploy
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
pip
- 1Install.
pip install lmdeploy - 2Serve a model.
lmdeploy serve api_server internlm/internlm2_5-7b-chat
优势
- Very high throughput
- Strong VLM support
不足
- Primarily NVIDIA-focused
LMDeploy 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| LMDeploy Toolkit for compressing, deploying and serving LLMs and VLMs. | 8.2K | Apache-2.0 | — | |
| vLLM High-throughput LLM serving engine with PagedAttention. | 97.9K | Apache-2.0 | — | |
| SGLang Fast serving framework for LLMs and vision-language models. | 39.2K | Apache-2.0 | — | |
| TensorRT-LLM NVIDIA’s library for state-of-the-art LLM inference on its GPUs. | 15.2K | Apache-2.0 | — | |
| Ollama Get up and running with large language models locally. | 188.6K | MIT | — | |
| llama.cpp LLM inference in C/C++ — the engine behind most local AI apps. | 136.7K | MIT | — |
常见问题
LMDeploy 免费吗?
是的——LMDeploy 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。
LMDeploy 支持 Windows、Mac 和 Linux 吗?
LMDeploy 支持:Linux, Windows, Docker。
运行 LMDeploy 需要什么配置?
NVIDIA GPU recommended
如何安装 LMDeploy?
1. Install. 2. Serve a model.
LMDeploy 有哪些好的替代品?
常见替代品包括 vLLM, SGLang, TensorRT-LLM, Ollama,详见本页对比表。