Sony Pixel Power calrec Sony

Asking an Encyclopedia-Sized Question: How To Make the World Smarter with Multi-Million Token Real-Time Inference

08/07/2025

Modern AI applications increasingly rely on models that combine huge parameter counts with multi-million-token context windows. Whether it is AI agents following months of conversation, legal assistants reasoning through gigabytes of case law as big as an entire encyclopedia set, or coding copilots navigating sprawling repositories, preserving long-range context is essential for relevance and coherence. On top of that, users expect fast, interactive responses.

The growing demand to decode such massive amounts of data-and let multiple GPUs quickly scale and communicate with each other-underscores the importance of FP4 compute and the high-bandwidth large NVLink domain provided by NVIDIA Blackwell systems. Helix Parallelism, introduced in this blog, is co-designed with Blackwell. It enables up to a 32x increase in the number of concurrent users at a given latency, compared to the best known prior parallelism methods for real-time decoding with ultra-long context.

In other words, it lets AI agents and virtual assistants serve more people, faster than ever before.

(Note: Context in this blog refers to the sequence of previously generated tokens, whose intermediate key and value representations are stored as KV cache and accessed at every decoding step.)

Decoding bottlenecks: KV cache and FFN weight reads To support real-time decoding at scale, a system must overcome two major bottlenecks during the decoding (aka generation) phase:

Key-Value (KV) cache streaming: When handling multi-million-token contexts, each GPU must read a massive history of past tokens (KV cache) from DRAM per sample. This constant streaming can, in turn, saturate DRAM bandwidth, increase token-to-token latency (TTL), and quickly become a major bottleneck as context length grows.

Feed-Forward Network (FFN) weight loading: During autoregressive decoding, generating every new token requires loading large Feed-Forward Network (FFN) weights from DRAM. In low latency scenarios with small batch sizes, this memory access cost is not well amortized, making FFN weight reads a dominant source of latency.

These two bottlenecks, KV cache streaming and FFN weight loading, are difficult to optimize simultaneously using traditional parallelism strategies.

Let's take Tensor Parallelism (TP) as an example: Increasing TP can help reduce FFN stalls by distributing weight loading across multiple GPUs and improving TTL, but only up to a point. In attention schemes like Grouped Query Attention (GQA)-used in Llama models-or Multi-Latent Attention (MLA)-found in DeepSeek models-multiple query heads share a limited number of KV heads. As illustrated in Figure 2(c), when TP exceeds the number of KV heads, the system ends up duplicating the multi-million-token KV cache per sample across GPUs for self-attention. As a result, KV read volume stays high even with increased TP, once again saturating DRAM bandwidth and limiting scalability. In the case of MLA, the upper limit for TP is just one to avoid duplication of KV cache.

So how can developers scale both model size and context length without sacrificing real-time interactivity? Helix Parallelism offers a path forward.

Helix execution flow Helix is a hybrid sharding strategy that disaggregates the parallelism strategies of attention and FFNs in a temporal pipeline, effectively addressing both KV cache and FFN weight-read bottlenecks during multi-million-token decoding.

Figure 1 (below) shows how Helix orchestrates the execution of attention and FFN within a single transformer layer. Inspired by the structure of a DNA helix, Helix interweaves multiple dimensions of parallelism-KV, tensor, and expert-into a unified execution loop. By decoupling the parallelism strategy used for attention and FFN, Helix allows each stage to operate in a configuration tuned to its own bottleneck, all while reusing the same pool of GPUs. Helix reuse approach keeps GPUs efficiently utilized across stages, eliminating idle time as computation flows through the model.

data-src=https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-png.webp alt=A diagram showing the execution flow of Helix Parallelism. Helix reuses the same pool of N GPUs per layer by switching between N=KVPxTPA during attention and N=TPFxEP during FFN. class=lazyload wp-image-102939 data-srcset=https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-png.webp 1522w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-282x300-png.webp 282w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-625x665-png.webp 625w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-108x115-png.webp 108w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-768x817-png.webp 768w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-1443x1536-png.webp 1443w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-645x687-png.webp 645w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-85x90-png.webp 85w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-362x385-png.webp 362w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-103x110-png.webp 103w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-1024x1090-png.webp 1024w, https://developer-blogs.nvidia.com/wp-content/uploads/2025/07/image2-2-507x540-png.webp 507w data-sizes=(max-width: 1522px) 100vw, 1522px />Figure 1. Execution flow of Helix Parallelism. Helix reuses the same pool of N GPUs per layer by switching between N=KVPxTPA during attention and N=TPFxEP during FFN.

Attention phase Helix applies KV Parallelism (KVP) by sharding the multi-million-token KV cache along the sequence dimension across KVP GPUs, while applying Tensor Parallelism across attention heads (TPA), where TP
LINK: https://developer.nvidia.com/blog/asking-an-encyclopedia-sized-questio...
See more stories from nvidia

Most recent headlines

