D4: Tuning Models for Production
Google Cloud Professional Machine Learning Engineer exam practice questions · 10 flashcards
Question
Quantization?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Tuning Models for Production practice questions and answers
- Quantization?Lower precision weights (int8/fp8) to reduce size and latency.
- Pruning?Remove unimportant weights.
- How does distillation reduce serving cost?Smaller student model mimics a larger teacher.
- Optimized runtimes?TensorRT, XLA, optimized TensorFlow runtime, vLLM.
- Batch size tuning?Balance latency and throughput.
- Mixed precision training?Faster training with fp16/bf16.
- Caching predictions?Avoid recomputation for repeated inputs.
- Model size vs accuracy?Trade a little accuracy for big latency gains.
- Speculative decoding?Speeds LLM generation using a draft model.
- Why profile serving?Find bottlenecks before scaling hardware.