inference/research
verifiedhigh · 0.85updated 2026-10-03

LightLLM

cuda, rocm

Fields

id
engines/niche-lightllm
Repo
ModelTC/LightLLM
Languages
Python
License
Apache-2.0
First release
2023
Design goal
throughput-firstlow-latencyresearchsla-aware-schedulingmulti-model
Scheduling
continuous-batchingpaged-kvprefix-cachetoken-level-kv-management
Backends
cudarocm
Formats
safetensors
Notable features
Pure-Python framework: custom kernels are written in OpenAI Triton, not CUDA C++, so the repo's language breakdown is essentially all Python. This is the structural fact that makes it easy to read and easy to modify, and it is why kernels from here ended up inside other projectsToken-level KV cache management rather than page-level, per the README's own description of its designPersistent batch, blocked KV cache and automatic prefix cachingPrefix KV cache transfer between DP ranks, added 2025/11Flash Attention 1&2, flashinfer and Split-K decoding (Flash Decoding) supportResearch output rather than raw benchmark output is the post-2024 identity: the Past-Future Scheduler for LLM serving under SLA guarantees (ASPLOS'25) and Pre^3 deterministic pushdown automata for structured generation (ACL 2025 outstanding paper award)
Hardware caveats
The repo's GitHub language breakdown is Python only - every kernel is Triton. That is portable to ROCm in principle, but there is no ROCm-specific build documentation in the README, so treat ROCm support as unverified rather than assumedTriton kernels mean the CUDA toolchain version is the coupling, not a hand-written CUDA extension; the trade is portability and readability for peak hand-tuned performanceVendor claims to mark as claims, not measurements: v1.0.0 (2025/02) claimed 'the fastest DeepSeek-R1 serving performance on single H200 machine'. No benchmark methodology, model, batch size or concurrency is given in the READMEIts own README lists vLLM, SGLang, Aphrodite, Microsoft ParrotServe, LoongServe, S-LoRA and Ant Group OmniKV as projects using LightLLM kernels - i.e. the project's most durable output is kernels imported elsewhereNo safetensors-free formats: no GGUF, no AWQ/GPTQ/EXL2 loading path documented, so it is not a llama.cpp-adjacent runtime at allLast push 2026-09-30, v1.2.0 released 2026-08-10, 250 open issues - actively maintained, but a 1.x version line for a project that has already had its moment as a throughput leader
Best for
Reading how a serving framework is built when the whole thing is Python and the kernels are Triton - the fastest way to understand paged KV, continuous batching and prefix caching as readable codeStudying SLA-aware scheduling: the Past-Future Scheduler is a genuinely different scheduling objective from raw throughputStudying constrained decoding at the systems level - Pre^3 is the strongest research output of any engine in this nicheBorrowing kernels into your own engine - this is what vLLM, SGLang and Aphrodite already did
Avoid for
New deployments - if you want LightLLM's ideas you now get them from vLLM or SGLang, with far more community and hardware supportAnything outside CUDA-first NVIDIA setups without reading the Triton code yourself firstFormats other than safetensors, and any workload needing GGUF/AWQ/GPTQ/EXL2 ecosystem compatibility
notes
Often described as unmaintained - that is out of date. As of 2026-10-03 the repo's last push was 2026-09-30 and v1.2.0 shipped 2026-08-10. What has changed is its role: it stopped competing on raw throughput and now publishes scheduling and constrained-decoding research. All metadata from the GitHub API on 2026-10-03. ||| MAINTENANCE (dated fact, GitHub API, 2026-10-04): last commit 2026-09-29 (0.2 months before this record), latest release v1.2.0 published 2026-08-10, 54 contributors (distinct committers including anonymous), open_issues_count 168 (issues PLUS pull requests - see [[ev-github-open-issues-count-includes-pull-requests]]), not archived, 4305 stars. See [[ev-maintenance-status-is-four-dated-facts]] for how to read this fact set. ||| DEPLOYMENT: NO EVIDENCE OF PRODUCTION DEPLOYMENT FOUND as of 2026-10-04 - repositories, READMEs, docs and issue trackers were searched. See [[ev-production-evidence-is-scarce-and-nearly-always-single-site]] for the grading scheme; note that for an artifact-evaluation or paper-code release, non-deployment is documented intent rather than a negative finding.

Notes

Often described as unmaintained - that is out of date. As of 2026-10-03 the repo's last push was 2026-09-30 and v1.2.0 shipped 2026-08-10. What has changed is its role: it stopped competing on raw throughput and now publishes scheduling and constrained-decoding research. All metadata from the GitHub API on 2026-10-03. ||| MAINTENANCE (dated fact, GitHub API, 2026-10-04): last commit 2026-09-29 (0.2 months before this record), latest release v1.2.0 published 2026-08-10, 54 contributors (distinct committers including anonymous), open_issues_count 168 (issues PLUS pull requests - see [[ev-github-open-issues-count-includes-pull-requests]]), not archived, 4305 stars. See [[ev-maintenance-status-is-four-dated-facts]] for how to read this fact set. ||| DEPLOYMENT: NO EVIDENCE OF PRODUCTION DEPLOYMENT FOUND as of 2026-10-04 - repositories, READMEs, docs and issue trackers were searched. See [[ev-production-evidence-is-scarce-and-nearly-always-single-site]] for the grading scheme; note that for an artifact-evaluation or paper-code release, non-deployment is documented intent rather than a negative finding.

Cross-references

This record references no other records — it is a leaf. It is cited by 1.