AI Cloud Architect

Distributed LLM Training Across Metros: Streaming DiLoCo in MaxText

GoogleBlog post by Mohit Khatwani, Chris Zuo, Nova Fallen, Zachary Garrett, Zachary Charles, Alex Shraer, Deepak Patil and Andi GavrilescuGoogle Developers Blog

Streaming DiLoCo in MaxText enables developers to efficiently train large language models across geographically distributed TPU slices by streaming parameter fragments instead of synchronizing full models at every step. This approach slashes cross-slice communication volume by over 60× and eliminates network stalls, allowing seamless multi-datacenter scaling without degrading model convergence or quality.

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

AI: Summary

What it is

Streaming DiLoCo in MaxText syncs one model fragment per step across TPU slices, so cross-datacenter training avoids periodic full-model transfers.

Who it is for

Teams training large LLMs across multiple TPU slices or datacenters over WAN links with limited bandwidth.

Key points

  • Google reports about 65x less cross-slice traffic than Data Parallel for Qwen3-32B (ca. 65.5 GB vs 1.0 GB per step).
  • Benchmarks at 10 Gbit/s show 9.57x step-time speedup over Data Parallel; Google says convergence is preserved on dense and MoE models.
  • Available in MaxText v0.2.5 on PyPI, Docker images and GitHub main; config uses enable_diloco and enable_streaming_diloco.

Timeline

Posts about MaxText, oldest first.

  1. New featureMaxText Expands Post-Training Capabilities: Introducing SFT and RL on Single-Host TPUs · Google · Announcement
  2. What it explainsDecoupled DiLoCo: A new frontier for resilient, distributed AI training · Google · Research
  3. This postDistributed LLM Training Across Metros: Streaming DiLoCo in MaxText

Go deeper