Loading slide

The GPU Moment

  1. 01The GPU Moment
  2. 02One thing first
  3. 03Why training is slow
  4. 04What a GPU actually does
  5. 05The realization
  6. 06The scale this enabled
  7. 07Something unexpected
  8. 08Take a breath
  9. 09Data and compute
  10. 10Memory card
  11. 11Reinforce your understanding
  12. 12Question: Why GPUs and not faster CPUs?
  13. 13Question: Three ingredients
  14. 14Question: Why the field sped up
  15. 15Quiz: answer
  16. 16The hardware was ready. The data existed.
  17. 17Want to go deeper?
3 / 16
BackNext

Why training is slow

We spent the whole last module on what training does. Here is what it costs: relentless arithmetic.

Every training example gets passed through every layer. Every weight gets multiplied by something. Every error gets traced back through the whole network, and every weight gets nudged. Then the next example. Then the next. Across millions of examples, across millions of weights, repeated thousands of times over. The guess-measure-nudge loop from the last module, run an almost unimaginable number of times.

The chip at the center of an ordinary computer, the , was built for a different kind of work. A CPU is brilliant at doing one complicated thing very quickly: a calculation, then the next that depends on it, then the next. It handles things in sequence, step by step.

Training doesn't need that. Most of its calculations don't depend on each other at all. In principle, you could run all of them , at the same time.

A CPU does one thing at a time, very fast. Training needed something else entirely.

Citations(2)↓
  1. 1. dl.acm.org
  2. 2. developer.nvidia.com
Citations(2)↓
  1. 1. dl.acm.org
  2. 2. developer.nvidia.com