D3: Choosing Training Hardware
Google Cloud Professional Machine Learning Engineer exam practice questions · 10 flashcards
Question
When CPUs?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Choosing Training Hardware practice questions and answers
- When CPUs?Small models, classic ML, preprocessing.
- When GPUs?Deep learning with broad framework support and custom ops.
- When TPUs?Large matrix-heavy models, large batch training in JAX/TensorFlow/PyTorch XLA.
- TPU limitation?Custom ops unsupported; best with XLA-compatible code.
- GPU memory consideration?Model and batch must fit memory.
- Cost optimization for accelerators?Spot VMs, right-size, reservations, Dynamic Workload Scheduler.
- Accelerator availability?Check region/zone and quota.
- High-bandwidth interconnect importance?Distributed training needs fast communication.
- Profiling hardware use?TensorBoard Profiler.
- Small dataset, simple model?CPU is sufficient.