Why it matters
CUDA graphs speed inference. Understanding shapes serving optimization.
Advertisement
The architecture
Capture: record kernel launches.
Instantiate: prepare graph.
Launch: replay whole graph.
Advertisement
How it works end to end
Stream capture: record launches during warmup.
Instantiate: graph object.
Replay: cudaGraphLaunch.
Fixed shapes required.