AI Cloud Architect

Reproducing Olmo 3 7B Pre-training in MaxText: case study of large scale training on TPUs

GoogleHow-to by Gagik Amirkhanyan, Ran Ran, Aireen Mei, Matt Davidow, TPU Inference Software Engineering Team, Google Cloud and Ai2 TeamGoogle Developers Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Google's MaxText team reproduced Ai2's Olmo 3 7B pre-training and mid-training on TPUs and reports held-out metrics matching the reference, with a data-loader bug found along the way.

Who it is for

ML engineers and architects planning large multi-week model training runs on TPUs who need resumable, reproducible pipelines.

Key points

  • Stage-1 reaches about 44.5% MFU on Ironwood; stage-2 reaches 57.4% MFU on v5p, per the authors.
  • Reshaping attention from 32x128 to 16x256 heads gave +12.4% throughput at identical params and FLOPs, per the authors.
  • Stage 3 long-context and post-training are not yet run.