vllm-project/llm-compressor
Transformers-compatible library for applying various compression algorithms to LLMs for optimized deployment with vLLM observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 97
- Longevity 57
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 23.0
- age_days: 804
- days_rel: 22
- days_push: 7
- n_releases_24m: 31
Adoption not part of the score
3726 stars · 637 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
LLM Compressor is a Python library for applying quantization and pruning algorithms to large language models, producing compressed-tensors checkpoints optimized for vLLM deployment. It integrates with Hugging Face Transformers and supports weight, activation, KV cache, and attention quantization including MoE expert pruning.
Use cases
- quantize an LLM to fp8 or int4 for vLLM inference
- reduce GPU memory requirements for serving large language models
- compress a Hugging Face model into compressed-tensors format
- prune experts from a mixture-of-experts model
- speed up LLM inference with lower-precision weights
When to choose
- you deploy models with vLLM and want smaller, faster checkpoints
- you need state-of-the-art quantization schemes like NVFP4, FP8, or arbitrary bit-widths
- you work with Hugging Face Transformers models and want a pip-installable optimization pipeline
When to avoid
- you expect faster inference through plain transformers - compressed models only accelerate in vLLM or compatible servers
- you need a serving engine itself rather than a model compression tool
- you require SGLang support, which is minimally maintained
Facets
library · maturity active
machine-learning llm-training compression serialization large-language-models machine-learning deep-learning gpu-computing python cross-platform quantization model-optimization vllm compressed-tensors hugging-face moe pruning fp8 int4 linux gpu
5 sources
- readme: https://github.com/vllm-project/llm-compressor · fetched 2026-08-28 · dfc04828c70a
- homepage: https://docs.vllm.ai/projects/llm-compressor · fetched 2026-08-29 · af790c8b7937
- site_page: https://docs.vllm.ai/projects/llm-compressor/en/latest/getting-started · fetched 2026-08-29 · 563d18d8696d
- site_page: https://docs.vllm.ai/projects/llm-compressor/en/latest/getting-started/install · fetched 2026-08-29 · 325a3fd81fbe
- site_page: https://docs.vllm.ai/projects/llm-compressor/en/latest/faq/faq · fetched 2026-08-29 · 56a03c6d3d74
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vllm-project/llm-compressor | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="vllm-project/llm-compressor")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem