投机解码的隐藏状态传输依赖 mooncake-transfer-engine,不在 extras 里需单独安装;部署量化模型需自备 vLLM(建议 >=0.8.5.post1,MoE INT8 需 >=0.9.0)或 SGLang(>=0.4.6.post1);量化示例会从 HuggingFace 拉取原始模型权重,需提前配好网络或本地缓存

AngelSlim
Tencent活跃维护腾讯开源的模型压缩工具包,支持量化、投机解码和扩散模型加速,帮你在部署大模型时降低显存占用、提升推理效率。
Model compression toolkit engineered for enhanced usability, comprehensiveness, and efficiency.
pip install -e ".[vllm]"
python3 tools/run.py -c configs/qwen3/fp8_static/qwen3-1_7b_fp8_static.yamlREADME 未给出统一显存要求;示例中单机 4 卡(2 推理 + 2 训练)可跑投机解码快速上手,部署脚本按 GPU 显存利用率参数调度,未限定 GPU 厂商型号
腾讯开源的大模型压缩工具箱,集量化、蒸馏、投机解码与稀疏注意力于一体,帮你在部署前把模型压小提速
腾讯开源的模型压缩工具包,支持量化、投机解码和扩散模型加速,帮你在部署大模型时降低显存占用、提升推理效率。
核心能力
- 提供 FP8 静态/动态 PTQ 量化,一条命令完成校准与导出
- 支持 2bit、1.25bit 及三元量化算法,可压缩到端侧运行
- 内置 Eagle3、DFly、DFlare 等投机解码训练与部署
- 支持 Megatron-Core 上的量化感知蒸馏,含 TP/EP/CP/SP 并行
- 提供 VLM 视觉 token 剪枝与合并的通用压缩框架
容易踩的坑
- v0.5.0最新正式版2026-06-22 · 2026-06-22 07:31 UTC
AngelSlim V0.5.0 版本发布
功能升级
量化
- 新增 NVFP4 weight-only 量化能力 #347
- 新增 SmoothQuant 校准流程,支持 Hunyuan-V3(HY3)模型 #322
- 支持 vLLM 后端校准 Hunyuan-V3 模型,并进一步支持数据并行(data parallel)校准,提升大模型校准效率 #309 #349
- 修复 GPTQ 的 Hessian 计算、变长序列支持及层输出类型处理 #318
- 优化 SmoothQuant 配置与权重转换脚本(convert_smooth_weight.py),统一 YAML 路径与默认配置 #327 #337 #339 #341 #344
- 将 INT8/FP8/AWQ/lepto_fp8 迁移到新的 Catcher API #352
稀疏与注意力加速
- 新增 VecAttention 稀疏 Prefill 能力,面向视觉语言模型(Qwen2.5-VL),集成稀疏注意力 Triton 内核及图像/视频推理工具 #320
- 新增 D-Flash / D-Flare 相关能力 #325
- 新增 Stem 稀疏注意力模块的 News 与 Benchmark 结果文档 #328
蒸馏与训练
- 新增蒸馏(Distill)流水线,并拆分 QAD 与 Distill #307 #313
- 新增 TransformDataset + 高斯噪声(GaussianNoise)的离线 hidden-state 数据增强能力 #303
- 修复 trainer 在 eval step 的 train/eval 指标缩水问题 #302
Token 压缩 / 剪枝
- 校验 token 剪枝比例并统一 keep-count 解析逻辑 #342
- 加固 process_token_dict_to_mappings(显式 dtype、O(1) 查找、断言校验)#304
Bug fix 及其他
- 修复 SeedOss 模型崩溃(find_layers 调用方式错误)#350
- 修复 MoE 权重悬空引用,及 Qwen3-Omni 模型适配器兼容性问题 #334
- 修复从 JSON config 加载压缩模型时 compression_config 被丢弃的问题 #333
- 修复 Hunyuan-V3 vLLM 校准的 mtp config #329
- 修复数据模块 data_type 别名与 'auto' 到可调度数据集 id 的解析 #335
- 适配 transformers>=5.0 的 Qwen3-Omni #296
- 修复 ShareGPT 对话解析(保留所有轮次、修正 system prompt)#345
- 统一 HY3 命名规范 #321
- 文档:新增 D-Cut blog 页面并适配 readthedocs 路径 #314 #315;补充 1.25bit STQ1_0 kernel、蒸馏功能等 README 说明 #298 #310 #293
- v0.3.02026-01-13 · 2026-01-13 08:33 UTC
查看更新说明
AngelSlim V0.3.0版本发布
功能升级
投机采样
- 重构Eagle3训练的trainer和数据的代码架构 #178
- 支持Qwen3-VL的Eagle3模型训练及vLLM Benchmark测试 #176
- 更新HY模型、Qwen3系列模型Eagle3训练以及vLLM Benchmark测试流程 #172 #194
- 支持HunyuanOCR、Qwen3-VL及语音ASR模型投机采样训练、Benchmark测试流程及文档 #193 #196 #201 #202 #204
- 支持语音TTS模型投机采样训练、Benchmark测试流程及文档 #198 #205
量化
- 支持HunyuanOCR模型FP8量化 #164 #166
- 支持Diffusion模型
sgl_kernel的fp8-per-block量化能力 #169 - 支持Qwen2-Audio模型的FP8、INT8量化 #191
Bug fix及其他
- 修复INT4-AWQ量化在低内存模式下的一些bug #179 #184
- 修复Qwen3-VL-235B模型FP8 Block-wise量化的OOM问题 #180 #185
- v0.2.02025-11-05 · 2025-11-05 06:55 UTC
查看更新说明
AngelSlim V0.2.0版本发布
功能升级
量化
- 发布LeptoQuant量化算法,动态搜索最佳FP8静态量化scale #45
- 支持int4 GPTAQ量化算法及Benchmark #49
- 支持DeepSeek/Qwen模型FP8-Block-Wise量化的工具化脚本 #52 #95
- 支持Qwen2.5 code模型静态及动态FP8量化流程 #55 #56
- 支持Seed-OSS模型FP8静态及动态量化 #53
- 支持Qwen3-Coder-480B-A35B静态及动态FP8量化流程 #66 #68
- 支持Qwen3 NVFP4量化及Benchmark #72 #76 #77
- 发布Tequila三值量化新方法 #79 #80
- 支持DeepSeek int4-awq量化算法 #87 #96
- 支持GLM-4.6模型FP8静态量化 #89 #100
- 支持Qwen3-VL模型FP8静态量化及Benchmark #112 #124
- 新增Qwen3-Omni的FP8静态量化 #121
投机采样
- 支持Eagle3的torch推理Benchmark流程 #54
- 更新Eagle3 head_dim自适应,兼容Transformer 4.56以上版本 #70 #71
- 发布SpecExit思考早停新算法 #83 #91
- 发布投机采样训练框架,支持vLLM数据采样,Deepspeed+HF在线Eagle3训练 #113
- 支持Hunyuan模型Eagle3训练 #126
- 支持投机采样vLLM测试Benchmark #125 #127
Diffusion压缩
- 支持Diffusion FLUX模型fp8静态量化 #37
- 支持Cache + FP8量化联合策略 #63
- 重构Diffusion动态量化,支持per-tensor、per-token和per-block量化及导出流程 #90 #99
- 支持Diffusion模型weight only fp8量化 ,新增DiT量化脚本及文档 #104 #117
Bug fix及其他
- 修复DeepSeek per-tensor量化、导出模型、校准集等问题 #50 #64
- 修复angelslim保存config的数据路径,对敏感信息模糊处理 #78
- 分离各场景环境依赖,通过lazy import组织requirement #101 #120 #129 #131
- 优化deploy脚本传参形式,优化tokenizer目录结构 #115
- 支持attn_implementation可选接口,支持flash-attn来减低量化过程显存占用 #130
- v0.1.02025-08-06 · 2025-08-06 05:21 UTC
查看更新说明
AngelSlim V0.1版本发布
功能升级
量化
- 支持了
Hunyuan 0.5B/1.8B/4B/7B/A13B模型的INT8、FP8、INT4等量化。 - 支持了
Qwen2.5/Qwen3/DeepSeek-R1-Distill-Qwen等模型INT8、FP8、INT4等量化。 - 支持了
Qwen2.5VL 3B/7B/32B/72B的FP8、INT4量化。 - 支持了
DeepSeek-R1/V3和Kimi-K2模型的FP8-Static、W4A8-FP8量化 - 支持量化敏感度分析工具,可对权重和激活同时进行量化敏感度分析。
投机采样
- 开源
Qwen3系列模型的Eagle3权重。 - 开源
Hunyuan 1.8B/4B/7B系列模型的Eagle3权重。
- 支持了
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
English | 简体中文
📣Latest News
- [26/10/26] We've released the Q4_K_M and Q8_0 quantized model for Hy-SimulMT on llama.cpp, supporting both the translation-only model and source text and translation). We also propose a PR to support the architecture and ASR inference!🔥🔥🔥
- llama.cpp support for Hy-SimulMT! Enable. Using Prima.cpp, we ran this 214 GB model on a Laptop 4090 (32GB RAM, 16GB VRAM) + a Server with 4x A4000 (32GB RAM, 16GB VRAM each), hitting 1.02 tokens/s. See the blog and the deployment guideline! 🔥🔥🔥
- [26/09/01] We've released the hy4 preview MIX-STQ1_0 version! Compressed from 1.5TB to 214 GiB with only a 0.7% performance drop on SWE-bench Pro. Using Prima.cpp, we ran this 214 GB model on a Laptop 4090 (32GB RAM, 16GB VRAM) + a Server with 4x A4000 (32GB RAM, 16GB VRAM each), hitting 1.02 tokens/s. See the blog and the deployment guideline! 🔥🔥🔥
- [26/07/29] We have open-sourced AngelSpec, a torch-native, disaggregated speculative-decoding training framework with support for a variety of draft methods, led by DFly and MTP + TTT, and released the MTP and DFly drafter weights for Hy3-A21B — DFly delivers up to 2.40× average end-to-end speedup over AR, and D-cut adds up to +15.7% throughput at high concurrency. [Paper] | [GitHub] | [Docs] | [Hugging Face] 🔥🔥🔥
- [26/07/20] We now support scale-only quantization-aware distillation on Megatron-Core for Qwen3-MoE and Hy3, with TP/EP/CP/SP distributed training. [Docs]
- [26/07/06] We now support FP8-Static quantization , SmoothQuant for Hy3 (MoE A21B).[Docs]
- [26/06/04] We have released Stem, a sparse attention algorithm that accelerates the Prefill stage of long-context LLMs by dynamically selecting top-k key blocks for block-sparse attention, significantly reducing latency while preserving generation quality. [Docs]
- [26/06/01] We have released DFlare, a block-diffusion speculative decoding framework with layer-wise fusion that achieves up to 5.52× end-to-end speedup. [Docs]
- [26/05/27] We have released D-Cut, an adaptive verification depth pruning technique for speculative decoding. [Docs]
- [26/05/20] We support Distillation for full-precision HuggingFace models and quantized QAT-style models, as detailed in the distillation documentation.
- [26/05/08] We have released STQ1_0 kernel for 1.25-bit model and given a PR to llama.cpp PR #22836 ! If you have any questions or suggestions for STQ_0, welcome to comment under the PR !🔥🔥🔥
- [26/04/29] We have released 2-bit and 1.25-bit versions of Tencent Hy-MT1.5-1.8B Translation Model: Hy-MT1.5-1.8B-2bit and Hy-MT1.5-1.8B-1.25bit. Additionally, we have make an offline translation demo for you to try out. We invite you to give it a spin! 🔥🔥🔥
- [26/04/23] We now support FP8-Static quantization for Hy3-preview (MoE A20B).
- [26/03/25] We have released DAQ, the quantization algorithm that preserves the knowledge acquired while the update of parameters is relatively small during post-training training.[Paper] | [Docs]
- [26/02/09] We have released HY-1.8B-2Bit, 2bit on-device large language model,[Huggingface].
- [26/01/13] We have released v0.3. We support the training and deployment of Eagle3 for all-scale LLMs/VLMs/Audio models, as detailed in the guidance documentation. And We released Sherry, the hardware-efficient 1.25 bit quantization algorithm [Paper] | [Code]🔥🔥🔥
- [25/11/05] We have released v0.2. Quantization support for new models, such as
GLM-4.6,Qwen3-VLandQwen3-Omni, open-sources the Eagle3 speculative decoding training framework, and updates the Diffusion model quantization tools. - [25/09/30] We have released SpecExit, the reasoning early-exit algorithm: [Paper] | [Docs] | [vLLM Code]
- [25/09/26] We have released TEQUILA, the ternary quantization algorithm [Paper] | [Code]
- [25/09/24] We now support the PTQ quantization of NVFP4 for the Qwen3 series models. We also opensource Qwen3-32B-NVFP4 and Qwen3-235B-A22B-NVFP4 weights.
- [25/09/01] We now support FP8 quantization of the Hunyuan-MT-7B translation model. And enabled Torch inference and Benchmark evaluation for Eagle3. And implemented support for quantization and Cache for FLUX. And support quantization for the Seed-OSS.
- [25/08/06] We now support quantization for
Hunyuan 0.5B/1.8B/4B/7Band multimodal modelQwen2.5VL 3B/7B/32B/72B, includingFP8/INT4algorithms, and quantization forDeepSeek-R1/V3andKimi-K2, includingFP8-StaticandW4A8-FP8algorithms. We also opensourceHunyuan 1.8B/4B/7Bseries Eagle3 model weight. - [25/07/04] We now support quantization for
Hunyuan/Qwen2.5/Qwen3/DeepSeek-R1-Distill-Qwenand other models, includingINT8/FP8/INT4algorithms. We also opensourceQwen3series Eagle3 model weight.
🌟Key Features
- Highly Integrated: This toolkit integrates mainstream compression algorithms into a unified framework, offering developers one-click access with exceptional ease of use.
- Continuous Innovation: Beyond integrating widely-used industry algorithms, we are continuously researching better compression algorithms, which will be gradually open-sourced in the future.
- Performance-Driven: We continuously optimize end-to-end performance in model compression workflows and algorithm deployment, such as enabling quantization of models like Qwen3-235B and DeepSeek-R1 on a single GPU.
💼Technical Overview
🛎️How to Use
1. Install AngelSlim
We recommend using pip to install the latest stable version of AngelSlim:
pip install angelslim
Alternatively, you can clone the repository and install from source in editable mode:
cd AngelSlim && python setup.py install
Note: AngelSlim integrates the speculative-decoding training framework AngelSpec as a git submodule (under
third_party/AngelSpec/). Clone with--recursive, or initialize in an existing clone:# Clone with submodules git clone --recursive https://github.com/Tencent/AngelSlim.git # Or, in an already-cloned repo git submodule update --init --recursive
For more detailed installation instructions and platform-specific guidance, please refer to the Installation Documentation.
2. Quick Start
2.1 Speculative Decoding
AngelSlim's speculative-decoding training is powered by AngelSpec (git submodule under third_party/AngelSpec/) — a torch-native framework for training speculative-decoding draft models, featuring a rich set of draft architectures, target-model support, and production-scale training. It supports a variety of draft methods, led by DFly and MTP + TTT.
It follows a disaggregated design: inference engines run the frozen target model and extract multi-layer hidden states, which a Mooncake store streams over RDMA (no disk staging) to the FSDP2 training workers, while a controller handles batching, backpressure, and evaluation. Inference and training run on separate GPU pools and scale independently.
Capabilities:
- Multi-backend inference — vLLM (first-class), SGLang, and HuggingFace.
- Long-sequence training — Ulysses sequence parallelism (USP) for 128k+ contexts.
- Document-aware sequence packing — with cross-document attention isolation.
- Online evaluation — spec-decode acceptance rate measured during training.
- Multi-node — large MoE target models sharded across nodes over Mooncake RDMA.
- Vocabulary pruning — shrink the draft
lm_headto a smaller token set at train or convert time.
# Initialize the submodule (see Install section above)
git submodule update --init --recursive
cd third_party/AngelSpec
# Install AngelSpec + the vLLM backend
pip install -e ".[vllm]"
# Hidden-state transport (not pulled in by the extras; install separately)
pip install mooncake-transfer-engine
# Single-node quickstart (4 GPUs: 2 inference + 2 training)
./examples/qwen3-8b-single-node/run.sh
For more details, see the technical report, AngelSpec docs, AngelSpec README, and Hugging Face weights.
2.2 LLM/VLM/Audio Model Quantization
After installing AngelSlim, you can launch static FP8 quantization for the Qwen3-1.7B model with the following one-command script:
python3 tools/run.py -c configs/qwen3/fp8_static/qwen3-1_7b_fp8_static.yaml
This example produces quantized model weights by performing PTQ calibration on a model loaded from HuggingFace.
For Hy3-preview (MoE A20B) FP8-Static quantization:
python tools/run.py -c configs/hunyuan/fp8_static/hunyuanv3_a20b_fp8_static_c8.yaml
To perform dynamic FP8 quantization on Qwen3-1.7B:
from angelslim.engine import Engine
slim_engine = Engine()
# Prepare model
slim_engine.prepare_model(model_name="Qwen", model_path="Qwen/Qwen3-1.7B",)
# Initialize compressor
slim_engine.prepare_compressor("PTQ", default_method="fp8_dynamic")
# Compress model
slim_engine.run()
# Save compressed model
slim_engine.save("./output")
For more details, please refer to the Quick Start Documentation.
2.3 Diffusion Model Quantization
Use the scripts/diffusion/run_diffusion.py for quantization and inference:
# Online quantization and inference
python scripts/diffusion/run_diffusion.py \
--model-name-or-path black-forest-labs/FLUX.1-schnell \
--quant-type fp8-per-tensor \
--prompt "A cat holding a sign that says hello world" \
--height 1024 --width 1024 --steps 4 --guidance 0.0 --seed 0
For more quantization inference methods, please refer to the Diffusion Model Quantization Documentation.
2.4 Token Compression (VLM)
AngelSlim provides a universal metadata-driven framework for vision token pruning and merging. You can quickly verify a compression strategy (e.g., VisionZip) with a smoke test:
python tools/test_universal_pruning.py \
--model_path "Qwen/Qwen2.5-VL-3B-Instruct" \
--config "configs/qwen2_5_vl/pruning/visionzip_r0.9.yaml"
For more details on implementing new strategies, please refer to the Token Compressor Documentation.
3. Deployment and Testing
3.1 Offline Inference
To test offline inference with a quantized model loaded via transformers.
python scripts/deploy/offline.py $MODEL_PATH "Hello, my name is"
Where MODEL_PATH is the path to the quantized model output.
3.2 API Service Deployment
After specifying the quantized model path MODEL_PATH, you can deploy an OpenAI-compatible API service using vLLM and SGLang inference frameworks.
-
vLLM
Use the following script to launch a vLLM server, recommended version
vllm>=0.8.5.post1. For MOE INT8 quantized models, vllm>=0.9.0 is required.bash scripts/deploy/run_vllm.sh --model-path $MODEL_PATH --port 8080 -d 0,1,2,3 -t 4 -p 1 -g 0.8 --max-model-len 4096Where
-dis the visible devices,-tis tensor parallel size,-pis pipeline parallel size, and-gis the GPU memory utilization. -
SGLang
Use the following script to launch a SGLang server, recommended version
sglang>=0.4.6.post1.bash scripts/deploy/run_sglang.sh --model-path $MODEL_PATH --port 8080 -d 0,1,2,3 -t 4 -g 0.8
3.3 Service Invocation
Invoke requests via OpenAI's API format.
bash scripts/deploy/openai.sh -m $MODEL_PATH -p "Hello, my name is" --port 8080 --max-tokens 4096 --temperature 0.7 --top-p 0.8 --top-k 20 --repetition-penalty 1.05 --system-prompt "You are a helpful assistant."
where -p is the input prompt.
3.4 Performance Evaluation
Evaluate the performance of quantized model using lm-evaluation-harness, recommended versionlm-eval>=0.4.8.
bash scripts/deploy/lm_eval.sh -d 0,1 -t 2 -g 0.8 -r $RESULT_PATH -b "auto" --tasks ceval-valid,mmlu,gsm8k,humaneval -n 0 $MODEL_PATH
where RESULT_PATH is the directory for saving test results, -b is batch size, --tasks specifies the evaluation tasks, and -n is the number of few-shot examples.
For more detaileds, please refer to the Deployment Documentation.
📈 Benchmark
1. Speculative Decoding
The results below come from AngelSpec — a torch-native, disaggregated speculative-decoding training framework, integrated into AngelSlim as a git submodule (see §2.1), with support for a variety of draft methods, led by DFly and MTP + TTT. [Paper] | [Docs] | [Hugging Face]
✨ Highlights
- 🏗️ Full-stack open source — the AngelSpec training framework plus Hy3-A21B MTP / DFly drafter weights and training code, all released at once.
- 🚀 DFly leads across the board — on Hy3-A21B, DFly delivers the highest throughput across all concurrency levels (4–64) and all six benchmarks — 1.98–2.40× average speedup over the AR baseline (peak 2.86× on code / math), and 10.5–11.8% faster than DFlash.
- 📈 Substantially higher accepted length — DFly reaches a mean accepted length of 4.79 — +30% over DFlash (3.69) and ~1.6× over MTP (3.00) — up to 5.52 on HumanEval.
- ⚡ D-cut squeezes high concurrency — on live traffic of a 295B model, it adds up to +15.7% throughput in the high-concurrency regime at near-zero cost (mean accepted length 2.50 → 2.46).
- 💬 MTP + TTT cracks chat — fixes the train/inference mismatch: mean acceptance rate 52.8% → 66.4%, mean accepted length 2.58 → 2.99.
1.1 🏆 Drafter Showdown — DFly Leads the Pack
Draft quality — mean accepted length. Measured on Qwen3-8B and Hy3-A21B across math / code / chat (temperature = 1, no thinking); bold marks the best drafter per target per benchmark. DFly leads on average — 5.41 on Qwen3-8B and 4.79 on Hy3-A21B — and tops nearly every benchmark, well ahead of DFlash and MTP.
End-to-end throughput on Hy3-295B-A21B. Output-token throughput (Tok/s) and speedup (Spd.) over the AR baseline (TP=8, temperature 1, concurrency c4–c64; each cell = 3×120s windows). Bold marks the best speedup per benchmark at each concurrency; MTP-3 uses 3 speculative tokens, DFlash-8 / DFly-8 use block length 8. DFly-8 wins the average at every concurrency — 1.98×–2.40× over AR, peaking at 2.86× on HumanEval.
1.2 ⚡ D-cut — Breaking the Concurrency Ceiling
When concurrency climbs, target verification becomes the bottleneck and rejected draft suffixes clog the batch. D-cut treats verification as a shared batch budget — ranking each request's verification depth by expected gain / cost, deepening drafts when the system is idle and trimming them when it's slammed. The payoff lands exactly where DFly plateaus: past concurrency 48, D-cut keeps turning load into throughput, up to +15.7% over DFly at near-zero quality cost (accepted length 2.50 → 2.46).
2. Quantization
The performance test results for selected models are shown below. For the complete benchmark, refer to the Benchmark documentation
2.1 Hunyuan Series Models
Benchmark results for the Hunyuan-Instruct model with FP8, INT4-AWQ and INT4-GPTQ quantization algorithms on datasets includingOlympiadBench, AIME 2024 and DROP:
2.2 Qwen3 Series Models
Benchmark results for Qwen3 series models with FP8-Static, FP8-Dynamic, INT4-GPTQ, and INT4-AWQ quantization algorithms on datasets including CEVAL, MMLU, GSM8K, and HUMANEVAL:
2.3 DeepSeek Series Models
Benchmark results for DeepSeek-R1-0528 series models with FP8-Block-Wise and W4A8-FP8 quantization algorithms on datasets including GPQA Diamond、AIME 2024、SimpleQA and LiveCodeBench:
- The above results are based on the average of 5 test runs deployed with TRT-LLM
- The hyperparameters used during evaluation are as follows:
{ "top_k": 20, "top_p": 0.6, "temperature": 0.7, "output_seq_len": 32768, "max_input_seq_len": 16384 }
2.4 Qwen-VL Series Models
Qwen3-VL Benchmark
Benchmark results for Qwen3VL series models with BF16、FP8-Static and FP8-Dynamic quantization algorithms on datasets including MMMU_VAL、DocVQA_VAL and ChartQA_TEST:
Benchmark results for Qwen2.5VL series models with BF16、FP8-Static、FP8-Dynamic、INT4-GPTQ、INT4-AWQ quantization algorithms on datasets including MMMU_VAL、DocVQA_VAL and ChartQA_TEST:
2.5 Qwen-Omni Series Models
Qwen3-Omni Text to Text Benchmark
Benchmark results for Qwen3-Omni series models in BF16, FP8-Static, and FP8-Dynamic on aime25, gpqa_diamond, and mmlu_redux are as follows:
- The above evaluation results were obtained by deploying with the vLLM framework and averaging over 5 runs (vLLM only supports the thinker component).
- The hyperparameters used during evaluation are as follows:
{ "top_p": 0.95, "temperature": 0.6, "do_sample": true, "max-model-len 65536": 65536 }
2.6 Other Models
Other models such as GLM-4.6, Qwen2.5, and Seed-OSS have been evaluated on benchmarks like CEVAL, MMLU, and GSM8K using quantization strategies including FP8-Static, FP8-Dynamic, INT4-GPTQ, and INT4-AWQ.
3. Token Compression (VLM)
We evaluated various vision token compression strategies on the Qwen2.5-VL-3B-Instruct model across multiple multimodal benchmarks. You can replicate these results using the following command:
python tools/run_pruning_eval.py \
--model_path "Qwen/Qwen2.5-VL-3B-Instruct" \
--configs "configs/qwen2_5_vl/pruning/visionzip_r0.9.yaml" \
--tasks "textvqa" \
--output_dir "./results/visionzip_test"
📝 License
The code for this project is open-sourced under the License for AngelSlim.
🔗 Citation
@article{angelslim2026,
title={AngelSlim: A more accessible, comprehensive, and efficient toolkit for large model compression},
author={Hunyuan AI Infra Team},
journal={arXiv preprint arXiv:2602.21233},
year={2026}
}
💬 Technical Discussion
-
AngelSlim is developed by the Tencent Hunyuan AI Infra team, with new features being iteratively updated. If you have any questions or suggestions, please submit them on GitHub Issues or join our WeChat discussion group.
-
⭐ Star this repo to follow our latest progress. And if you are interested in joining us for an internship or full-time position, send your resume to: [email protected].