05/01/2027

Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be demoed at CES 2026

Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be ...

01/06/2026

Dolby Sets the New Standard for Premium Entertainment at CES 2026

January 6 2026, 05:30 (PST) Dolby Sets the New Standard for Premium Entertainment at CES 2026 Throughout the week, Dolby brings to life the latest innovatio...

02/05/2026

Dalet Flex LTS Delivers Smarter Search, Faster Editing, and an AI-Ready Foundation for Modern Media

Dalet, a leading technology and service provider for media-rich organizations, t...

01/05/2026

NBCUniversal's Peacock to Be First Streamer to Integrate Dolby's Full Suite of Premium Picture and Sound Innovations

January 5 2026, 18:30 (PST) NBCUniversal's Peacock to Be First Streamer to ...

01/04/2026

DOLBY AND DOUYIN EMPOWER THE NEXT GENERATON OF CREATORS WITH DOLBY VISION

January 4 2026, 18:00 (PST) DOLBY AND DOUYIN EMPOWER THE NEXT GENERATON OF CREATORS WITH DOLBY VISION Douyin Users Can Now Create And Share Videos With Stun...

28/02/2026

FOX Sports Waves Green Flag on 2026 IndyCar Season With Driver's Eye, Heads Up Display, Live Drones

With two features seen in Formula 1 coverage, the broadcaster aims to bring view...

28/02/2026

Secretary of War Pete Hegseth Visits L3Harris Solid Rocket Motor Site

Secretary of War Pete Hegseth addresses a crowd of approximately 1,500 L3Harris employees in Camden, Arkansas, as part of his Arsenal of Freedom tour....

28/02/2026

2026 NAB Show Expands Sports Summit to Four Days

Share Copy link Facebook X Linkedin Bluesky Email...

28/02/2026

Three TV5Monde FAST Channels Launch on Plex

Share Copy link Facebook X Linkedin Bluesky Email...

28/02/2026

Nielsen Introduces 200+ New Advanced Audience Segments

Share Copy link Facebook X Linkedin Bluesky Email...

28/02/2026

SBE Launches Annual Membership Drive

Share Copy link Facebook X Linkedin Bluesky Email...

28/02/2026

Gray's Fox 12 Inks Deal for Portland Fire And Portland Thorns Games

Share Copy link Facebook X Linkedin Bluesky Email...

28/02/2026

Berklee Presents Mambo Mania: Eguie Castrillo and the Berklee All-Stars Big Band's Tribute to Eddie Palmieri

Berklee Presents Mambo Mania: Eguie Castrillo and the Berklee All-Stars Big Band...

28/02/2026

Berklee Announces Two New Summer Programs in Los Angeles

Berklee Announces Two New Summer Programs in Los Angeles The Berklee Music Business Program and Electronic Music Production and Sound Design Workshop bring imme...

28/02/2026

NVIDIA and Partners Show That Software-Defined AI-RAN Is the Next Wireless Generation

AI-RAN is moving from lab to field, showing that a software-defined approach is ...

28/02/2026

NVIDIA Advances Autonomous Networks With Agentic AI Blueprints and Telco Reasoning Models

Autonomous networks - intelligent, self-managing telecommunications operations -...

28/02/2026

Final Trailer for BEASTARS Final Season Part 2' Roars Toward the Series' Emotional Conclusion

Back to All News Final Trailer for BEASTARS Final Season Part 2' Roars Tow...

28/02/2026

February 27, 2026

New way to intentionally discover molecular glues could expand drug discovery Scripps Research scientists and colleagues show how drugs that eliminate certain d...

27/02/2026

Scripps Appoints Oliver Gray as Vice President, Network Sports and Client Partnerships

The E.W. Scripps Company names Oliver Gray as Vice President, Network Sports and...

27/02/2026

Gotham Sports App Now Available for Purchase Through Prime Video

The Gotham Sports App, the exclusive direct-to-consumer streaming home of MSG Networks and the YES Network, is now available for purchase through Prime Video fo...

27/02/2026

ESPN, Horizon League Extend Long-Standing Rights Agreement

ESPN and the Horizon League announce a new multi-year, multi-platform media rights agreement, continuing a 38-year collaboration that began with the 1988 Midwes...

27/02/2026

NETGEAR to Showcase Expanded Broadcast Portfolio at 2026 NAB Show

At the 2026 NAB Show in Las Vegas, NETGEAR will highlight its new switch models and major updates to its Engage Controller software. The company's network d...

27/02/2026

Teatro alla Scala Elevates Backstage Communication with Riedel's Bolero Wireless Intercom System

Riedel Communications announces that Fondazione Teatro alla Scala has deployed a...

27/02/2026

Lyuno Leverages Dante AV for Synchronization of Audio and Video Content

Lyuno specializes in media localization, including translation, dubbing, subtitling, and voice-over services for a wide array of entertainment content. The comp...

27/02/2026

Chyron Releases Weather 2.3 with New Data and Automation Features

