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

06/10/2025

France Tlvisions Wins Prestigious 2025 EBU Technology & Innovation Award in Groundbreaking Collaboration with Dalet

France T l visions, France's leading broadcaster, has received the 2025 EBU ...

04/09/2025

Monumental Sports & Entertainment and Dalet Win Prestigious 2025 NAB Show Project of the Year Award

Monumental Sports & Entertainment (MSE), in collaboration with Dalet, has been a...

08/07/2025

Gray Media, Scripps Agree to Swap TV Stations

ATLANTA and CINCINNATI Gray Media and The E.W. Scripps Co. have agreed to swap television stations across five midsized and small markets, resulting in the crea...

08/07/2025

Clear-Com Adds Panel Support to Arcadia Central Station

ALAMEDA, Calif. Clear-Com has announced new software updates to its Arcadia Central Station that enable connectivity across Clear-Com products as well as third-...

08/07/2025

Triveni Digital Kicks Off NextGen TV Innovation Partnership Program

PRINCETON, N.J. Triveni Digital has launched its NextGen TV Innovation Partnership Program, an initiative to support public broadcasters in their transition to ...

08/07/2025

Sinclair, ATSC Raise Concerns about 5G Broadcasting in FCC Filings

WASHINGTON In response to a request by LPTV broadcaster HC2 that the Federal Communications Commission allow its stations to become datacasters using 5G broadca...

08/07/2025

Broadcasters Push AI to New Levels

As TV broadcasters shift from wary tire-kicking to increasingly enthusiastic adoption of AI technology, new ways of doing things are taking hold at lightning sp...

08/07/2025

Content Personalization Gets a Makeover

Content personalization has been a hot topic ever since the emergence of niche cable networks and the VCR in the 1980s allowed consumers to access content geare...

08/07/2025

RMC-BFM optimizes streaming monetization and viewer exper...

Broadpeak, a leader in streaming and monetization at scale, announces that major French media group RMC BFM has selected Broadpeak's server-side ad insertio...

08/07/2025

MBS Acquires SESs media services in Germany and UK - Rebr...

MBS, a leading service integrator and managed gateway operator, has announced an agreement with SES to acquire a part of its media services in Germany and the U...

08/07/2025

Carr Applauds Restoration of FCC Auction Authority

WASHINGTON Federal Communications Commission Chair Brendan Carr is applauding the passage of President Donald Trump's One Big Beautiful Bill and provision...

08/07/2025

Channel 7 Sydney Chooses RTS and Magna Systems for ST-2110 Upgrade

SYDNEY RTS has announced that Channel 7 Sydney has deployed a new comms system from the intercom vendor as part of a larger ST-2110 upgrade....

08/07/2025

Gray Media and Scripps Agree to Swap TV Stations

ATLANTA & CINCINNATI Gray Media, Inc. and The E.W. Scripps Company have entered into agreements to swap television stations across five mid-sized and small mark...

08/07/2025

'The Monster of Florence': The Four-Episode TV Series Directed by Stefano Sollima Is Coming Only on Netflix on October 22

Back to All News The Monster of Florence: The Four-Episode TV Series Directed b...

08/07/2025

Shooting of '53 Sundays', Cesc Gay's New Project, Is Finished

Back to All News Shooting of 53 Sundays, Cesc Gays New Project, Is Finished Entertainment 08 July 2025 GlobalSpain Link copied to clipboard Download the f...

08/07/2025

Harmonic Sets DOCSIS 4.0 Record with 14 Gbps Downstream Speed at CableLabs Interoperability Event

SAN JOSE, Calif. - July 8, 2025 - Harmonic (NASDAQ: HLIT) today announced a reco...

08/07/2025

Arvato Systems optimizes customer communication with AOK Niedersachsen

Arvato Systems Optimizes Customer Communication with AOK Niedersachsen New project in the statutory health insurance sector Arvato Systems and AOK Niedersach...

08/07/2025

2025-07-08

On August 7, Apple Arcade is adding four exclusive games to its diverse catalogue of more than 200 fun games for players to enjoy, all free from ads and in-app ...

08/07/2025

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

Modern AI applications increasingly rely on models that combine huge parameter c...

07/07/2025

SBS Farewells Chair George Savvides AM

SBS Farewells Chair George Savvides AM 7 July, 2025 Media releases Born of Greek Cypriot parents, Mr Savvides joined the SBS Board as Deputy Chair in Febru...

07/07/2025

Staying Ahead of the Threat - Everywhere, Any Time

Advanced vision solutions deliver more than reliable night vision for tactical-edge warfighters. Today's technological advances can provide the capability f...

07/07/2025

Sinclair Names Narinder Sahai EVP and Chief Financial Officer

BALTIMORE Sinclair has named Narinder Sahai its executive vice president and chief financial officer, effective immediately....

07/07/2025

Riedel Communications Launches RefSuite Ecosystem for Spo...

Riedel Communications today announced the launch of RefSuite, a powerful new Managed Technology solution tailored to professional sports workflows. RefSuite com...

07/07/2025

Skandha Media Services expands MENA presence with new off...

Regional base will foster client engagement, partner collaboration, and executive touchpoints Skandha Media Services, a leading provider of cloud-native media ...

07/07/2025

ASG-Produced Video Wins Gold Telly Award

Advanced Systems Group, LLC (ASG), a technology and services provider for media creatives and content owners, announced its Against All Odds - ASG Builds Cutti...

