# Distributed LLM Training Across Metros: Streaming DiLoCo in MaxText

DevFeed: [Distributed LLM Training Across Metros: Streaming DiLoCo in MaxText](<https://devfeed.tech/articles/distributed-llm-training-across-metros-streaming-diloco-in-maxtext-144220.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/distributed-llm-training-across-metros-streaming-diloco-in-maxtext/>)

Author: Mohit Khatwani; Chris Zuo; Nova Fallen; Zachary Garrett; Zachary Charles; Alex Shraer; Deepak Patil; Andi Gavrilescu

Published: 2026-11-19T19:49:56.121412Z

Content type: article

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [distributed-training](<https://devfeed.tech/topics/distributed-training.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [distributed algorithm](<https://devfeed.tech/topics/distributed-algorithm.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [communication](<https://devfeed.tech/tags/communication.md>), [convergence](<https://devfeed.tech/tags/convergence.md>), [datacenter](<https://devfeed.tech/tags/datacenter.md>), [diloco](<https://devfeed.tech/tags/diloco.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [fragments](<https://devfeed.tech/tags/fragments.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-training](<https://devfeed.tech/tags/llm-training.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [network](<https://devfeed.tech/tags/network.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [quality](<https://devfeed.tech/tags/quality.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [slice](<https://devfeed.tech/tags/slice.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

Streaming DiLoCo in MaxText spreads parameter updates across time to avoid the periodic network stalls of vanilla DiLoCo when training across TPU slices over constrained links. Learners train independently for H steps; instead of transferring the full model delta at once, the method partitions parameters into P fragments and synchronizes one fragment at a time, while CPU syncer workers run distributed all-reduces in the background. The excerpt reports that Qwen3-32B with P=H=65 held 5.76 seconds per step under tested bandwidth regimes, and that evaluations on two MoE models over 4,000 steps preserved or slightly improved validation loss versus synchronous data parallel training. MaxText supports both variants without an external parameter server. The suggested setup is to set P and H to the number of model layers plus one, enabling both DiLoCo flags; the excerpt also gives example optimizer and multi-slice settings. These are reported results and guidance from the supplied excerpt, not evidence of performance across all models or network conditions.

## Source excerpt

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 60x and eliminates network stalls, allowing seamless multi-datacenter scaling without degrading model convergence or quality.