Sunday, 29 November 2026, story 2 of 5
Google adds four context-parallelism modes to MaxText for TPUs
Google says its open-source JAX framework now trains at up to 14 million tokens on Cloud TPUs. The reported results come from Llama 3.1 8b.

What happened
Google has added four context-parallelism strategies to MaxText, its open-source JAX training framework, InfoQ reports. Google says they allow training at context lengths of up to 14 million tokens on Cloud TPUs. The strategies are All-Gather, All-to-All (Ulysses), P2P (Ring Attention) and A2A + P2P (USP). They differ in HBM requirements, communication overlap and scaling beyond the number of KV heads.
Google's figures come from Llama 3.1 8b. It reports 70% Model FLOPs Utilization up to 4 million tokens on TPU 5p, and about 50% below 6 million tokens. P2P reached 48.7% MFU on TPU 7 against 37.1% on TPU 5p. MaxText 0.2.4 is on PyPi, DockerHub and GitHub.
What it means
Google's own guidance gives teams a starting point: P2P (Ring Attention) for very long contexts, All-Gather as the baseline where the KV fits. Anyone training on TPUs at long sequence lengths can likely test these modes without writing their own sharding, since the release is already installable.
The limits matter. The published numbers are Google's, from one model, Llama 3.1 8b. The source does not say how many chips were used or whether larger models would hold these utilization rates. Architectures that mix sliding-window and global attention, or use linear attention such as Gated Delta Net and Kimi Delta Attention, are listed as future work, so they are not covered yet. The same goes for a faster P2P backward pass and the promised recipes by model and context length. Until those arrive, picking among the four strategies appears to be left to the user.
What to do: If you train long-context models on TPUs, try P2P for the longest sequences and All-Gather elsewhere, and benchmark on your own model before trusting Google's 8b numbers.
Source
Filed under Open source. Published .
"What it means" is analysis, not reporting. Found an error? Write to daily@vibitely.com.