Nested CUDA graphs cut replay launches from 16 to 2 per call

cfregly · x · 2026-10-22

Across five profiled invocations, each showed 16 CUDA Graph replay launches without nested graphs versus only 2 with them enabled. Nested graphs yield less fragmentation, larger fused regions, and far fewer replay launches — the mechanism behind the steady-state latency win.

Related event: Nested PyTorch graphs speed steady-state 4.5x at cold-start cost(6 posts)→

Original post →

More from Infra

Infra channel →