Tencent AngelSlim: Comprehensive Toolkit for LLM Compression and Acceleration

RepositoryTencent/AngelSlimTool

AngelSlim is an open-source Python toolkit by Tencent designed for large-scale model compression and inference acceleration. It covers quantization, speculative decoding, and sparse attention to make massive models like Hunyuan and Qwen viable on constrained hardware setups.

Key points

  1. Extensive optimization methods: Supports post-training quantization and quantization-aware distillation (FP8-Static, FP4, SmoothQuant, MIX-STQ1_0), sparse attention (Stem), and speculative decoding (AngelSpec, DFlare, DFly).
  2. Substantial compression with minimal degradation: Demonstrated by shrinking the Hy4 preview model from 1.5 TB to 214 GiB with only a 0.7% drop on SWE-bench Pro.
  3. Distributed training and inference integration: Supports TP, EP, CP, and SP parallelisms on Megatron-Core for distillation, and deployment on mixed setups using engines like Prima.cpp.
  4. Model support: Engineered for modern architectures including Hunyuan (Hy3, Hy4), Qwen (Qwen3-MoE), DeepSeek, VLMs, and diffusion models.

Why it matters

Running massive frontier models is financially and logistically challenging due to memory and compute bottlenecks. AngelSlim provides practical tools to dramatically reduce model footprint and accelerate token generation, enabling deployment of massive multi-hundred-gigabyte models across standard or mixed GPU setups.

Analysis

AngelSlim addresses inference latency and memory footprints by combining multiple compression paradigms under one roof. Rather than focusing solely on post-training quantization, it integrates prefill acceleration (Stem sparse attention), disaggregated speculative decoding (AngelSpec), and Megatron-Core distillation workflows. It is aimed at ML engineers, systems researchers, and teams deploying large models in production. With over 1,600 GitHub stars, accompanying research papers, and regular updates for cutting-edge architectures like Hy4 and Qwen3-MoE, the repository demonstrates active maintenance and practical engineering maturity.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Repository:NVIDIA/Model-Optimizer

    NVIDIA Model Optimizer: Unified Library for Model Compression and Inference Acceleration

    NVIDIA Model Optimizer (ModelOpt) provides state-of-the-art model optimization techniques such as quantization, pruning, distillation, and speculative decoding. It accepts PyTorch, Hugging Face, and ONNX models and outputs optimized checkpoints ready for downstream engines like TensorRT-LLM, vLLM, and SGLang.

    5kstarsPython

    AI & LLMs· Tool

  • Link:Tencent Hy Team

    Tencent Releases Hy4-preview MoE Model Under Apache 2.0 License

    The Tencent Hy Team has released Hy4-preview, an open-source Mixture-of-Experts (MoE) model featuring 770B total parameters and 49B activated parameters per token. The flagship model supports a 1M token context window and is tuned for software engineering, office analytics, and scientific research.

    AI & LLMs· Announcement

  • Repository:Tencent-Hunyuan/Hy4-preview

    Tencent Hunyuan Unveils Hy4-preview: 770B MoE Model with Sparse Attention

    The Tencent Hy Team has introduced Hy4-preview, a new flagship Mixture-of-Experts (MoE) model featuring 770B total parameters with 49B activated per token. The architecture incorporates MoE routing, Gated DeepSeek Sparse Attention, and a native MTP layer for speculative decoding.

    344starsPython

    AI & LLMs· Announcement

  • Repository:deepseek-ai/DeepSpec

    DeepSpec: Full-stack speculative decoding framework by DeepSeek

    DeepSpec is an open-source codebase by DeepSeek for training and evaluating draft models used in speculative decoding. The suite covers the entire pipeline across data preparation, multi-GPU model training, and performance benchmarking.

    7.1kstarsPython

    AI & LLMs· Tool

  • X post:Hamid Maei

    Ternary Bonsai 2 27B: Highly compressed Qwen3.8 model reduced to 5.9 GB

    PrismML has announced Ternary Bonsai 2 27B, a compressed version of Qwen3.8 27B. It is nine times smaller than the full-precision original, requiring only 5.9 GB of storage while retaining 98.2% of aggregate benchmark performance.

    97bookmarks21kviews

    AI & LLMs· Announcement

  • Repository:MiaAI-Lab/GLM-5.3-Flash-EXL3-2x-DGX-Sparks

    Serving GLM-5.3 Flash EXL3 on Dual NVIDIA DGX Spark Kits

    Mia's AI Lab provides an optimised vLLM deployment overlay for GLM-5.3-Flash using 4 bpw EXL3 quantisation tailored for 2x NVIDIA GB10 systems.

    431starsPython

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.