Google Updates MaxText Framework to Support Long-Context LLM Training
Google has upgraded its open-source MaxText framework with four new context-parallelism strategies, enabling developers to train large language models on context windows up to 14 million tokens using Cloud TPUs.
🤖AI ModelsPhoto: infoq.com
Key points
- Google integrated four context-parallelism strategies into its open-source MaxText JAX framework.
- The updates allow LLM training with context lengths reaching up to 14 million tokens on Cloud TPUs.
- Benchmarks with Llama 3.1 8b showed up to 70% Model FLOPs Utilization for sequences up to 4 million tokens.
Google has updated its open-source MaxText training framework, integrating four new context-parallelism strategies designed to tackle the computing, memory, and communication hurdles of long-context training. Built on JAX, the updated framework aims to support large language model training with sequence lengths stretching up to 14 million tokens on Cloud TPUs.
According to Google engineers, context windows have expanded dramatically over the past three years from around 200,000 tokens to millions, with models targeting 10-million-token lengths now emerging. Training at this scale exposes severe system limitations, driven by the quadratic growth of attention alongside the linear growth of activation and key-value caches. To mitigate these bottlenecks, the platform distributes sequences across multiple hardware chips and streams keys and values between them instead of materializing the entire sequence locally.
The newly introduced context-parallelism approaches comprise All-Gather, All-to-All (Ulysses), P2P (Ring Attention), and a combined A2A plus P2P (USP) strategy. Google noted that P2P serves as the primary engine for ultra-long-context tasks, while All-Gather acts as the standard baseline when key-value data fits within memory. Utilizing these tools with Llama 3.1 8b on Cloud TPU infrastructure, the company achieved up to 70 percent Model FLOPs Utilization for sequences reaching 4 million tokens, and supported lengths up to 14 million tokens across TPU 5p and TPU 7 hardware.
Looking ahead, Google plans to expand support for alternative model architectures—such as those utilizing sliding-window, global attention, and linear attention mechanisms—while further optimizing kernels and backward passes. MaxText version 0.2.4 is currently available via PyPi, DockerHub, and GitHub.
What to watch next: Adoption rates of the updated MaxText framework among developers tackling multi-million-token AI architectures.
Source infoq.com — infoq.com/news/2026/11/google-long-context-training/?utm_campaign=i… ↗
Read next
⚖️Regulation & PolicyICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies
US Immigration and Customs Enforcement is increasingly utilizing AI-integrated license plate readers from Flock Safety by routing requests through local police department…
🚀Startups & FundingStartups Showcase Body-Integrated Tech with Smart Lenses and Graphene Bandages
Startups Xpanceo and Grapheal presented next-generation wearable technology at Dubai Future Week, featuring smart contact lenses and graphene-based biosensor bandages des…
🔌Chips & HardwareNvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales
Nvidia CEO Jensen Huang faces a series of closed-door and public congressional hearings this week regarding chip sales and ties to China.
🚀Startups & FundingDating App User Banned After Secretly Recording Dates for AI Analysis
A New York hedge fund manager has been banned from Hinge after using a transcription app and Anthropic's Claude to secretly record and analyze his romantic dates.
⚖️Regulation & PolicyRuneScape Developer Jagex Urges Password Resets Following Security Breach
Millions of RuneScape and Old School RuneScape accounts may have been compromised after unauthorized access exposed player emails, hashed passwords, and authenticator tok…
🏢Big TechAnthropic and OpenAI: how the enterprise AI race has shifted
Enterprise spending estimates and recent product decisions show Anthropic and OpenAI moving toward the same business customers.