~/talk

Scaling Large Language Models: Getting Started with Large-Scale Parallel Training of LLMs

slides:none on file

Hands-on recipe for scaling LLMs using JAX on v2-8 TPUs (eight 8GB cores = 64GB total) with Colab notebooks at mintext.thedocs.io, showing block-matrix sharding on 8192×8192 tensors, the collectives used (all-gather / all-reduce / reduce-scatter) and a 2×4 device mesh example for tensor parallel 2x4 mesh. Demonstrates data-parallel, FSDP (Zero-3) memory savings by sharding params/grad/optim, cites 181 as a per-device batch threshold, notes LLaMA’s 48 A100s and “166 years” estimate on one A100, and a mini-GPT trained on TinyStories reaching coherent output after ~8,000 steps.

AI-written summary · about

  1. 0:00Introduction to scaling LLMs
  2. 1:06Setting up the tutorial
  3. 3:00Basics of parallelization
  4. 16:51Matrix multiplication on sharded data
  5. 29:59All gather and all reduce collectives
  6. 44:08Data parallelism explained
  7. 58:04Fully sharded data parallelism
  8. 1:07:05Tensor parallelism overview
  9. 1:16:30Other parallelism types summary
  10. 1:19:00Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.