~/lightning

Lightning Talk: Streamlining Model Export with the New ONNX Exporter

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

New exporter (beta in PyTorch 2.1) uses TorchDynamo to produce ONNX from dynamic PyTorch graphs via torch.onnx.dynamo_export and runs with ONNX Runtime. It preserves control flow and data types, writes module boundaries as ONNX functions, and supports exporting without loading weights using fake tensors, avoiding OOMs for very large models. ONNX Script lets teams author missing ops or runtime kernels. Most Dynamo-traceable models export successfully today; a few niche ops and graph breaks remain to be implemented.

AI-written summary · about

  1. 0:00ONNX and model export
  2. 1:23Old exporter limitations
  3. 2:49New ONNX exporter in PyTorch 2.1
  4. 3:56Key improvements
  5. 4:37New API and features
  6. 6:43Debuggability improvements
  7. 7:26ONNX Script for custom ops
  8. 8:28Future plans
  9. 9:15Q&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.