~/talk

GraCE: Unlocking CUDA Graphs with Compiler Support for ML Workloads

links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

GraCE is a compiler framework built atop PyTorch2 that unlocks CUDA Graphs for 25 ML workloads (TorchBench, HuggingFace, TIMM) and requires no code changes. It applies automatic code transforms to raise capture coverage (examples: from near-zero to ~99%), uses pointer indirection to avoid per-replay tensor copies (measured >99% data movement reduction), and runs offline cost–benefit profiling because 25% of naïve CUDA graphs hurt performance. Reported speedups include up to 3.34x and generation-specific gains (H100 1.5x, B200 2.4x).

AI-written summary · about

  1. 0:00GraCE introduction
  2. 1:22CPU launch overhead
  3. 2:47CUDA graphs reduce overhead
  4. 4:32Static inputs challenge
  5. 6:59Precompiled kernels handling
  6. 9:06Data movement indirection
  7. 9:28Compiler transformations increase coverage
  8. 11:13CUDA graphs slowdowns
  9. 12:39GraCE’s three optimizations
  10. 13:00End-to-end performance
  11. 14:45Conclusion
~/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.