~/talk

Parameterized CUDA Graph Launch in PyTorch: CUDA Graphs Without the Pain

Talkat PyTorch Conference Europe 2026 · 2026-04-07..04-08· [machine-learning]
links:none on file
slides:none on file

Explains a new Parameterized CUDA Graph launch that lets CUDA Graphs replay with new tensor pointers by patching kernel pointer args and borrowing memory from the default allocator instead of a private pool. Works with torch.compile and reduces partial-capture memory overhead — llama3.1-70B in TorchTitan shows a 2 GB memory increase versus ~10 GB with traditional graphs. Implements pointer detection via double-capture, runs on TorchBench single-GPU, and still trips on distributed, NV SHMEM and alignment edge cases.

AI-written summary · about

  1. 0:00CUDA graphs in PyTorch
  2. 1:02What are CUDA graphs
  3. 3:10Performance gains
  4. 6:40Current usage
  5. 9:49Challenges today
  6. 12:57Parameterized CUDA graph launch
  7. 15:03Solving challenges
  8. 17:32Why implementation is hard
  9. 22:48Alternative techniques
  10. 23:51Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.