Why are GPUs used to train deep learning models?
- Exam domain
- OCI AI infrastructure
- Difficulty
- Easy
- In this mock
- 5 questions on this domainPractise this domain
Why B is the answer
They run thousands of matrix operations in parallel
Neural network training is mostly large matrix multiplications. GPUs have thousands of cores that do this maths in parallel, so training runs much faster than on CPUs.
Remember: GPUs: parallel matrix maths.
In detail
- Training is matrix maths at scale.
- GPUs run that maths in parallel.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. They remove the need for training dataWrong
Hardware does not replace data.
B. They run thousands of matrix operations in parallelRight
GPUs: parallel matrix maths.
C. They store more data than disks canWrong
GPU memory is fast but far smaller than disk storage.
D. They run each single thread far faster than any CPU coreWrong
CPUs are usually faster per thread; GPUs win on parallel work.
Use case
An illustrative scenario, not a real incident.
Illustrative: an image model that takes days to train on CPUs trains in hours on a GPU server.
See it in different ways
flowchart TD
Q{"What is the workload?"}
Q -->|"Large matrix maths"| A0["GPU"]
Q -->|"General application logic"| A1["CPU"]How to read this chart
- At "What is the workload?": if "Large matrix maths", go to "GPU"; if "General application logic", go to "CPU".
mindmap
root(("GPU"))
n1["Parallel cores"]
n2["Thousands"]
n3["Memory"]
n4["High bandwidth"]
n5["Used for"]
n6["Training"]
n7["Inference"]How to read this chart
- The centre is "GPU".
- "Parallel cores" covers "Thousands".
- "Memory" covers "High bandwidth".
- "Used for" covers "Training", "Inference".