M5 · 12 h · skeleton
Low precision
Four-bit formats are not a free memory win. Outliers and the wrong scale axis show up as texture, not as a NaN.
- Prerequisite
- Modules 1 and 2.
- VRAM
- Drops versus BF16, which is the point. Still budget the master copy if you calibrate.
- Runtime
- Calibration can exceed the timed run. Do not hide it.
What you must be able to show
- 01
Quantise one GEMM, keep the residual add and the softmax in a wider type, and show a case where doing it backwards destroys the update.
- 02
Report a quality delta against BF16 on a fixed prompt and seed, and name the scale axis.
- 03
Name the device capability the kernel ran on. A silent fallback to BF16 is not a low-precision result.
Insights
- A few outlier channels set a per-tensor scale. Everyone else then rounds toward zero. The picture goes flat before you ever see a NaN. Look at a histogram before you pick the scale.
- Store narrow, accumulate wide. Casting the residual add is how a small update disappears inside the quantum of the activation.
- NVFP4 in the Sol-H3 two-stage README is a different pipeline and a different timing boundary from the BF16 4.52× table. Do not put them in one bar.
Quantise the tensor you store. Accumulate the math wider. The failure mode to provoke: a residual a hundred times smaller than the activation, cast to the storage type before the add, vanishes. The block then ignores the update and the picture goes mushy without a NaN to alert you.
Per-tensor scale is a hypothesis. Eight outlier channels set the quantum; the bulk rounds to nothing. Mask padding before you take amax. A batch that is half zeros will lie about the scale. Histogram, then scale, then a single GEMM against FP32, then a video. Do not start at the video.
- Acceptance: same seed, BF16 versus the narrow format, a numeric quality delta, calibration set named.
- Acceptance: an explicit check of device capability. A silent else that runs BF16 must not be labelled FP8 or NVFP4.
- Acceptance: the narrow run is its own row. It is not folded into a BF16 ablation you are comparing with someone else’s table.
- Read the MiniMax-H3 community licence before any weight download. This module does not assume the weights are yours to use.
Wrong conclusion. ‘The Sol-H3 README uses NVFP4 and finishes in about 40 seconds, so the 4.52× BF16 pipeline is the same speed.’ Those are different recipes and different timing boundaries. Cite them separately or not at all.