Chyron Weather 2.3, the latest edition of Chyron's weather visualization suite for broadcasters and meteorologists, recently launched. The release includes...

27/02/2026

Telestream Advances Production-Ready AI Across its Product Portfolio

Telestream, which concentrates in media workflow technologies, announces expanded practical AI enhancements across its Vantage, Vantage Cloud, EDC, Stanza, and ...

27/02/2026

Horizon Sports & Experiences, TOGETHXR Launch Joint Venture to Power Future of Women's Sports

Horizon Sports & Experiences (HS&E), a global sports marketing, media, and live ...

27/02/2026

NBC Reunites Bob Costas, Doug Collins and 1990s NBA Legends for Spurs-Sixers on March 3

Legendary sports broadcasters Bob Costas, Doug Collins, Mike Czar of the Telest...

27/02/2026

IndyCar Season Opener: A Look into the Productions' Fast-Track IP Transformation

Beginning on March 1st, IndyCar will be kicking off their 31st season on the str...

27/02/2026

SVG GameDay, Ep. 5: Philadelphia Eagles' Alessandra Lane Behind the Birds in South Philly

In-venue and creative video staffers at the professional and collegiate level ha...

27/02/2026

Ratings Roundup: NBC Sports Takes Gold With Milano Cortina 2026 Viewership Hitting All Time Highs

Ratings Roundup is a rundown of recent rating news and is derived from press rel...

27/02/2026

SMX League Partners with Owl AI as Official AI Trailblazer to Revolutionize Action Sports Technology

Owl AI a pioneer in artificial intelligence for professional sports, announces a...

27/02/2026

Formula 1 Re-Ups Broadcast Deals With beIN SPORTS in Asia, ESPN in Latin America/Caribbean,

With over 447 million fans in APAC, Formula 1 and beIN will continue to innovate...

27/02/2026

YES Network Spotlights Brooklyn Youth With Kid Reporter' Broadcast Initiative

12-year-old Noelle Taylor will be the Kid Reporter when the Brooklyn Nets host t...

27/02/2026

ESPN Explores New POVs With CapCam, EarCam for NBA All-Star Celebrity Game, College Softball

Entire CapCam system - including camera unit, RF transmitter, and battery - is h...

27/02/2026

Gorillaz Invites Fans Into Its World With Exclusive Spotify Experience and London Mural Quest

Since its inception, Gorillaz has been known for blending art with genre-bending...

27/02/2026

Find Your Next Great Listen With Spotify's New Audiobook Charts

This week, Spotify introduced Audiobook Charts for the U.S. and U.K. The charts make it easy to discover your next favorite book by showing what's popular a...

27/02/2026

Rohde & Schwarz and Viasat to collaborate on NB-NTN IoT test plan for connectivity via satellite

Rohde & Schwarz and Viasat to collaborate on NB-NTN IoT test plan for connectivi...

27/02/2026

Designing AI based features in the MSC

In media technology, big features often steal the spotlight - AI integrations, cloud transformations, automation frameworks. But for the people who use these to...

27/02/2026

Has Video outgrown your DAM?

Digital Asset Management systems sit at the heart of most marcoms operations. They centralise content, organise it, and make it discoverable. Integrated with th...

27/02/2026

NAB

The AI Wild West comes to NAB 2026 and Blue Lucy is bringing the Sheriff The AI Wild West is here, and media organisations are feeling the heat. On Booth W23...

27/02/2026

32.6 Million Watch 2026 State of the Union Address

NEW YORK - February 26, 2026 - An estimated 32.6 million people watched President Donald J. Trump deliver the 2026 State of the Union address on Tuesday, Februa...

27/02/2026

Atomos Introduces Ninja RAW HDR Monitor-Recorder At CP+ Trade Show

Share Copy link Facebook X Linkedin Bluesky Email...

27/02/2026

Scripps to Reacquire 23 ION Stations

Share Copy link Facebook X Linkedin Bluesky Email...

27/02/2026

Survey: 88% of Sports Execs Bullish on Industry's Prospects

Share Copy link Facebook X Linkedin Bluesky Email...

27/02/2026

Chyron Releases Weather 2.3 With New Data and Automation Features

Share Copy link Facebook X Linkedin Bluesky Email...

27/02/2026

Samba: Essentials, Utilities Tally Most Ad Impressions in 2nd-Half 2025

Share Copy link Facebook X Linkedin Bluesky Email...

27/02/2026

TVB: Linear TV Still King

Share Copy link Facebook X Linkedin Bluesky Email...

27/02/2026

AJA U-TAP Helps Stary Technologies with Courtroom Evidenc...

Video is one of the lawyer's most powerful storytelling tools in civil litigation today, whether used to transport jurors to an incident scene or challenge ...

27/02/2026

Foundry releases Nuke 17-0

Creative software developer Foundry today released Nuke 17.0, the latest version of its powerful compositing tool for visual effects and animation. Marking one ...