~/talk

Beyond TorchScript: The Future of C++ Inference in PyTorch

Talkat PyTorch Conference 2025 · 2025-10-22..10-23· [machine-learning, c-and-cpp]
links:none on file
slides:none on file

TorchScript is being deprecated in PyTorch 2.9 with a four‑cycle code deletion target around version 24; migration moves models to torch.export (FX graphs with tensor metadata) and the ExecuTorch stack. ExecuTorch reaches GA 1.0 and provides a tiny C++ runtime (~50 kilobytes) for mobile/edge/desktop; ExecuTorch Full for servers is “coming soon” while CUDA/AOT inductor GPU support and server deployments remain experimental. Control flow needs manual rewrite and some legacy features like torchbind are not supported.

AI-written summary · about

  1. 0:00Pythonless inference purpose
  2. 1:04Pythonless inference necessity
  3. 3:12TorchScript history limits
  4. 8:14TorchScript IR runtime issues
  5. 13:33TorchScript deprecation
  6. 15:44TorchScript sunset plan
  7. 17:11Introducing ExecuTorch
  8. 18:38Torch.export frontend
  9. 20:23ExecuTorch IR stack
  10. 21:26ExecuTorch runtime targets
  11. 22:53Next steps future
  12. 24:30Q&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.