~/talk

Blazing Fast GenAI Inference With Torch.compile

links:none on file
slides:none on file

Torch.compile captures PyTorch graphs with Dynamo and generates fused kernels via inductor, delivering measured speedups like ~60% on Gemma 3, benchmarks from ~1.02x to 2.7x, and vLLM gains around 1.05x–1.9x. Examples show layer norm latency dropping from 1.4 ms to 0.25 ms after removing graph breaks and using dynamic shapes. Workflow details include precompilation CUDAGraphs FlexAttention, regional “compile repeated blocks”, custom inductor passes, backend compile caching (≈60 s for Llama 3 17B) and AOT precompile to avoid warm starts.

AI-written summary · about

  1. 0:00Introduction
  2. 2:51Managing compilation
  3. 7:25Optimizing Hugging Face Diffusers
  4. 11:43VLM custom compiler
  5. 18:06Controlling compilation
  6. 21:39Closing thoughts
~/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.