~/lightning

Lightning Talk: Accelerated Inference in PyTorch 2.X with Torch...

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

Torch‑TensorRT uses PyTorch 2.x Dynamo to convert models into TensorRT engines either just‑in‑time via torch.compile(model, backend="tensorrt") (handles arbitrary Python control flow, automatic graph recompile guards, and claimed Stable Diffusion <1s inference) or ahead‑of‑time via torch_tensorrt.compile(model, inputs=example_inputs) and DynamoDoTrace/DynamoDoCompile to produce serializable TorchScript/exported programs with shape ranges for dynamic inputs. Both paths perform tracing, lowering, partitioning and conversion to TensorRT, expose precision and min‑block‑size tuning, and plan fuller dynamic‑shape and precision support soon.

AI-written summary · about

  1. 0:00Torch-TensorRT intro
  2. 1:04What is Torch-TensorRT
  3. 2:29JIT vs AOT workflows
  4. 3:12Shared optimization path
  5. 4:17JIT compilation workflow
  6. 5:44Conditionals in JIT
  7. 7:48AOT compilation workflow
  8. 8:10Exporting PyTorch models
  9. 9:33Dynamic shapes in AOT
  10. 10:16AOT serialization
  11. 11:40JIT and AOT similarities
  12. 12:03Summary and future
~/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.