~/talk

Training large scale models using PyTorch

Talkat PyData Global 2023 · 2023-12-06..12-08· [machine-learning]
slides:none on file

Covers concrete methods and tradeoffs for scaling: using NCCL with distributed data parallel to double batch throughput when adding GPUs, pipeline parallelism to reduce idle time, and tensor parallelism to shard single huge layers across devices. Memory tactics include CPU offloading, activation checkpointing and mixed precision, plus fully sharded data parallel (FSDP) to shard params gradients and optimizer state. Notes torch.distributed primitives, elastic recovery, and active use of FSDP for multimodal foundation model training.

AI-written summary · about

  1. 0:00Training large scale models importance
  2. 1:49Scaling challenges and PyTorch solutions
  3. 3:11Distributed data parallel in PyTorch
  4. 7:06Model parallelism for large models
  5. 13:09Tensor parallelism for massive layers
  6. 16:43Memory reduction techniques
  7. 21:17Advanced PyTorch scaling features
  8. 21:59Q&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.