Mingyu's Library主页
深度学习文档 · 2026-08-05 DEEP-DIVE · 2026-08-05

低精度推理与 MXFP4 量化:模型为什么越来越便宜

Low-Precision Inference & MXFP4 Quantization: Why Models Keep Getting Cheaper

Kimi K3 用 MXFP4 权重开源、OpenAI 连续降价、Blackwell GPU 原生跑 4-bit——这一切背后是同一件事:用更少的比特存和算每个数。本文讲清 4-bit 浮点量化是什么、怎么用、什么场景敢用。

Kimi K3 shipped open weights in MXFP4, OpenAI keeps cutting prices, and Blackwell GPUs run 4-bit natively — all driven by the same idea: store and compute every number with fewer bits. This guide explains what 4-bit floating-point quantization is, how to use it, and when it's safe to.

130 秒速览

130-Second Overview

量化(quantization)就是把模型里的数字用更少的比特来存:训练时常用的 BF16 每个数占 16 bit,量化到 4 bit 后,同一个模型的显存占用约为原来的 1/4。MXFP4 是开放组织 OCP(Open Compute Project)制定的 4-bit 浮点微缩放格式:每 32 个数为一块,块内共享一个 8-bit 缩放因子,平均每个数只花约 4.25 bit。NVIDIA Blackwell 一代 GPU 和 AMD MI355X 的张量核心可以原生按这种格式计算——不只是省显存,算得也更快。

Quantization means storing a model's numbers with fewer bits: BF16, common in training, uses 16 bits per value; at 4 bits, the same model needs roughly 1/4 of the memory. MXFP4 is the 4-bit floating-point microscaling format standardized by OCP (Open Compute Project): values are grouped into blocks of 32 that share one 8-bit scale factor, averaging about 4.25 bits per value. NVIDIA Blackwell-generation GPUs and AMD's MI355X execute this format natively in their tensor cores — so it's not just smaller, it also computes faster.

🔑为什么现在值得学:2026 年 7 月 27 日,Moonshot 把 2.8 万亿参数的 Kimi K3 以「量化感知的 MXFP4 权重 + MXFP8 激活」形态开源——超大模型第一次以原生低精度形态发布,自托管门槛因此大降;而 OpenAI 8 月 4 日的新一轮降价,背后同样有低精度推理基础设施的成本红利。Why it matters now: on July 27, 2026, Moonshot open-sourced the 2.8-trillion-parameter Kimi K3 with quantization-aware MXFP4 weights and MXFP8 activations — the first frontier-scale model released natively in low precision, sharply lowering the bar for self-hosting. OpenAI's August 4 price cuts likewise ride on the cost dividends of low-precision inference infrastructure.
BF16 模型 每数 16 bit 量化 MXFP4 权重 每数约 4.25 bit Blackwell / MI355X FP4 张量核心 原生 4-bit 计算 更便宜 的 token 显存约 1/4 · 吞吐最高提升数倍(来源见图注) BF16 model 16 bits / value quantize MXFP4 weights ~4.25 bits / value Blackwell / MI355X FP4 tensor cores native 4-bit math cheaper tokens ~1/4 memory · up to several× throughput (see caption for sources)
低精度推理的完整链路。据 EmergentMind 汇总的研究,微缩放 FP4 在现代加速器上最高可带来约 5× 加速与 2× 显存节省(具体因模型与硬件而异)。
The full low-precision inference chain. Per research surveyed by EmergentMind, microscaling FP4 can deliver up to ~5× speedup and 2× memory savings on modern accelerators (varies by model and hardware).

2背景:为什么非要压到 4 bit

2Why Squeeze All the Way to 4 Bits

先看痛点。大模型推理的瓶颈往往不是「算不动」,而是「搬不动」:生成每个 token 都要把全部权重从显存搬进计算单元,权重越大、搬运越慢、显卡越贵。一个 70B 参数的模型,BF16 存储要约 140 GB——单卡放不下,就得多卡并行,成本翻倍。把每个数从 16 bit 压到 4 bit,显存和搬运量都变成约 1/4:原来要 4 张卡的,现在 1 张卡可能就够。

Start with the pain point. LLM inference is usually bottlenecked not by compute but by data movement: generating every token requires streaming all the weights from GPU memory into the compute units. Bigger weights mean slower transfers and pricier GPUs. A 70B-parameter model needs ~140 GB in BF16 — too big for one card, so you shard across several and multiply cost. Compressing each value from 16 bits to 4 cuts both memory and traffic to ~1/4: what took four GPUs may now fit on one.

