The Fidelity Objective You Should Be Optimizing Is KL Divergence
Three failure classes your harness is currently blaming on model weights are actually engine bugs, kernel races and hardware nondeterminism — which makes cluster topology an experimental variable.
Joshua Hill, a Baseten research intern, formalized the layer-selection problem using Fourier Analysis on Groups. The paper reportedly ran 72 pages before being cut to 45, which is a reasonable signal that the cancellation effect resists any one-line heuristic. The part that transfers is the scoring function. Measure KL divergence between the quantized model's logit distribution and the full-precision model's on a held-out prompt distribution matched to production traffic, and the result is a per-token, low-variance signal. Benchmark deltas are coarse and noisy by comparison: thousands of samples to detect a regression that a divergence measure surfaces in hundreds.
Quantization is also the only lossy step in the standard speedup stack, per Latent.Space's account. BF16 to FP8 to NVFP4 is roughly 2x combined. A speculator adds about 2x and is lossless. Prefill/decode disaggregation adds about 2x and is lossless. Baseline unoptimized 1-trillion-parameter serving runs 30-50 tok/s, and the honest reported outcome after stacking is 4-6x, not the aspirational 10x. The thing the 4-6x figure doesn't tell you is where the fidelity risk sits. Speculation and disaggregation carry no fidelity-eval burden, so the entire quality-validation budget can go to the quantization step alone. Most serving roadmaps do not draw that decision boundary.
Three failure modes eval harnesses routinely mislabel
- Repetition and mode collapse are software bugs, not weight failures. Models repeat the same token even at temperature 0.9, traced to deterministic inference-engine issues, with SGLang implicated and sometimes fixed by upstreaming TensorRT-LLM image changes. Tuning a repetition penalty here treats a kernel bug with a sampling parameter.
- Identical weights diverge across clusters. A kernel race condition, a missing barrier for example, stays latent until node-to-node KV cache transfer runs over a slower interconnect on one cluster than another. Same weights and config, different outputs. Any model A/B that spans clusters is confounded.
- Temperature 0 is not deterministic. Hardware nondeterminism means greedy decoding does not reproduce exactly, so every exact-match golden-output regression test will flake.
The operational consequence is a run-metadata change. GPU SKU, engine build and interconnect topology belong alongside seed and model version in every eval record. Quantify cross-cluster variance as an explicit noise floor before claiming significance on any model delta.
Quantization scope is a search problem with a measurable objective, not a safety dial you turn down when you are nervous.
Two adjacent wins with real leverage
Speculative decoding is now release-packaged rather than a research trick. DeepSeek's V4 Flash ships it as an attached production module, per TLDR AI. Before training anything, check whether the model ships a native MTP head for self-speculation. EAGLE is the sensible default otherwise, and acceptance rate is traffic-dependent, so a draft trained on the local request distribution beats a generic one. Second, KV-cache hit rate deserves to be an SLO. Mooncake, the Tsinghua MADSys architecture credited with raising Kimi K3's cache hit rates, is open, and most inference gateways still do not dashboard cache hit rate at all. That is why the cheapest available prefill saving usually goes unclaimed.
Caveat worth stating in the design doc: this is a single detailed primary account with no independent replication, and no ablation table has been published for the layer-selection method. The scoring change is safe to adopt whether or not the specific 20% figure reproduces on a given checkpoint.
What to do
Re-run your quantization layer-selection sweep this sprint with an inverted prior — test configs that quantize more layers — scored on KL divergence against full-precision logits rather than benchmark accuracy, excluding modulation and out-projection layers for image models.
Add engine build, GPU SKU and cluster interconnect topology as required logged fields in every eval run record before your next model comparison, and measure cross-cluster output variance as a stated noise floor.
Instrument a repetition guard in the serving layer this sprint that cuts generation when a non-special token repeats four or more times, and log the offending token IDs instead of tuning sampling penalties.