Training throughput on Tensor Core GPUs is far below expectations, and the model runs entirely in FP32. Which change most directly uses the hardware better?
- Exam domain
- GPU Acceleration and Optimization14% of the exam
- Difficulty
- Medium
- In this mock
- 8 questions on this domainPractise this domain
Why the exam asks this
GPU Acceleration and Optimization (14% of the exam).
Objective in the exam guide: Apply Tensor Core and mixed-precision optimizations and batch/memory management for efficient throughput.
Tensor Cores are idle in pure FP32.
Why A is the answer
Enable mixed precision so matrix math runs in reduced precision on Tensor Cores
Tensor Cores accelerate reduced-precision math; mixed precision lets training use them while keeping critical parts in FP32.
How it works
Math operations run much faster in reduced precision on GPUs with Tensor Cores.
Mixed precision keeps critical values in single precision.
NVIDIA reports large training speedups from switching to mixed precision.
Clues in the question
The words that point to the answer, and what each one tells you.
- Entirely FP32 on Tensor Core GPUs
- Tensor Cores unused.
In detail
- Use loss scaling with FP16.
- Keep tensor dimensions multiples of 8 for Tensor Core efficiency.
Side by side with look-alikes
| Change | Uses Tensor Cores? |
|---|---|
| Mixed precision | Yes |
| More loader workers | No |
| Batch size 1 | No |
| Disable cuDNN | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Enable mixed precision so matrix math runs in reduced precision on Tensor CoresRight
Tensor Cores accelerate reduced-precision math; mixed precision lets training use them while keeping critical parts in FP32.
B. Increase the number of data loader workers onlyWrongMost tempting
Loading may not be the bottleneck.
Why it tempts: It helps if loading is the bottleneck. But FP32 math is the issue here.
C. Lower the batch size to 1Wrong
Tiny batches underuse the GPU.
D. Disable cuDNNWrong
Disabling optimized libraries slows training.
In practice
- Profile with Nsight Systems before and after to confirm the gain.