Skip to content
ViqusViqus
Navigate
Company
Blog
About Us
Contact
System Status
Enter Viqus Hub

Google Adds Four Context-Parallelism Strategies to MaxText for 14M-Token Training

Context Parallelism Ring Attention MaxText Cloud TPU Long-Context Training Model FLOPs Utilization JAX
November 28, 2026
Source: InfoQ AI

This summary and analysis were generated by AI from the original article at InfoQ AI and may contain errors (how Viqus works). Read the source for full details.

Viqus Verdict Logo Viqus Verdict Logo 4
Solid Plumbing, Niche Audience
Media Hype 3/10
Real Impact 4/10

Article Summary

Google has added four context-parallelism strategies to MaxText, its open-source JAX training framework, to tackle the memory and communication bottlenecks of long-context training. The strategies are All-Gather, All-to-All (Ulysses), P2P (Ring Attention), and A2A + P2P (USP). They distribute sequences across chips and stream keys and values between them instead of materializing full sequences on every chip. Using Llama 3.1 8B on Cloud TPUs, Google reports about 70% Model FLOPs Utilization up to 4 million tokens on TPU 5p, context lengths up to 14 million tokens on TPU 5p and TPU 7, and roughly 50% MFU below 6 million tokens. P2P reached 48.7% MFU on TPU 7 versus 37.1% on TPU 5p. Google says Ring Attention is the main workhorse for very long contexts, while All-Gather remains the baseline where KV fits. Future work includes sliding-window, linear attention such as Gated Delta Net and Kimi Delta Attention, Tokamax kernel optimization, and model- and context-specific recipes. MaxText 0.2.4 is available via PyPI, DockerHub, and GitHub.

Key Points

  • Google added four context-parallelism strategies to MaxText, enabling Llama 3.1 8B training at context lengths up to 14 million tokens on Cloud TPUs.
  • Reported results include about 70% MFU up to 4 million tokens on TPU 5p, and P2P Ring Attention reaching 48.7% MFU on TPU 7 versus 37.1% on TPU 5p.
  • Google positions P2P Ring Attention as the primary strategy for very long-context training, with All-Gather as the baseline when KV fits in memory.

Why It Matters

This is a useful engineering update for teams training on Google TPUs, addressing real bottlenecks in attention memory and communication at multi-million-token lengths. However, it is an incremental optimization within an existing open-source framework, benchmarked on a single small model (Llama 3.1 8B), and it does not change the industry's competitive landscape. Its main audience is ML infrastructure engineers, so the broader significance is modest.


You might also be interested in