Model FLOPs utilization (MFU)
Model FLOPs utilization is the share of a system's theoretical peak arithmetic throughput that a training run actually turns into the calculations the model needs.
Every AI chip has a peak speed: the number of floating-point operations per second it could perform if every arithmetic unit were busy all the time. Real training runs never reach it. Model FLOPs utilization, or MFU, measures how close they get. Google researchers proposed the metric in the PaLM paper in April 2022, defining it as observed throughput in tokens per second divided by the theoretical maximum throughput of the system running at peak FLOPs.
The detail that matters is what counts as useful work. The theoretical maximum only includes the operations needed for the model's forward and backward passes. Training systems often do extra work, such as rematerialisation, where intermediate results are thrown away to save memory and recomputed later. A measure that counted every operation the hardware performed would reward that extra work. MFU does not, so the PaLM authors argued it allows fair comparison between runs on different systems. They reported the broader figure separately as hardware FLOPs utilization.
The PaLM paper gave a table that is still widely cited. GPT-3 reached 21.3 per cent MFU on NVIDIA V100 GPUs, DeepMind's Gopher 32.5 per cent on 4,096 TPU v3 chips, and Megatron-Turing NLG 530B 30.2 per cent on 2,240 A100 GPUs. PaLM 540B itself reached 46.2 per cent on 6,144 TPU v4 chips, with hardware FLOPs utilization of 57.8 per cent. In July 2024 Meta reported 38 to 43 per cent MFU in BF16 for training Llama 3 405B on 8,192 to 16,384 H100 GPUs.
The gap between MFU and 100 per cent is time spent on something other than useful arithmetic: waiting for data from memory, waiting for chips to exchange results over the network, and idle stretches built into how the work is split. Scale makes this harder. Meta's Llama 3 paper attributes its drop from 43 to 41 per cent, when doubling from 8,192 to 16,384 GPUs, to a smaller batch size in each data-parallel group.
MFU translates directly into money. A run at 40 per cent MFU on 16,000 chips does the useful work that about 6,400 chips would do at full speed, so each percentage point recovered is worth a lot of hardware. When comparing published figures, check which peak was used as the denominator: vendors often quote peak throughput with sparsity, a figure that dense training cannot use.
MFU, or model FLOPs utilization, is the ratio of the useful arithmetic a training run achieves to the hardware's theoretical peak. It is calculated from observed tokens per second, the operations each token requires, and the chips' published peak FLOPS. Google introduced it in the 2022 PaLM paper. Published large-scale runs typically sit between about 20 and 50 per cent. PaLM 540B reported 46.2 per cent in 2022, and Meta reported 38 to 43 per cent for Llama 3 405B in 2024. Figures depend on model size, cluster size, sequence length and which peak FLOPS figure is used. Model FLOPs utilization counts only the operations the model mathematically requires. Hardware FLOPs utilization also counts extra operations the system performs, such as recomputing activations to save memory. HFU is therefore higher; for PaLM 540B it was 57.8 per cent against an MFU of 46.2 per cent. More chips mean more communication between them and smaller slices of work per chip, so a larger share of time is spent waiting. Meta saw MFU fall from 43 to 41 per cent when it doubled Llama 3 training from 8,192 to 16,384 GPUs, and attributed the drop to a smaller batch per data-parallel group.Common questions
What is MFU in AI training?
What is a good MFU?
What is the difference between MFU and HFU?
Why does MFU fall as clusters get bigger?
Search for "model FLOPs utilization", "MFU vs HFU" or a model name plus "MFU" to find efficiency figures. Model technical reports and papers on arXiv are the primary sources, since they state the hardware, cluster size and how the number was calculated. Treat MFU figures in marketing material with care unless the peak FLOPS figure behind them is stated.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.