← Kembali ke Daftar Berita

Google Enhances its Open-Source MaxText Training Framework for Long-Context Training

Tanggal: 2026-12-02

Google Enhances its Open-Source MaxText Training Framework for Long-Context Training
Google Enhances its Open-Source MaxText Training Framework for Long-Context Training

A monthly overview of things you need to know as an architect or aspiring architect.

Live Webinar and Q&A: Guardrails, Not Gatekeepers: How to Govern AI Tooling Spend Without Slowing Developers (Dec 10, 2026) Save Your Seat

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources.

In this episode, Uberto Barbini discusses how clean functional programming can help AI Agents to generate better code. He explains how immutable data and pure functions enhance code quality, maintainability, and testability.

Saranya Vedagiri explains how to design resilient, low-latency distributed APIs under 100ms. Drawing on practical scale at eBay, she discusses hop-by-hop latency budgets, async fanout tradeoffs, thread pool sizing, caching, and circuit breakers. Learn actionable strategies to eliminate tail-latency bottlenecks and establish performance-first engineering practices.

Catherine Weeks discusses Red Hat's framework for scaling agentic AI across the SDLC. She shares how engineering teams balance copilots and autonomous AI factories across organizational, team, and individual layers - automating painful bottlenecks like oversized RFEs while using custom eval harnesses, sandboxing, and human-in/on-the-loop controls to ensure speed never compromises software quality.

Laura Savino discusses the psychological friction of AI adoption for senior engineers & architects. She explains how shifting from static expertise to learning in public lowers anxiety, accelerates tooling fluency, and prevents burnout. Leaders will discover actionable strategies to support their teams, debunk tech zealotry, and foster an adaptive engineering culture that thrives during upheaval.

The panelists explore how engineering teams adapt delivery architectures, pipelines, security, and governance for AI-assisted development. They share practical strategies for verifying AI-generated code, solving testing and deployment bottlenecks, maintaining human oversight, and measuring AI’s true impact on software velocity, quality, reliability, and operational cost.

Work through your production AI decisions with senior engineers from other companies. Apply their perspectives to challenges from your own work.Online. Register Now.

Compare team design, delivery flow, AI roles, and metrics with experienced practitioners. Online. Register Now.

Building RAG pipelines or AI agents? Work through retrieval, context, evals, and reliability decisions with experienced practitioners.Online. Register Now.

Distributed systems, decentralized decisions, platform engineering, and AI architecture. Online. Register Now.

Production AI across agents, context, evals, security, and infrastructure, from the senior engineers building it.Register. Early bird ends Dec 10.

What early-adopter teams have proven in production, across 15 engineering tracks. Register. Early bird ends Dec 10.

Learn from the decisions and trade-offs behind AI systems already running in production.Register. Early bird ends Jan 12.

InfoQ Homepage News Google Enhances its Open-Source MaxText Training Framework for Long-Context Training

Nov 28, 2026 2 min read

To address the computational, memory, and communication bottlenecks of long-context training, Google has integrated four context-parallelism strategies into MaxText, its open-source JAX training framework, enabling LLM training with context lengths up to 14 million tokens on Cloud TPUs.

Google engineers highlight the growing trend towards larger context windows, noting that they enable applications such as processing entire code repositories or ingesting hours of video:

In three years, context windows have grown from 128K-200K tokens to 1M-2M, and models trained toward 10M tokens are arriving. Training at those lengths, not just serving them, is where the system limits show up.

Training large language models at such sequence lengths introduces two major bottlenecks: the quadratic growth of attention and the linear growth of activations and key-value (KV) caches. To address these challenges, Google uses context parallelism, which distributes sequences across multiple chips and streams keys and values between them, rather than materializing the entire sequence on every chip.

Google has implemented four context-parallelism strategies in MaxText are: All-Gather, All-to-All (Ulysses), P2P (Ring Attention), and A2A + P2P (USP). They differ in their high-bandwidth memory (HBM) requirements, their ability to overlap communication with computation, and their scalability beyond the number of KV heads.

P2P (Ring Attention) is the primary workhorse for very long-context training, whereas All-Gather is the standard baseline for most other cases where the KV can fit. These are the primary CP strategies to use in practice.

Using these new strategies, Google reported significant results with Llama 3.1 8b and its Cloud TPU infrastructure. These include achieving 70% Model FLOPs Utilization (MFU) for sequence lengths up to 4 million tokens on TPU 5p, supporting context lengths of up to 14 million tokens on both TPU 5p and TPU 7, and maintaining approximately 50% MFU for sequence lengths below 6 million tokens. Additionally, P2P achieved 48.7% MFU on TPU 7, compared with 37.1% on TPU 5p.

Google identified two areas of future development. The first is adding support for more architectures, including those combining sliding-window and global attention layers, as well as linear attention mechanisms such as Gated Delta Net (GDN) and Kimi Delta Attention (KDA). The second is improving performance through further optimization of Tokamax kernels, enhancements to the P2P backward pass, and the development of "recipes by model and context length" for distinct TPU architectures.

Commenting on the announcement, Google director Nathan Beach observed that:

If you are training models on Google TPUs with multi-million-token context, attention memory -- not compute -- is usually the first wall you hit.

MaxText 0.2.4 is available through PyPi, DockerHub, and GitHub.

Microsoft Ignite 2026; Explore What's Next in AI and Software Engineering - Learn how to architect agentic systems, modernize cloud infrastructure, and tackle emerging engineering challenges. Get practical insights from Microsoft experts and industry leaders. Watch on demand.

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

Test your approach against the decisions and trade-offs of senior practitioners running agents, evals, model serving, and AI-assisted engineering in production. See what worked, what failed, and what they would do differently. Bring those lessons back to your team to make better-informed architecture and delivery decisions.

InfoQ.com and all content copyright © 2006-2026 C4Media Inc.

→ Baca artikel asli