行业于是沿着「精度阶梯」一路往下走:FP32(科学计算)→ FP16/BF16(训练标配)→ FP8(Hopper 一代推理主流)→ FP4(Blackwell 一代开始原生支持)。每下一级,单位算力翻倍、显存减半。但天下没有免费午餐——4 bit 只能表示 16 个不同的数值,直接硬压会把模型压坏。让 4 bit 变得可用的关键发明,就是下一节的块缩放(block scaling)

The industry has walked down a "precision ladder": FP32 (scientific computing) → FP16/BF16 (the training standard) → FP8 (mainstream inference on Hopper) → FP4 (natively supported starting with Blackwell). Each step down doubles effective compute and halves memory. But there's no free lunch — 4 bits can only represent 16 distinct values, and naive compression would wreck the model. The invention that makes 4 bits workable is block scaling, covered next.

FP3232 bit · 早期 FP16 / BF1616 bit · 训练标配 FP8Hopper 推理主流 FP4 (MXFP4/NVFP4)Blackwell/MI355X 原生2025– · 当前前沿 每降一级:显存减半 · 单位算力约翻倍 FP3232-bit · early era FP16 / BF1616-bit · training standard FP8Hopper inference era FP4 (MXFP4/NVFP4)native on Blackwell/MI355X2025– · current frontier Each step down: half the memory · ~2× the compute per chip
推理精度阶梯:FP4 是当前硬件原生支持的最低精度档。图源信息综合自 Spheron 决策指南与 EmergentMind 主题页。
The inference precision ladder: FP4 is the lowest precision tier with native hardware support today. Synthesized from the Spheron decision guide and EmergentMind topic pages.

3核心概念:块缩放让 4 bit 变得可用

3Core Idea: Block Scaling Makes 4 Bits Usable

4 bit 只有 16 个可表示的值,而神经网络权重的数值范围可能横跨好几个数量级。传统 INT4 给整个张量(可理解为一大片数字表格)定一个固定范围,遇到离群值(outlier)——个别特别大的数——就会崩:为了装下那一个大数,其他所有小数都被压得面目全非。

Four bits give you only 16 representable values, while neural-network weights can span several orders of magnitude. Traditional INT4 assigns one fixed range to an entire tensor (think: one huge table of numbers), and outliers — the occasional very large value — break it: to fit that one big number, every small number gets crushed into mush.

微缩放(microscaling,MX 的含义)的解法很朴素:别给整张表定一个范围,给每一小块单独定。MXFP4 把数据切成每 32 个一块,每块配一个共享的 8-bit 缩放因子,把这块里最大的数映射到 FP4 能表示的最大值。这样每块的 4-bit 编码都「量身定制」,离群值最多祸害同块的 31 个邻居,而不是整个张量。

Microscaling (the "MX") fixes this simply: don't set one range for the whole table — set one per small block. MXFP4 slices data into blocks of 32, each with a shared 8-bit scale factor that maps the block's largest magnitude to the largest FP4-representable value. Every block's 4-bit encoding is thus tailor-made; an outlier can distort at most its 31 neighbors, not the entire tensor.

