Skip to main content
Local Inference & ServingProduction

LMDeploy

InternLM / lmdeploy

A high-throughput inference and deployment toolkit with TurboMind and PyTorch engines, KV quantisation, multi-GPU and an OpenAI-compatible API.

8.2k stars 786 forks Python Language Apache-2.0 License Last push 2026-11-20

Why choose it

  • Two engines let you trade compatibility for speed.
  • KV-cache quantisation reduces memory.
  • Ships an OpenAI-compatible server.

Not for

Your model architecture is not supported by either engine.
You need a managed cloud endpoint.

Minimum setup

  1. Serve a supported model and run a chat completion.
  2. Measure KV-cache memory with and without quantisation.
  3. Compare TurboMind and PyTorch engine throughput.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • vLLM — Scale / performance,A high-throughput inference and serving engine with PagedAttention, continuous batching and multi-GPU support.
  • SGLang — Scale / performance,A high-performance inference runtime strong at structured generation, prefix caching and multi-GPU serving.
  • TensorRT-LLM — Scale / performance,NVIDIA’s LLM inference optimisation stack: custom kernels, quantisation, in-flight batching and multi-GPU for production throughput.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.