~/lightning

Lightning Talk: AOTInductor: Ahead-of-Time Compilation for PT2 Exported Models

Lightningat PyTorch Conference 2023 · 2023-10-16..10-17· [machine-learning]
name:Bin Bao
links:none on file
slides:none on file

AOTInductor ahead-of-time compiles torch.export graphs into a ahead-of-time compiled shared library containing C++ runtime glue and precompiled cuda cubin kernels, turning TorchInductor’s Triton kernels and Python buffer/stream management into C++ launch and memory code. A multi-threaded runtime shares weights and uses CUDA streams for concurrency. Results show over 90% pass rate on one benchmark suite, weaker coverage on TorchBench, and consistent speedups versus eager and the default JIT inductor. Available on PyTorch nightly.

AI-written summary · about

  1. 0:00AOTInductor intro
  2. 1:26Why AOTInductor needed
  3. 2:30AOTInductor architecture
  4. 5:41JIT vs AOT codegen
  5. 8:37Runtime for multi-threaded
  6. 10:05How to use AOTInductor in practice
  7. 10:48Performance benchmarks
  8. 12:16Availability & future
  9. 12:39Q&A
~/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.