~/talk

PyTorch 2.0: TorchDynamo

name:Peng Wu
linkedin:peng-wu-411b5b
slides:none on file

TorchDynamo is presented as PyTorch 2.0’s partial guarded graph capture that lets models fall back to eager when needed and supports data‑dependent control flow (the toy example emits three graphs). A single torch.compile one-liner hands captured graphs to custom backends; the system does just-in-time recapture on guard mismatches. After five years of work it runs on 7K+ models, integrates with 20+ inference backends and multiple training backends, and already brings more model regions under compiler optimization.

AI-written summary · about

  1. 0:00Introduction
  2. 1:40Why graph capture
  3. 2:17TorchDynamo
  4. 3:08Partial Graph Capture
  5. 4:18Numbers
  6. 6:36Conclusion
~/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.