E2M1:MXFP4 中每个 4-bit 数的编码方式——1 个符号位、2 个指数位、1 个尾数位。可以理解成一个「迷你科学计数法」:指数管大小档位,尾数管细节。E2M1: how each 4-bit value in MXFP4 is encoded — 1 sign bit, 2 exponent bits, 1 mantissa bit. Think of it as miniature scientific notation: the exponent sets the magnitude tier, the mantissa adds detail.
E8M0 缩放因子:每块共享的 8-bit 缩放数,8 位全是指数、没有尾数——只能表示 2 的整数次幂,但动态范围极宽。算总账:32 个数摊 8 bit,平均每数只多花 0.25 bit,所以 MXFP4 的实际成本是 4.25 bit/数。E8M0 scale: the block's shared 8-bit scale — all exponent, no mantissa — so it only represents powers of two, but with a very wide dynamic range. The math: 8 bits spread over 32 values adds 0.25 bits each, so MXFP4's true cost is 4.25 bits per value.
一个 MXFP4 块 = 32 个 FP4 值 + 1 个共享缩放因子 32 × E2M1 4 bit × 32 共享缩放 E8M0 · 8 bit 解码时:真实值 = FP4 值 × 缩放因子 ✔ 每块量身定标,离群值最多影响同块 31 个邻居 ✔ 平均成本 = 4 + 8/32 = 4.25 bit / 数 ✔ NVFP4 变体:块缩到 16 个数、缩放改用 FP8(E4M3),更准但开销翻倍 One MXFP4 block = 32 FP4 values + 1 shared scale 32 × E2M1 4 bits × 32 shared scale E8M0 · 8 bits decode: real value = FP4 value × scale ✔ Per-block tailoring: an outlier hurts at most its 31 block-mates ✔ Average cost = 4 + 8/32 = 4.25 bits / value ✔ NVFP4 variant: 16-value blocks with FP8 (E4M3) scales — more accurate, double the overhead
块缩放机制。信息来源:OCP MX 规范解读(EmergentMind)与 Spheron 格式对比指南。
The block-scaling mechanism. Sources: OCP MX spec explainers (EmergentMind) and the Spheron format comparison guide.

还有一个关键概念:量化感知(quantization-aware)。事后把训好的模型压到 4 bit 叫 PTQ(post-training quantization,训练后量化),省事但可能掉精度;而在训练/后训练阶段就让模型「知道」自己将来要以 4 bit 运行,叫 QAT(quantization-aware training,量化感知训练),掉点更少。Kimi K3 和 OpenAI 的 gpt-oss 都属于后者——官方直接发布量化感知的 MXFP4 权重,拿到手就是「原生 4 bit」。

One more key concept: quantization-aware. Compressing an already-trained model down to 4 bits afterward is PTQ (post-training quantization) — convenient, but it can cost accuracy. Letting the model "know" during training/post-training that it will run in 4 bits is QAT (quantization-aware training), which loses less. Kimi K3 and OpenAI's gpt-oss are both in the latter camp — the official weights ship quantization-aware in MXFP4, natively 4-bit out of the box.

4两大格式:MXFP4 vs NVFP4

4The Two Formats: MXFP4 vs NVFP4

实际选型时你会遇到两个名字很像的格式。两者每个数都用 E2M1 编码,差别在块大小和缩放因子精度——别小看这两处,它们决定了你用哪套工具链、checkpoint 能在哪些硬件上跑、以及推理质量掉多少。

In practice you'll meet two similar-sounding formats. Both encode each value as E2M1; they differ in block size and scale precision — and those two details determine your toolchain, which hardware your checkpoint runs on, and how much quality you lose.

