~/lightning

Lightning Talk: Exploring PiPPY, Tensor Parallel and Torchserve for Large...

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

Covers how Torchserve runs large-model inference using PiPPY pipeline parallelism and tensor parallel APIs plus integrations with DeepSpeed, Hugging Face Accelerate, Neuron SDK and Inferentia2. Claims: 30B model needs ~60 GB in fp16 and a 70B Llama needs ~140 GB (≈8×80GB GPUs), so partitioning across devices is required; deferred initialization and checkpoint conversion are practical hurdles; micro-batching, continuous batching and token streaming responses reduce latency; an Inferentia2 example shows about 3x cheaper on Inferentia vs equivalent GPUs.

AI-written summary · about

  1. 0:00Distributed LLM inference
  2. 0:41Model parallelization necessity
  3. 1:01Tensor vs pipeline parallelism
  4. 2:24OSS model parallelization
  5. 3:25PyTorch automatic partitioning
  6. 4:28Distributed inference challenges
  7. 5:30Checkpoint conversion for PyTorch
  8. 6:37TorchServe distributed inference
  9. 6:58Pipeline parallelism in TorchServe
  10. 7:38Tensor parallelism optimization
  11. 8:00Micro batching and continuous batching
  12. 8:43Streaming response API
  13. 9:49Real-world Inferentia 2 example
  14. 10:32Beyond parallelism optimizations
  15. 11:35TorchServe LLM roadmap
  16. 11:55Closing remarks
~/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.