AngelSlim from Tencent unifies quantization, speculative decoding, pruning, and distillation for large language and multimodal models. It supports an end-to-end path from compression through inference deployment.
Overview
AngelSlim is a model compression toolkit aimed at easier, broader, and more efficient workflows for large models. It combines mainstream industry algorithms with in-house methods and documents support across language, vision-language, diffusion, and speech model families from vendors such as Hunyuan, Qwen, DeepSeek, and others.
Quantization paths include static and dynamic FP8, INT8, INT4 GPTQ or AWQ style schemes, and additional formats named in the documentation for specific model lines. Speculative decoding tooling trains draft models through the bundled AngelSpec framework with disaggregated inference and training pools, vLLM, SGLang, or HuggingFace backends, and long-context training options.
Beyond LLMs, the toolkit covers vision token compression, diffusion model quantization scripts, sparse attention approaches, and distillation including quantization-aware variants on Megatron-Core for selected MoE architectures.
Deployment guides describe offline inference with transformers, OpenAI-compatible API servers via vLLM or SGLang, and evaluation with lm-evaluation-harness, plus quick-start commands for representative quantization jobs.
Key features
- Unified quantization for many model families
- Speculative decoding with AngelSpec training
- Sparse attention and token pruning utilities
- Diffusion model quantization scripts
- vLLM and SGLang API deployment paths
- Distillation and QAT distillation support
- Vision-language token compression framework
- One-command FP8 quantization examples
Use cases
- Shrinking LLMs for single-GPU inference
- Training speculative draft models
- Deploying quantized models behind OpenAI-style APIs