Home›Gemini / Gemma›MaxTextでOLMo 3 7Bの事前学習を再現:TPUを用いた大規模学習のケーススタディ
Reproducing OLMo 3 7B Pre-training in MaxText: case study of large scale training on TPUs

MaxTextでOLMo 3 7Bの事前学習を再現:TPUを用いた大規模学習のケーススタディReproducing Olmo 3 7B Pre-training in MaxText: case study of large scale training on TPUs

元記事を読むRead original articledevelopers.googleblog.com(新しいタブで開きます)(opens in a new tab)
AI2 点サマリSummary highlight
  • MaxTextはJAX/XLAとGoogle Cloud TPUでOLMo 3 7Bをゼロから再現し、全ホールドアウト評価でGPU版と同等の結果と最大57.4%のMFUを達成した。
  • 検証でデータローダーの暗記を招く不具合も発見し、大規模学習の移植性と信頼性向上に役立つ。

MaxText rebuilt OLMo 3 7B with JAX/XLA on Google Cloud TPUs, equaled the GPU baseline in held-out tests, and hit 57.4% MFU, aiding portable, dependable large-scale training.

本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (developers.googleblog.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (developers.googleblog.com).

要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.

OLMo 3 7B

MaxTextチームは、JAX/XLAとGoogle Cloud TPUを用いて、AI2の言語モデルOLMo 3 7Bをゼロから再現した。大規模学習を異なる基盤へ移しても基準と同等の結果を得られることに加え、評価方法が結果の信頼性を左右することを示したケーススタディだ。

全ホールドアウト評価

再現対象は、PyTorchとGPUを用いたオリジナル版である。MaxTextによる実装は、事前学習と中間学習の両段階において、すべてのホールドアウト評価でオリジナルの結果と一致した。訓練損失だけではなく、学習から切り分けた評価を通じて比較した点が重要となる。

最大57.4% MFU

Google Cloud TPU上での実装は、Model Flops Utilization(MFU)で最大57.4%を達成した。また、学習途中でクラスタのサイズが変更され、世代の異なるTPUへ移行した場合にも処理を継続できた。こうした変更に際して、学習レシピを修正する必要はなかったとされ、基盤の移植性も確認された。

不具合の検出

包括的なホールドアウト検証では、データローダーに潜んでいた暗記を招く不具合も見つかった。この不具合は表面化しにくく、訓練損失を人為的に低下させるものだった。ホールドアウト評価がなければ、実際には不具合による低下を性能向上として扱い、誤った成功結果を示す可能性があった。今回の再現は、学習基盤の性能だけでなく、独立した評価によって結果を確かめる必要性も明らかにしている。

Reproducing OLMo 3 7B

The MaxText team reproduced AI2’s OLMo 3 7B language model from scratch on Google Cloud TPUs using JAX/XLA. The case study matters because it tested whether large-scale training could match the original PyTorch-on-GPU reference while remaining portable and dependable across infrastructure changes.

The reproduction covered both pre-training and mid-training. Rather than relying only on training loss, the team compared the implementations through held-out evaluations.

Matching the GPU reference

Across all held-out evaluations, the MaxText implementation precisely matched the original PyTorch-on-GPU reference during the pre-training and mid-training stages. This established that the JAX/XLA and TPU implementation reproduced the reference results rather than merely reporting a lower training loss.

The implementation also achieved up to 57.4% Model Flops Utilization. That result accompanied the held-out evaluation match, providing both a training-efficiency measurement and an evaluation-based comparison with the GPU reference.

Infrastructure portability

The training run demonstrated robust infrastructure portability. It survived cluster resizes in the middle of the run and shifts between TPU generations without requiring alterations to the training recipe.

These events tested the implementation under changing infrastructure conditions while preserving the same recipe. The successful continuation across mid-run resizing and cross-generation TPU shifts was part of the case study’s evidence for portable large-scale training.

Comprehensive held-out validation

Held-out validation also exposed a silent data-loader memorization bug. The bug artificially depressed training loss, creating what would otherwise have appeared to be a performance win.

Because the issue was silent and made the loss look better, training loss alone would not have revealed that the result was misleading. Comprehensive held-out evaluations caught the memorization problem and prevented the lower loss from being treated as a genuine improvement. The exercise therefore demonstrated that reproducing large-scale training requires validation beyond the training metric itself.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPoko最大57.4%のMFUで、GPU版と全評価が同等だったんだね。これって大きいこと?It reached up to 57.4% MFU and matched the GPU version across every held-out evaluation. Is that a big deal?
  2. TECHガイドTECH Guide意味のある成果じゃ。本文では、事前学習と中間学習の両段階でGPU版をTPU上に再現できたとしておる。It is meaningful. The report says the TPU implementation reproduced the GPU reference across both pre-training and mid-training.
  3. ポコPokoそもそもMFUって何? 57.4%って、つまりどういうこと?What is MFU, anyway? What does 57.4% actually mean?
  4. TECHガイドTECH GuideMFUは、理論上の計算性能をモデル学習にどれだけ使えたかの目安じゃ。今回の報告での57.4%は最大値じゃよ。MFU gauges how much of the theoretical computing capacity is used for model training. In this case, 57.4% was the peak figure.
  5. ポコPoko僕なら、学習途中でクラスタ規模やTPU世代を変える必要が出ても、同じ学習設定で続けたいな。I’d want to keep the same training setup even if I had to resize the cluster or switch TPU generations mid-run.
  6. TECHガイドTECH Guideこの事例では設定変更なしで乗り切れたのう。ただしデータローダーの暗記バグも見つかったから、未使用データでの検証は欠かせんぞ。This case handled those changes without altering the recipe. But it also exposed a data-loader memorization bug, so validation on held-out data remains essential.
記事情報・収集記録Article details & collection record
出典Source
Google Developers Blog公式Official
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
ブログBlog
原文言語Source language
EN
重要度の位置づけImportance in this lane
MediumMedium priority(Gemini / Gemma 152件中、同等以上 146件)(146 of 152 Gemini / Gemma entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
2.1 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
短命 (ニュース)Short-lived (news)

✨Gemini / Gemma の他の記事More from Gemini / Gemmaもっと見る →View more →

ページ上部へScroll to top