~/talk

PyTorch on Google Cloud TPUs

links:none on file
slides:none on file

PyTorch gains official Google Cloud TPU support in version 1.3 via torch_xla, using a lazy tensor architecture that records graphs and compiles them with XLA; users run existing ResNet and transformer code with almost no changes. Experimental Cloud TPU Pods support scales from 32/64-core slices up to 2,048 cores and shows large speedups (ResNet‑50 training measured faster than single‑host v3-8). Key details: run with torch_xla.distributed launcher, add spawn, call the torch_xla optimizer step to trigger execution, and watch compile time metrics for debug.

AI-written summary · about

  1. 0:00Introduction
  2. 8:41Example Code
  3. 9:27Model
  4. 10:14Devices
  5. 10:47Data Sets
  6. 11:39Distributed Data Parallel
  7. 12:22Distributed Launcher
  8. 12:40Spawn Call
  9. 13:27Training
  10. 14:22Gradient Clipping
  11. 14:51Data Loaders
  12. 15:40Logging Debugging
  13. 16:33Getting Started
  14. 16:52Final Thoughts
  15. 18:00Facebook
~/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.