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

North America Stories

09/07/2025

TAM Ireland awards programme data harmonisation contract to MetaBroadcast and Nielsen's Gracenote

Collaboration will result in improved data quality and understanding of genre-le...

09/07/2025

NAB Slams NextGen TV Critics for Protecting Their Turf

The National Association of Broadcasters is hitting back at critics who oppose its proposal to phase out the current ATSC 1.0 DTV over-the-air standard and tran...

09/07/2025

Zeam Launches on LG Smart TVs

Zeam Media's hyperlocal streaming platform Zeam has announced a new distribution deal with LG that will bring the streaming service to LG smart TVs and devi...

09/07/2025

TAM Ireland awards programme data harmonisation contract...

MetaBroadcast, the UK's leading metadata management specialist, announced today that it was awarded a three-year contract from TAM Ireland (Television Audie...

09/07/2025

Bitfocus transforms complex control for any media applica...

More than 700 professional devices and applications already integrated through open software Bitfocus, the specialist in media control and monitoring, is show...

09/07/2025

Actus Digital Transforms Broadcast Compliance with AI-Pow...

Actus Digital, a LiveU company, will demonstrate how broadcasters can transform compliance monitoring from a necessary expense into a strategic revenue driver a...

09/07/2025

LiveU Invites Industry Leaders to Experience a Quantum Le...

The broadcast industry stands at a pivotal moment. As viewing habits evolve and production demands intensify, LiveU is helping customers navigate these challeng...

09/07/2025

NABLF Congratulates 2025 Broadcast Leadership Training Program Class

WASHINGTON The NAB Leadership Foundation (NABLF) has announced the graduation of the 2025 Broadcast Leadership Training (BLT) class. The classs successful compl...

09/07/2025

Survey: Consumers Signal Growing Interest in One Big Bundle

Faced with rising costs, the proliferation digital services and the difficulty of managing many different subscriptions, two-thirds (66%) of consumers say they ...

09/07/2025

Production Sound Mixer Daniel McCoy Deploys DPAs New 2061...

Daniel S. McCoy, a Production Sound Mixer and Sound Consultant for cinema, commercial and live events, has utilized DPA Microphones for over 25 years. In the ea...

09/07/2025

CVP Announces the Return of the European Lens Summit

- A Celebration of Optical Excellence Uniting the Lens World's Leading Optical Minds - CVP, one of Europe's leading resellers and providers of profe...

08/07/2025

Give Me the Backstory: Get to Know Juan Meja Botero, the Director of Igualada: Refusing to Know Your Place

One of the most exciting things about the Sundance Film Festival is having a fro...

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

Groundbreaking Gamecocks: Inside University of South Carolina's Four-Control Room Production Palace

Groundbreaking Gamecocks: Inside University of South Carolina's Four-Control...

08/07/2025

Monumental Sports & Entertainment's Samantha Brady on the Power of the RSN's Direct-to-Consumer Streaming Service Monumental+

Monumental Sports & Entertainment's Samantha Brady on the Power of the RSN&#...

08/07/2025

Live From 2025 FIFA Club World Cup: FIFA, HBS Focus on Tournament Wrap, With an Eye to 2026 Men's World Cup

Live From 2025 FIFA Club World Cup: FIFA, HBS Focus on Tournament Wrap, With an ...

08/07/2025

SVG Rewind: NESN Goes Behind the Scenes of 1975 Red Sox Retro Broadcast

SVG Rewind: NESN Goes Behind the Scenes of 1975 Red Sox Retro Broadcast NESN is following up the retrocast with a week-long celebration of the Green Monster By...

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

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

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 ...

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

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...