维度OCP MXFP4(开放标准)NVFP4(NVIDIA 方案)
DimensionOCP MXFP4 (open standard)NVFP4 (NVIDIA's variant)
块大小32 个值16 个值(更细粒度)
缩放因子E8M0(纯指数,2 的幂)FP8 E4M3(带尾数,更精细)
每值开销+0.25 bit+0.5 bit(缩放开销 2 倍)
硬件支持NVIDIA Blackwell + AMD MI355X仅 NVIDIA Blackwell
精度倾向配 MR-GPTQ 校准后接近 FP8一般更准,尤其复杂推理任务
选它的理由跨平台可移植(N/A 卡混用时唯一选择)纯 N 卡部署的默认选择,官方预量化 checkpoint 多
Block size32 values16 values (finer granularity)
Scale factorE8M0 (pure exponent, powers of 2)FP8 E4M3 (with mantissa, finer)
Overhead per value+0.25 bits+0.5 bits (2× scale overhead)
HardwareNVIDIA Blackwell + AMD MI355XNVIDIA Blackwell only
Accuracy tendencyClose to FP8 with MR-GPTQ calibrationGenerally more accurate, esp. complex reasoning
Why pick itCross-platform portability (the only option in mixed NVIDIA/AMD fleets)Default for NVIDIA-only deployments; many official pre-quantized checkpoints

直觉解释:NVFP4 的块更小(16 vs 32),意味着每个缩放因子只需迁就 16 个数的分布,离群值「祸害面」减半;缩放因子带尾数也让映射更贴合。代价是缩放存储开销翻倍。据 Spheron 的对比指南,在同等校准质量下 NVFP4 一般精度更好;但 MXFP4 配上 MR-GPTQ(ICLR 2026 提出的校准方法,量化前先做分块 Hadamard 旋转,把离群值「摊平」到块内所有通道)后,差距大部分被抹平。

Intuition: NVFP4's smaller blocks (16 vs 32) mean each scale only has to accommodate 16 values, halving an outlier's blast radius; a mantissa-bearing scale also fits distributions more tightly. The cost is double the scale-storage overhead. Per Spheron's comparison guide, NVFP4 is generally more accurate at equal calibration quality — but MXFP4 with MR-GPTQ (an ICLR 2026 calibration method that applies block-wise Hadamard rotations before quantizing, spreading outliers across all channels in a block) closes most of the gap.

⚖️吞吐上两者没有差别:在 Blackwell 上,MXFP4 与 NVFP4 走同一套 FP4 张量核心,硬件路径完全相同。选型是「精度 + 工具链 + 可移植性」的决策,不是速度决策。(来源:Spheron 决策指南)Throughput is a tie: on Blackwell, MXFP4 and NVFP4 execute through the same FP4 tensor cores — identical hardware path. Format choice is an accuracy + toolchain + portability decision, not a speed decision. (Source: Spheron decision guide)

5硬件与框架支持一览

5Hardware & Framework Support

FP4 是「硬件绑定」的技术:没有 FP4 张量核心的 GPU 享受不到加速。这是选型时最先要查的一条。

FP4 is hardware-bound: without FP4 tensor cores, a GPU gets none of the speedup. Check this first.

GPUNVFP4MXFP4说明
GPUNVFP4MXFP4Notes
NVIDIA B200 / B300Blackwell 数据中心卡,192/288 GB HBM3e
RTX 5090 / RTX PRO 6000消费/工作站级 Blackwell,32/96 GB
AMD Instinct MI355X经 ROCm 7.x MFMA 指令,288 GB HBM3e
NVIDIA H100 / H200Hopper 最高到 FP8;4-bit 只能用 AWQ/GPTQ INT4
NVIDIA A100Ampere 最高 INT8
NVIDIA B200 / B300Blackwell datacenter, 192/288 GB HBM3e
RTX 5090 / RTX PRO 6000Consumer/workstation Blackwell, 32/96 GB
AMD Instinct MI355XVia ROCm 7.x MFMA instructions, 288 GB HBM3e
NVIDIA H100 / H200Hopper tops out at FP8; use AWQ/GPTQ INT4 for 4-bit
NVIDIA A100Ampere tops out at INT8

框架侧:TensorRT-LLM(v0.17+)对两种格式全支持,数据中心追求极限吞吐首选;vLLM 全支持 MXFP4,NVFP4 支持加载预量化 checkpoint(MoE 模型需设 VLLM_USE_FLASHINFER_MOE_FP4=1);SGLang 两者全支持;量化工具用 nvidia-modelopt(两种格式的 PTQ 都支持)或更轻量的 llm-compressor(vLLM 官方配套)。注意 bitsandbytes 的 NF4 是另一种无关格式,别混淆。(来源:Spheron 框架支持表,2026-06)

On the framework side: TensorRT-LLM (v0.17+) fully supports both formats — first choice for max datacenter throughput; vLLM fully supports MXFP4 and loads pre-quantized NVFP4 checkpoints (MoE models need VLLM_USE_FLASHINFER_MOE_FP4=1); SGLang supports both; for quantizing, use nvidia-modelopt (PTQ for both formats) or the lighter llm-compressor (vLLM's companion tool). Note that bitsandbytes NF4 is an unrelated format — don't confuse them. (Source: Spheron framework support table, June 2026)

6怎么用:从零到上线的五步

6Hands-On: Five Steps from Zero to Serving

以下流程与代码整理自 Spheron 部署指南与 vLLM/llm-compressor 官方文档,适用于「拿一个开源模型,量化后用 vLLM 提供服务」的典型场景。

The workflow and code below are adapted from the Spheron deployment guide and the vLLM/llm-compressor docs, for the typical "take an open model, quantize it, serve with vLLM" scenario.

确认硬件与运行时。nvidia-smi 确认是 Blackwell 卡(计算能力 10.0);选定服务框架:极限吞吐用 TensorRT-LLM,灵活性和 HF 生态兼容用 vLLM。Confirm hardware and runtime. Check with nvidia-smi that you're on Blackwell (compute capability 10.0); pick a serving framework: TensorRT-LLM for max throughput, vLLM for flexibility and HF ecosystem compatibility.
先找官方预量化 checkpoint,能不自己量化就不自己量化。在 Hugging Face 搜 nvidia/ 命名空间下带 -NVFP4/-FP4 后缀的版本(如 nvidia/Llama-3.3-70B-Instruct-NVFP4nvidia/DeepSeek-R1-NVFP4),这些经过官方校准验证,拿来即用。Look for an official pre-quantized checkpoint first — avoid DIY if you can. Search Hugging Face's nvidia/ namespace for -NVFP4/-FP4 suffixes (e.g. nvidia/Llama-3.3-70B-Instruct-NVFP4, nvidia/DeepSeek-R1-NVFP4) — production-calibrated and ready to load.
没有现成的,再用 ModelOpt 自己量化(校准集用 512–1024 条与你业务同领域的样本):If none exists, quantize with ModelOpt yourself (use 512–1024 domain-matched calibration samples):
pip install "nvidia-modelopt[all]>=0.17"
import modelopt.torch.quantization as mtq
from transformers import AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained(
    "meta-llama/Llama-3.1-70B-Instruct", torch_dtype="auto")

# NVFP4(纯 N 卡推荐 / NVIDIA-only):
mtq.quantize(model, mtq.NVFP4_DEFAULT_CFG,
             forward_loop=calibration_dataloader)
# MXFP4 OCP(跨平台 / cross-platform):
# mtq.quantize(model, mtq.MXFP4_DEFAULT_CFG,
#              forward_loop=calibration_dataloader)

mtq.export_hf_checkpoint(model, output_dir="./quantized-nvfp4")
用 vLLM 起服务。稠密模型直接跑;MoE 模型加环境变量:Serve with vLLM. Dense models run directly; MoE models need the env var:
# 稠密 / dense:
vllm serve nvidia/Llama-3.3-70B-Instruct-NVFP4 \
  --tensor-parallel-size 1 --gpu-memory-utilization 0.90

# MoE(Llama 4 Scout、DeepSeek R1 等):
VLLM_USE_FLASHINFER_MOE_FP4=1 vllm serve \
  nvidia/Llama-4-Scout-17B-16E-Instruct-FP4 \
  --tensor-parallel-size 1 --gpu-memory-utilization 0.90
上线前评测。用 lm-evaluation-harness 跑 MMLU、GSM8K、HumanEval,与 BF16 基线对比;Spheron 指南建议 MMLU 退化超过 1.5% 就换 FP8 或用 QAT 补救,推理密集型任务应设更严阈值。Evaluate before rollout. Run MMLU, GSM8K, HumanEval via lm-evaluation-harness against your BF16 baseline; the Spheron guide suggests switching to FP8 or applying QAT if MMLU degrades more than 1.5%, with a tighter threshold for reasoning-heavy workloads.

7实战案例:谁在用原生 4 bit

7Real-World Cases: Who Ships Native 4-Bit

Kimi K3:第一个原生 MXFP4 的前沿开源旗舰

Kimi K3: The First Frontier Open Model Native in MXFP4

2026 年 7 月 27 日,Moonshot 开源 Kimi K3:MoE 架构,2.8 万亿总参数、每 token 激活 1040 亿(896 个路由专家取 16 个 + 2 个共享专家),上下文 1,048,576 token。关键在发布形态:量化感知的 MXFP4 权重 + MXFP8 激活,并在发布当天就带上了 vLLM 的生产级支持(含其 Kimi Delta Attention 混合线性注意力)。据 Northflank 与 Hugging Face 社区分析,这让「自托管一个 2.8T 旗舰」从不可想象变成一件贵但可执行的事——权重体积和显存需求都因 4-bit 大约砍到 BF16 方案的四分之一量级。

On July 27, 2026, Moonshot open-sourced Kimi K3: an MoE with 2.8 trillion total parameters, 104 billion active per token (16 of 896 routed experts plus 2 shared), and a 1,048,576-token context window. The release format is the point: quantization-aware MXFP4 weights with MXFP8 activations, with production-ready vLLM support (including its Kimi Delta Attention hybrid linear attention) on day one. Per analyses from Northflank and the Hugging Face community, this turned "self-hosting a 2.8T flagship" from unthinkable into expensive-but-doable — weight size and VRAM needs land at roughly a quarter of what BF16 would demand.

gpt-oss 与 NVIDIA 官方 checkpoint 生态

gpt-oss and NVIDIA's Official Checkpoint Ecosystem

OpenAI 2025 年发布的开源模型 gpt-oss 同样采用 MXFP4(社区分析称其显存占用较 BF16 减少过半),是 MXFP4 走向主流的早期标志。另一条线是 NVIDIA 在 Hugging Face nvidia/ 命名空间维护的预量化 NVFP4 checkpoint(Llama 3.x、DeepSeek-R1、Llama 4 Scout 等),Mistral Large 3 的 NVFP4 checkpoint 则由 llm-compressor 产出——「官方压好、直接部署」正在成为大模型分发的新常态。

OpenAI's 2025 open-weight gpt-oss models also used MXFP4 (community analyses report a memory cut of more than half vs BF16), an early landmark in MXFP4 going mainstream. The other track is NVIDIA's pre-quantized NVFP4 checkpoints on Hugging Face under nvidia/ (Llama 3.x, DeepSeek-R1, Llama 4 Scout, etc.), with Mistral Large 3's NVFP4 checkpoint produced via llm-compressor — "officially quantized, deploy as-is" is becoming the new normal for model distribution.

💡怎么理解这个趋势:模型厂商把量化从「用户下载后的自选动作」前移到「训练阶段就设计好的发布形态」。对使用者,这意味着精度损失更可控(官方做了 QAT)、部署链路更短;对行业,这是 token 价格持续下降的供给侧原因之一。How to read the trend: vendors are moving quantization from "something users do after downloading" to "a release format designed in during training." For users, that means more controlled accuracy loss (the vendor did QAT) and a shorter deployment path; for the industry, it's one supply-side driver of ever-cheaper tokens.

8常见坑与限制

8Pitfalls & Limits

⚠️复杂推理任务掉点更明显。4-bit 的量化噪声会在长推理链中逐步累积,数学、多步逻辑、代码生成受影响大于日常对话。Spheron 指南明确提醒:FP4 不是 FP8 的无条件替代品,重推理场景务必先跑自己的任务评测再上线。Complex reasoning degrades more. 4-bit quantization noise compounds through long reasoning chains; math, multi-step logic, and code generation suffer more than casual conversation. The Spheron guide is explicit: FP4 is not an unconditional FP8 substitute — benchmark your own tasks before shipping reasoning-heavy workloads.
⚠️没有 Blackwell 就没有加速。H100/H200/A100 没有 FP4 张量核心;在这些卡上想要 4-bit,应改用 AWQ/GPTQ 等 INT4 方案(只省显存,不走 FP4 硬件加速)。No Blackwell, no speedup. H100/H200/A100 lack FP4 tensor cores; on those GPUs, use INT4 schemes like AWQ/GPTQ instead (memory savings only, no FP4 hardware acceleration).
⚠️格式不能事后随意互换。NVFP4 checkpoint 不能跑在 AMD 卡上;混合 N/A 卡集群只能统一用 MXFP4。选格式要在量化之前定,而不是部署时再想。Formats aren't interchangeable after the fact. NVFP4 checkpoints won't run on AMD hardware; mixed NVIDIA/AMD fleets must standardize on MXFP4. Pick the format before quantizing, not at deploy time.
⚠️警惕「精确数字」。各来源的精度对比多为方向性结论,具体困惑度/跑分因模型、校准集、任务而异。Spheron 自己也声明「不要依赖任何来源(包括本文)的具体数字做生产决策」——请以自测为准。本文同样遵循这一原则,方向性结论均已注明来源。Beware "exact numbers." Published accuracy comparisons are mostly directional; concrete perplexity/benchmark figures vary by model, calibration set, and task. Spheron itself warns against relying on specific figures from any source (including its own post) for production decisions — trust your own evals. This document follows the same principle; directional claims are attributed to their sources.
⚠️校准质量决定成败。PTQ 的校准集要与业务领域匹配(512–1024 条);MXFP4 想追平 NVFP4 需要 MR-GPTQ 这类旋转校准。随手用默认校准集量化,是社区反馈中掉点的最常见原因之一。Calibration quality makes or breaks it. PTQ calibration sets should match your domain (512–1024 samples); MXFP4 needs rotation-based calibration like MR-GPTQ to rival NVFP4. Quantizing with a throwaway default calibration set is among the most common causes of quality loss reported by the community.

9学习资源清单

9Learning Resources