atlas

Research map / Architectures and efficiency / Quantization

µnit Scaling: Simple and Scalable FP8 LLM Training

ICML 2025 · Architectures and efficiency › Quantization · approach: Ultra-low-bit LLM quantization

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes µnit Scaling (µS), a static-scaled FP8 LLM training recipe combining Unit Scaling and µP with Res-Post-LayerNorm and fixed residuals, enabling zero-shot LR/weight-decay transfer and all-hidden-layer FP8 training up to 13B.

Problem

FP8 LLM training is hard due to limited range and resolution; existing methods need dynamic scale factors, many extra hyperparameters, or keep some matmuls in BF16, and hyperparameter transfer is unreliable in low precision.

Approach

Combine Unit Scaling and µP into a simplified scheme: unit-variance init, static 1/sqrt(fan_in) GEMM scaling, Res-Post-LayerNorm placement, fixed-τ variance-preserving residuals, and LR scaling of hidden layers by sqrt(d_base/d_new), so all hidden linear layers run in FP8 without dynamic scaling.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train with µS instead of SP in FP81B–13B LLMs · Final train losscross-entropy loss: 2.588 vs 2.590; 2.400 vs 2.390; 2.231 vs 2.226; 2.211 vs 2.119Helped
Train with µS FP8 instead of SP FP813B LLM · 13B ARC Easy (3-shot)accuracy: 35.7% -> 69.7%Helped
Train with µS FP8 instead of SP BF1613B LLM · 13B GSM8K (0-shot)accuracy: 8.7% -> 10.9%Helped
Use µS static scaling and fused operators instead of BF16 training1B, 3B, 7B, and 13B LLMs · Distributed trainingthroughput: 25-33% higher throughputHelped
Use µS static scaling and fused operators instead of TransformerEngine FP81B, 3B, 7B, and 13B LLMs · Distributed trainingthroughput: 1-6% fasterHelped
Use fixed residual modification instead of standard residual summation (ablation)µS deep transformers · Training convergencetraining lossHelped
Use fixed residual modification instead of running-mean residual modification (ablation)µS deep transformers · Training convergencetraining lossHelped
Move LayerNorm from the start to the end of each residual branch (ablation)µS 100-layer transformers · Training convergencetraining lossHelped
Use Res-Post-LayerNorm instead of Pre-LayerNorm (ablation)100-layer transformer · Training convergencetraining lossNo clear effect
Apply square root to softmax attention scores (ablation)Self-attention · Training attention output variance over sequence positionoutput variance consistencyMixed
Use µS instead of Unit Scaling (ablation)7B FP8 LLM · Training convergencetraining lossHelped
Use ReLU instead of GELU or SiLU (ablation)4-layer FP8 model · Activation underflowmaximum FP8 underflow: GELU: up to 30%; SiLU: up to 7%; ReLU: 0.04%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Databricks pretraining corpus (not specified)

Benchmarks: Databricks Model Gauntlet ARC Easy ARC Challenge HellaSwag WinoGrande SQuAD TriviaQA GSM8K LAMBADA PIQA

Metrics: final training cross-entropy loss accuracy training throughput (TFLOPS/tokens per second)

Baselines: Standard parametrization BF16 Standard parametrization FP8 (TransformerEngine) µP u-µP Unit Scaling

Builds on: Unit Scaling µP u-µP TransformerEngine Lion

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy