Saved in:
Bibliographic Details
Main Authors: Narayan, Saaketh, Gupta, Abhay, Paul, Mansheej, Blalock, Davis
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.05967
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915326318346240
author Narayan, Saaketh
Gupta, Abhay
Paul, Mansheej
Blalock, Davis
author_facet Narayan, Saaketh
Gupta, Abhay
Paul, Mansheej
Blalock, Davis
contents Large Language Model training with 8-bit floating point (FP8) formats promises significant efficiency improvements, but reduced numerical precision makes training challenging. It is currently possible to train in FP8 only if one is willing to tune various hyperparameters, reduce model scale, or accept the overhead of computing dynamic scale factors. We demonstrate simple, scalable FP8 training that requires no dynamic scaling factors or special hyperparameters, even at large model sizes. Our method, $μ$nit Scaling ($μ$S), also enables simple hyperparameter transfer across model widths, matched numerics across training and inference, and other desirable properties. $μ$nit Scaling is straightforward to implement, consisting of a set of minimal interventions based on a first-principles analysis of common transformer operations. We validate our method by training models from 1B to 13B parameters, performing all hidden linear layer computations in FP8. We achieve quality equal to higher precision baselines while also training up to 33% faster.
format Preprint
id arxiv_https___arxiv_org_abs_2502_05967
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle $μ$nit Scaling: Simple and Scalable FP8 LLM Training
Narayan, Saaketh
Gupta, Abhay
Paul, Mansheej
Blalock, Davis
Machine Learning
Large Language Model training with 8-bit floating point (FP8) formats promises significant efficiency improvements, but reduced numerical precision makes training challenging. It is currently possible to train in FP8 only if one is willing to tune various hyperparameters, reduce model scale, or accept the overhead of computing dynamic scale factors. We demonstrate simple, scalable FP8 training that requires no dynamic scaling factors or special hyperparameters, even at large model sizes. Our method, $μ$nit Scaling ($μ$S), also enables simple hyperparameter transfer across model widths, matched numerics across training and inference, and other desirable properties. $μ$nit Scaling is straightforward to implement, consisting of a set of minimal interventions based on a first-principles analysis of common transformer operations. We validate our method by training models from 1B to 13B parameters, performing all hidden linear layer computations in FP8. We achieve quality equal to higher precision baselines while also training up to 33% faster.
title $μ$nit Scaling: Simple and Scalable FP8 LLM Training
topic Machine Learning
url https://arxiv.org/abs/2502.05967