In this article
Stochastic rounding needs consistent decisions for replicated parameters, and its largest throughput gain is against the paper specific O1 baseline.
Preserve small updates without a master copy
Stochastic Rounding for LLM Training: Theory and Practice studies BF16 training with stochastic rounding at the parameter-update step. A small update can disappear when the nearest representable BF16 value remains the old weight. Stochastic rounding instead selects neighboring representable values probabilistically, preserving the update in expectation under the rounding rule.
That expectation does not make each individual step equal to a higher-precision step. The method introduces randomness and changes optimization dynamics. Its practical proposal also changes persistent storage: model parameters, optimizer state and communicated gradients use BF16 without a persistent FP32 master-weight copy. The AdamW explanation helps identify where this rounding acts after the adaptive update and decay.
Replicas must agree on the rounding decision
The full paper’s algorithm uses a designated optimizer random state shared across ranks for the update, then restores each rank’s original random state. Otherwise, identical reduced gradients can produce different rounded versions of a replicated parameter. The replicas then drift, invalidating the assumption that subsequent gradients concern matching models.
This requirement applies where parameter copies represent the same logical value. Tensor-parallel shards and replicated normalization or embedding components require the actual parameter layout to be considered; “give every process a seed” is not a complete synchronization contract.
The implementation temporarily casts update calculations to FP32 and adds random mantissa noise before downcasting. GPT-Neo cross-entropy also remains FP32 in the tested package. Consequently, removing persistent master weights should not be described as eliminating every FP32 operation or temporary allocation. The mixed-precision guide explains why storage precision and arithmetic paths need separate labels.
The headline depends on which mixed precision is compared
For GPT-Neo 6.7B, the main table reports 43 sequences per second with BF16 plus stochastic rounding against 28 for O1 mixed precision, a reported 1.54× gain. Its separate O2 comparison reports 32 against 31 sequences per second. These are different execution comparisons; combining the largest ratio with an unspecified modern mixed-precision baseline would mislead.
The paper’s O1 route uses native autocast with FP32 model weights, while O2 maintains a higher-precision master copy and a more extensively BF16 compute path. The stated experimental setup uses neither ZeRO optimizer sharding nor fused AdamW. Gains against that setup do not establish the same improvement against every optimized training stack.
Quality and hardware conditions complete the result
Learning rates are individually tuned for each strategy. Better validation perplexity therefore evaluates a tuned training recipe rather than isolating rounding under an identical learning-rate schedule. Memory results are reported per node, not per GPU.
Experiments use nodes with 8 A100-40GB GPUs. GPT-Neo 6.7B training uses 8 nodes and tensor parallelism of 8; the paper’s memory and throughput observations are not a consumer-card feasibility test. A local adaptation must budget activations, communication and temporary buffers as well as persistent parameters.
A meaningful reproduction would preserve optimizer random state with restart information, verify replicated weights after updates and compare equally tuned quality targets. Those are proposed checks, not additional results from this article. The study supports a specific numerical and distributed-training method without proving a universal memory or convergence guarantee.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.