# LMDeploy

> LMDeploy is a toolkit for compressing, deploying, and serving LLMs.

Source: https://talira.ai/catalog/lmdeploy-xkgtxvqy
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool, Infrastructure
- Categories: [ai / inference / engines](https://talira.ai/categories/ai/inference/engines), [ai / inference / servers](https://talira.ai/categories/ai/inference/servers)
- Platforms: linux, windows[^3]
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- API: yes[^2]
- Backed by: [InternLM](https://talira.ai/orgs/internlm.md)

LMDeploy compresses, deploys and serves large language models and vision-language models. It has two inference engines: TurboMind, written in C++ and CUDA for throughput, and a PyTorch engine that's easier to extend and also runs on Huawei Ascend. Its makers say continuous batching, a blocked KV cache, dynamic split-and-fuse, tensor parallelism and its own CUDA kernels give up to 1.8x the request throughput of [vLLM](https://talira.ai/catalog/vllm-f1czevpj.md), and it quantizes weights (AWQ 4-bit, FP8, MXFP4) and the KV cache (int8 and int4), with automatic prefix caching. It serves models through an OpenAI-compatible API server, can spread several models across machines and GPUs with a request distribution server, supports prefill and decode disaggregation, and loads models from Hugging Face, ModelScope or openMind Hub. It was developed by the MMRazor and MMDeploy teams.

## Links

- Website: https://lmdeploy.readthedocs.io/
- GitHub: https://github.com/InternLM/lmdeploy
- Docs: https://lmdeploy.readthedocs.io/en/latest/

## Problems it solves

- serve an open-weight LLM on our GPUs with higher throughput than vLLM
- run a 4-bit quantized LLM to fit a bigger model on one GPU
- quantize the KV cache so more concurrent requests fit in GPU memory
- an OpenAI-compatible API server for self-hosted Qwen, Llama or DeepSeek models
- serve vision-language models like InternVL behind an API
- spread several models across multiple GPU machines behind one endpoint
- run LLM inference on Huawei Ascend NPUs

## Features

- TurboMind (C++/CUDA) and PyTorch inference engines
- continuous batching, blocked KV cache and dynamic split&fuse
- tensor parallelism across GPUs
- weight-only quantization (AWQ 4-bit) and int8/int4 KV cache quantization
- FP8 and MXFP4 inference
- automatic prefix caching
- OpenAI-compatible API server with tool calling
- request distribution server for multi-model, multi-machine serving
- prefill/decode disaggregation for DeepSeek
- vision-language model support
- Huawei Ascend support in the PyTorch engine

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.75 out of 1.
Signals: maintenance 1.00, adoption 0.78, momentum 0.69, community 0.89, backing 0.30, extensibility 0.40.

- last commit 5 days ago
- 138 commits in the last 90 days
- latest release v0.18.0 2 months ago
- 8.2k GitHub stars
- 165 contributors
- backed by InternLM

## Alternatives

- [vLLM](https://talira.ai/catalog/vllm-f1czevpj.md): A high-throughput and memory-efficient inference and serving engine for LLMs
- [SGLang](https://talira.ai/catalog/sglang-wv3z63s3.md): Fast inference for LLMs and multimodal models
- [TensorRT-LLM](https://talira.ai/catalog/tensorrt-llm-343p07g7.md): Optimized LLM and visual generation inference on NVIDIA GPUs
- [FreeToken](https://talira.ai/catalog/freetoken-kbfpyv4p.md): Serving engine that runs frontier-scale open-weight MoE models on consumer GPUs
- [MLC LLM](https://talira.ai/catalog/mlc-llm-92jjm3wq.md): Universal LLM deployment engine that compiles models to run natively on GPUs, phones and browsers
- [mistral.rs](https://talira.ai/catalog/mistral-rs-r8bcx8p2.md): Fast, flexible LLM inference in Rust

## Sources

[^1]: https://github.com/InternLM/lmdeploy/blob/main/LICENSE (checked 25 Nov 2026)
[^2]: https://github.com/InternLM/lmdeploy/blob/main/README.md (checked 25 Nov 2026)
[^3]: https://github.com/InternLM/lmdeploy/blob/main/docs/en/get_started/installation.md (checked 25 Nov 2026)
