SECTIONS
EDITIONS
NETWORK
AIXX Pedia The encyclopedia of compute hardware

AIXX Pedia › Tech Concept › CUDA Graphs Execution

CUDA Graphs Execution

NVIDIA CUDA GRAPHS · Technical Concept Entry

Overview OVERVIEW

CUDA Graphs is NVIDIA's official graph-execution feature: a sequence of kernels and their dependencies is captured into a single graph, which is then launched once and replayed repeatedly. It addresses launch overhead — the CPU launching kernels one by one incurs a fixed microsecond-level cost each time; the smaller and denser the kernels, the more the GPU sits idle waiting on the CPU. The official programming guide describes it as replacing a series of individual kernel launches with a single graph launch (CUDA Programming Guide).

The feature debuted with CUDA 10 in 2018 (NVIDIA PyTorch blog: CUDA Graphs first appeared in CUDA 10, 'launching multiple GPU operations with a single CPU operation, thereby reducing launch overhead'). Each training iteration and each inference decode step repeats the same sequence of kernels, so the one-time cost of building the graph is amortized over countless replays; PyTorch (built-in API since 1.10) and TensorRT-LLM, among others, have made graph capture/replay a standard optimization.

Key Figures KEY NUMBERS

ItemValue / Basis
IntroducedCUDA 10 · 2018 (NVIDIA PyTorch blog, citing CUDA 10 features)
MechanismWhole-graph launch via a single cudaGraphLaunch · replay on demand (CUDA Runtime API)
Gain ExampleMLPerf v1.0 Mask R-CNN: graphed segment 31ms→6ms (5x) · 1.7x overall (NVIDIA PyTorch blog)
ScalingBERT: 1.12x speedup on 4096 GPUs · helped scale MLPerf training to 4000+ GPUs (NVIDIA PyTorch blog)

What It Means on the B300 ON B300

The faster the GPU, the more costly waiting on CPU feeding becomes: B300 kernels run faster and shorter, further amplifying the share of launch overhead — this generation of inference stacks (TensorRT-LLM, etc.) and training scripts routinely enable graph execution. When comparing inference throughput between two identical eight-GPU machines, the difference often lies not in the GPUs but in how well the software stack (including graph execution) is tuned; benchmark reports should be reviewed alongside stack configuration.

Buyer's perspective: when validating with inference benchmarks, request GPU utilization or timeline traces — with high CPU launch overhead, the GPU sits idle for large stretches, and peak compute means nothing (the illustrative curves in the NVIDIA PyTorch blog show exactly this pattern). The measured gap between a 'well-tuned stack' and an untuned one on identical machines is legitimate grounds for price negotiation.

Boundaries and Caveats LIMITS

  • Graphs are static: shapes and control flow are frozen at capture time (constraints noted in the NVIDIA PyTorch blog: static shapes, static control flow). Dynamic batching and variable-length sequences require workarounds such as bucketing or graph re-capture; replay also requires inputs to reside at the same addresses, so there is real engineering overhead.
  • Gains are conditional: initial capture/graph build carries extra overhead, amortized by subsequent replays — workloads that run only once don't benefit; the capture scope (how much goes into the graph) and the handling of CPU-GPU synchronization points determine actual gains, and poor handling can wipe them out entirely.

References REFERENCES

  1. NVIDIA official site — Blackwell Ultra / HGX B300 product page https://www.nvidia.com/en-us/data-center/hgx/
  2. Market and Sales Data: AIXX Exchange (Market data section of this library)
Versions and errata | This entry is maintained by the AIXX Pedia editorial team, AI-assisted drafting with human fact-checking. Updated 2026-10-20 · Version v1.0 · All revisions are logged and traceable.
This Library
Editorial PolicyAbout This Library (Disclosure of Interests)Corrections Channel
Editorial Constitution Summary
Every claim sourcedDrawbacks always stated · corrections publicly loggedNo paid entries acceptedZero traffic-funneling or sales elements within entriesMarket data attached only as data modules
AIXX Family
AIXX PediaAIXX ExchangeAIXX News
Market data source: AIXX Exchange · © 2026 AIXX Pedia · An AIXX Product