~/talk

Advancements in High-Performance AI/ML through PyTorch's Python Compiler

Talkat PyCon US 2023 · 2023-04-19..04-27· [machine-learning, python]
name:Sam Gross
links:none on file
links:none on file
links:none on file
slides:none on file

PyTorch 2.0 adds a Python-based compiler that captures program graphs with Dynamo, lowers them via FX and the frame-evaluation API (PEP 523), and emits GPU code with Torch Inductor using Triton. Benchmarks use 80 real-world models; 93% run unchanged and the compiled workload averages a 43% speedup on A100 GPUs. The system supports torch.compile as a drop-in API, adds runtime guards and recompilation, and keeps most execution in Python while moving heavy kernels to optimized code.

AI-written summary · about

  1. 0:00Start
  2. 2:00What makes PyTorch so popular?
  3. 6:11Eager-Mode is slow
  4. 8:42Opposing goals
  5. 9:28Understanding a deep learning compiler
  6. 11:45Trace
  7. 13:38TorchScript
  8. 14:51on our Compiler Journey
  9. 15:01Dynamo
  10. 19:132.0 Compiler Stack
  11. 22:27Resources
  12. 22:52Follow PyTorch!
~/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.