CPU vs GPU
GPU 14 ms, CPU 162 ms: GPU 11x fasterWinner: GPUCPU 36 ms, GPU 156 ms: CPU 4x fasterWinner: CPUWork that splits into independent pieces goes to the GPU; work that runs step by step stays on the CPU.
Interview question
Why do AI models run on GPUs?
They are mostly huge matrix multiplies, where every output cell can be computed at the same time.
