PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度
delete unreproduced results for now (#1760)
ZaneMarked8eb6713c5b
diff --git a/README.md b/README.mdindex 6ae8daf43..43beac4bd 100644--- a/README.md+++ b/README.md@@ -36,8 +36,6 @@ See our papers [SignRoundV1](https://arxiv.org/pdf/2309.05516) and [SignRoundV2]## 🆕 What's New-* [2026/04] We demonstrate that AutoRound achieves SOTA or near SOTA performance under INT4 (W4A4) quantization [accuracy data](./docs/int4_acc.md). This capability is currently a **research-only** feature, with no production model export.-* [2026/03] **Block-wise FP8** quantization is available via `--scheme FP8_BLOCK --iters 0 --disable_opt_rtn`.* [2026/03] **MTP layer quantization** has been supported in this [PR](https://github.com/intel/auto-round/pull/1526)diff --git a/README_CN.md b/README_CN.mdindex fc3683cbc..cb2645f95 100644--- a/README_CN.md+++ b/README_CN.md@@ -35,12 +35,10 @@ AutoRound 是专为大语言模型(LLMs)和视觉-语言模型(VLMs)设## 🆕 最新进展-* [2026/04] AutoRound可以在INT4上取得非常好的精度 [accuracy data](./docs/int4_acc.md). 不过目前这个特性还停留在研究性质,我们正在努力将其优化到生产环境中。-* [2026/03] 支持**Block-wise FP8**,只需要将scheme改成 `--scheme FP8_BLOCK`.为了更快的量化,我们推荐使用RTN模式,即·--iters 0 --disable_opt_rtn·* [2026/03] 支持**MTP层量化**-*+* [2025/12] 发布 **SignRoundV2** 论文。如果要复现论文成果,可启用 `enable_alg_ext`,并使用 **AutoScheme** API 对模型进行混合精度量化。相关链接:[*论文*](http://arxiv.org/abs/2512.04746),[*LLaMA 模型评估说明*](./docs/alg_202508.md)。* [2025/11] **LLM-Compressor** 已支持 AutoRound 算法。相关链接:[*使用方法*](https://github.com/vllm-project/llm-compressor/tree/main/examples/autoround/README.md),[*vLLM 博客*](https://blog.vllm.ai/2025/12/09/intel-autoround-llmc.html),[*RedHat 博客*](https://developers.redhat.com/articles/2025/12/09/advancing-low-bit-quantization-llms-autoround-x-llm-compressor),[*X 推文*](https://x.com/vllm_project/status/1998710451312771532),[*Intel 博客*](https://community.intel.com/t5/Blogs/Products-and-Solutions/HPC/Advancing-Low-Bit-Quantization-for-LLMs-AutoRound-x-LLM/post/1729336),[*LinkedIn*](https://www.linkedin.com/posts/vllm-project_advancing-lowbit-quantization-for-llms-activity-7404478053768441856-ru8f/?utm_source=share&utm_medium=member_desktop&rcm=ACoAAAapNW8BLnAdCAr57GOwSCJXjf76ZvOEOAg),[*微信*](https://mp.weixin.qq.com/s/l5WA-1_4ipffQN6GOH2Iqg),[*知乎*](https://zhuanlan.zhihu.com/p/1982167638315664412)。diff --git a/docs/int4_acc.md b/docs/int4_acc.mddeleted file mode 100644index 3408a42fe..000000000--- a/docs/int4_acc.md+++ /dev/null@@ -1,62 +0,0 @@-### Algorithm Details--| Alg | Rotation Type | Activation Clip Ratio | Weight Quantizer | W&A symmetric |-|-----------|---------------|-----------------------|------------------|---------------|-| Quarot | fixed | 0.9 | GPTQ | yes |-| FlatQuant | learnable | learnable | GPTQ | yes |-| Ours | fixed | 0.9 | SignRoundV2 | yes |--### Eval Details--lm-eval 0.4.11 for all the data evaluation.--We report the average of 10 tasks (AVG10) as well as the individual performance on each task. The 10 tasks are:-ARC-Challenge (arc_c), ARC-Easy (arc_e), BoolQ (boolq), HellaSwag (hellaswag), Lambada-openai (lambada), MMLU (mmlu),-OpenBookQA (obqa), PiQA (piqa), Truthfulqa_mc1 (tfq), and Winogrande (winog).--Following Quarot and FlatQuant, we report `acc_norm` instead of accuracy for tasks where acc_norm is available.--All results below `exclude` KV-cache quantization, as it is not yet supported in our implementation.--### How to Reproduce--~~~ bash-AR_ACT_SCALE=0.9 auto-round Qwen/Qwen3-8B --scheme INT4 --rotation_type hadamard --enable_alg_ext --format fake --tasks mmlu-~~~--### Qwen3-8B--| Method | AVG10 | arc_c | arc_e | boolq | hellaswag | lambada | mmlu | obqa | piqa | tfq | winog |-|-----------|------------|------------|------------|------------|------------|------------|------------|-----------|------------|------------|------------|-| 16 bit | 0.6598 | 0.5640 | 0.8068 | 0.8670 | 0.7491 | 0.6420 | 0.7288 | 0.420 | 0.7764 | 0.3647 | 0.6788 |-| QuaRot | 0.6123 | 0.5060 | 0.7428 | 0.8220 | 0.6836 | 0.5762 | 0.6545 | 0.412 | 0.7383 | 0.3464 | 0.6409 |-| FlatQuant | 0.6511 | **0.5657** | **0.8072** | 0.8609 | 0.7256 | **0.6369** | 0.7032 | **0.410** | 0.7682 | 0.3525 | 0.6803 |-| Ours | **0.6533** | 0.5614 | 0.8035 | **0.8657** | **0.7336** | 0.6336 | **0.7188** | 0.408 | **0.7704** | **0.3562** | **0.6819** |--### Llama-3-8B--| Method | AVG10 | arc_c | arc_e | boolq | hellaswag | lambada | mmlu | obqa | piqa | tfq | winog |-|-----------|------------|------------|------------|------------|------------|------------|------------|-----------|------------|------------|------------|-| 16 bit | 0.6569 | 0.5392 | 0.7769 | 0.8190 | 0.7919 | 0.7545 | 0.6216 | 0.452 | 0.8069 | 0.2717 | 0.7356 |-| QuaRot | 0.5924 | 0.4326 | 0.7155 | 0.7526 | 0.7342 | 0.6810 | 0.5007 | 0.426 | 0.7492 | 0.2546 | 0.6772 |-| FlatQuant | 0.6442 | 0.5213 | 0.7706 | **0.8168** | 0.7724 | 0.7363 | 0.5875 | **0.438** | 0.7987 | **0.2754** | 0.7253 |-| Ours | **0.6521** | **0.5452** | **0.7862** | 0.8119 | **0.7832** | **0.7460** | **0.6107** | 0.436 | **0.8079** | 0.2668 | **0.7269** |--### Llama-2-7B--| Method | AVG10 | arc_c | arc_e | boolq | hellaswag | lambada | mmlu | obqa | piqa | tfq | winog |-|-----------|------------|------------|------------|------------|------------|------------|------------|-----------|------------|------------|------------|-| 16 bit | 0.6071 | 0.4505 | 0.7382 | 0.7939 | 0.7615 | 0.7367 | 0.4177 | 0.442 | 0.7878 | 0.2485 | 0.6946 |-| QuaRot | 0.5742 | 0.4352 | 0.6907 | 0.7388 | 0.7275 | 0.7093 | 0.3527 | 0.402 | 0.7715 | 0.2509 | 0.6630 |-| FlatQuant | 0.5954 | **0.4454** | 0.7239 | 0.7743 | 0.7452 | 0.7233 | **0.3920** | 0.430 | **0.7840** | 0.2448 | **0.6914** |-| Ours | **0.5991** | 0.4403 | **0.7281** | **0.7902** | **0.7495** | **0.7256** | 0.3915 | **0.450** | 0.7802 | **0.2497** | 0.6859 |--### Llama-2-13B--| Method | AVG10 | arc_c | arc_e | boolq | hellaswag | lambada | mmlu | obqa | piqa | tfq | winog |-|-----------|------------|------------|------------|------------|------------|------------|------------|-----------|------------|------------|------------|-| 16 bit | 0.6446 | 0.4881 | 0.7652 | 0.8217 | 0.7965 | 0.7652 | 0.5239 | 0.452 | 0.8030 | 0.2681 | 0.7621 |-| QuaRot | 0.6114 | 0.4573 | 0.7348 | 0.7872 | 0.7644 | 0.7444 | 0.4584 | 0.430 | 0.7818 | 0.2546 | 0.7009 |-| FlatQuant | 0.6308 | 0.4795 | 0.7534 | 0.8180 | 0.7817 | 0.7588 | 0.4985 | 0.446 | 0.7982 | **0.2583** | 0.7151 |-| Ours | **0.6369** | **0.4804** | **0.7626** | **0.8245** | **0.7886** | **0.7720** | **0.5106** | **0.450** | **0.8014** | 0.2497 | **0.7293** |-