~/talk

Tips and tricks for distributed large model training

Talkat Google I/O 2022 · 2022-05-11..05-12· [large-language-models, machine-learning]
links:none on file
slides:none on file

Overview of practical distributed training strategies with concrete tooling and results: shows training a 39-billion-parameter language model on Cloud TPUs using XLA SPMD and the T5X framework, demonstrates pipeline (GPipe) and tensor (Mesh TensorFlow style) sharding with AllGather/ReduceScatter communication, explains rematerialization vs offload trade-offs and device mesh specs (example TPU VM 3×8 setup with Jupyter), and reports high measured vs effective FLOP utilizations across TPU v4 clusters when iterating sharding configs.

AI-written summary · about

  1. 0:00Start
  2. 1:16Data Parallelism
  3. 6:22Pipeline Parallel
  4. 6:47Tensor Parallel
  5. 7:19Model Parallelism Approaches
  6. 9:16Spatial Partitioning
  7. 17:15Compute and Communication Overlap
~/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.