~/talk

Supercharge your training on TPUs

Talkat PyData Global 2022 · 2022-12-01..12-03· [machine-learning, python]
links:none on file
slides:none on file

Claims end-to-end TPU training with concrete tools and commands: shows using PyTorch XLA tensors, xm.mark_step and spawn to run a single core versus an eight‑core TPU pod, and how the Lightning trainer flags (accelerator, devices, strategy) replace the usual boilerplate. Demonstrates integration with DDP/FairScale/ColossalAI, notes where debugging and checkpoints fail, and gives concrete numbers (one TPU chip equals eight cores) and the exact code changes needed to scale.

AI-written summary · about

  1. 0:00Welcome
  2. 1:11ML accelerators: TPUs vs GPUs
  3. 5:04Distributed training necessity
  4. 7:11Data and model parallelism
  5. 9:39PyTorch Lightning architecture
  6. 11:05PyTorch Lightning basics
  7. 14:38Trainer flags for distributed training
  8. 19:13Lightning vs vanilla PyTorch
  9. 20:58TPUs and their architecture
  10. 22:26PyTorch on TPUs setup
  11. 23:32Vanilla PyTorch vs PyTorch XLA
  12. 24:39Single vs multi-TPU training
  13. 26:24Training trillion-parameter models
~/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.