~/talk

PyTorch 2.1 - New Developments

Talkat Scale By the Bay 2023 · 2023-11-13..11-15· [machine-learning, python]
links:none on file
slides:none on file

PyTorch 2.1 shows concrete speedups by combining torch.compile, new SDPA kernels, export-based quantization and sparsity: benchmarked pipelines report up to ~8.5x for Segment Anything and ~5.6x for Llama2 using a mix of FP16, INT8 and 4‑bit (GPDQ) techniques. Added tools include torch.export for backend‑agnostic IR, GPU INT8 and 4‑bit runtimes, and two4 sparsity plus nested tensors for batched variable inputs; the implemented kernels and APIs run and reproduce the reported throughput and memory reductions.

AI-written summary · about

  1. 0:00Introduction to PyTorch 2.1
  2. 1:06PyTorch growth and metrics
  3. 3:16PyTorch 2.1 new features
  4. 4:20Dynamic shape support in TorchCompile
  5. 5:02Compiling NumPy operations
  6. 5:43TorchExport for model export
  7. 7:28Quantization in PyTorch 2.1
  8. 10:142:4 semi-structured sparsity
  9. 11:57Accelerating generative AI models
  10. 13:02SDPA for attention acceleration
  11. 14:26Nested tensors for variable shapes
  12. 15:50GPU quantization techniques
  13. 18:202:4 sparsity on GPU
  14. 20:474-bit quantization with GPTQ
  15. 22:35Performance results on Segment Anything
  16. 24:43Results on Llama 2 models
  17. 26:46Q&A on hardware agnostic deployment
~/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.