07/07/2025

Skandha Media Services announces collaboration with Warne...

Agreement secured on the strength of Skandha's proven track record in delivering reliable managed services across the full content life cycle for existing h...

07/07/2025

The Long-Awaited Trailer is Here: Alice in Borderland' Season 3 Premieres September 25

Back to All News The Long-Awaited Trailer is Here: Alice in Borderland' Se...

07/07/2025

Anime for Every Fan: Fueling a New Era of Global Storytelling

Back to All News Anime for Every Fan: Fueling a New Era of Global Storytelling Entertainment 07 July 2025 GlobalUnited StatesJapan Link copied to clipboard...

07/07/2025

1-2 Punch: The Cloud, Generative AI, and the Future of Sports-Content Distribution

1-2 Punch: The Cloud, Generative AI, and the Future of Sports-Content Distributi...

07/07/2025

Formula E: Host Broadcaster Aurora on Launching New AR Graphics at the Jakarta E-Prix

Tests and decisions: Formula E host broadcaster Aurora on launching new AR graph...

07/07/2025

Formula E: Using New AR Graphics for Storytelling at the Formula E Penultimate, Final E-Prix of the Season

Building tension: Using new AR graphics for storytelling at the Formula E penult...

07/07/2025

SVG Rewind: Four NFL Clubs Bring Us on Set of Respective Media Day Shoots

SVG Rewind: Four NFL Clubs Bring Us on Set of Respective Media Day Shoots An in-depth conversation with 49ers Laura Johnson, Ravens Jay O'Brien, Las Vegas R...

07/07/2025

Cosm To Build Fifth Shared Reality Venue in Cleveland as Part of Bedrock's Rock Block' Development

Cosm To Build Fifth Shared Reality Venue in Cleveland as Part of Bedrock's ...

07/07/2025

'She Walks in Darkness', Agustn Daz Yanes' New Film, Premieres on Netflix on October 17

Back to All News She Walks in Darkness, Agust n D az Yanes New Film, Premieres ...

07/07/2025

2025-07-07

CULVER CITY, CALIFORNIA As Apple Music marks its 10th anniversary this year, Apple unveils its most ambitious creative project to date: a brand-new state-of-the...

07/07/2025

RT Announces Mark Bignell as new Commissioning Editor for Comedy

RT has announced that Mark Bignell has been appointed Commissioning Editor for Comedy following a public competition. This senior editorial position will drive...

05/07/2025

'Superestar,' the Story of a Star Who Never Changed. Premiering July 18

Back to All News Superestar, the Story of a Star Who Never Changed. Premiering July 18 Entertainment 05 July 2025 GlobalSpain Link copied to clipboard Dis...

04/07/2025

Give Me the Backstory: Get to Know Tadashi Nakamura, the Filmmaker Behind Third Act

By Lucy Spicer Editor's note: We are deeply saddened by the passing of Robe...

04/07/2025

Spotify Partners With The Reading Agency to Bring the Summer Reading Challenge to Life Through Audio

The Summer Reading Challenge has inspired children across the U.K. to embrace a ...

04/07/2025

Introducing CVP Auctions: Trusted Tech, At Auction-Only Prices

Introducing CVP Auctions: Trusted Tech, At Auction-Only Prices Brie Clayton July 4, 2025 0 Comments A New Destination for Film and Broadcast Gear at U...

04/07/2025

Unveiling China's Ecological Wonders with URSA Mini Pro 12K

Unveiling China's Ecological Wonders with URSA Mini Pro 12K Brie Clayton July 4, 2025 0 Comments Nature Documentaries Freeze Epic Momentsin Extrem...

04/07/2025

Create Any Planet in After Effects

Create Any Planet in After Effects Graham Quince July 4, 2025 0 Comments The Advanced 3D renderer in After Effects makes it really easy to import 3D o...

04/07/2025

Custom Gradient Colorize for Resolve Fusion

Custom Gradient Colorize for Resolve Fusion Simon Ubsdell July 4, 2025 0 Comments Digging into the theory of the gradient colorize process to build ou...

04/07/2025

NESN Gives Red Sox-Reds Matchup a Retro Makeover

Watching live sports on TV these days is a delicate balance for broadcasters how much information is too much?...

04/07/2025

FCC Announces Tentative Agenda for July Open Meeting

WASHINGTON As Federal Communications Commission Chair Brendan Carr works to achieve his goal of a very busy, productive summer at the FCC, the agency has rele...

04/07/2025

Other World Computing Launches OWC Guardian USB-C Hardware-Encrypted Portable SSD

Other World Computing Launches OWC Guardian USB-C Hardware-Encrypted Portable SS...

04/07/2025

CANAL+ Brings MotoGP to Vision Pro with Blackmagic URSA Cine Immersive

CANAL Brings MotoGP to Vision Pro with Blackmagic URSA Cine Immersive Brie Clayton July 3, 2025 0 Comments Experience MotoGP like never before as CA...

04/07/2025

Official trailer revealed for new season of BAFTA-winning Sky Original comedy Mr Bigstuff, coming 24 July

Friday 4 July 2025 Watch the trailer here https://youtu.be/Od5WpvWmDr8 Further...

04/07/2025

Join RT Radio 1 for The Pitch, a new series exploring the heart of Ireland's GAA Clubs

The Pitch comes to RT Radio 1 airwaves this Sunday at 7pm. The Pitch is a brand...