quantization
AI, ML & GenAI interview questions tagged quantization, across every topic.
18 questions · 4 unlocked for you
Concepts behind "quantization"
The curriculum that explains the ideas these questions test.
Core
Quantization and Low PrecisionQuantization holds and runs model weights (and activations) at fewer bits, FP16/BF16, FP8, INT8, INT4, rather than FP32, shrinking memory and accelerating inference for some accuracy cost. It is the primary way to fit a large model onto a given GPU and serve it cheaply, and it sits behind QLoRA fine-tuning and KV-cache compression. AI, ML, and GenAI engineer interviews probe it because 'how do you serve a 70B model affordably?' typically opens with quantization, so the precision ladder and its trade-offs are must-know material.🖥️ ML Infrastructure & ServingSign in
Core
Mixed-Precision TrainingMixed-precision training runs most computation in 16-bit (FP16 or BF16) rather than 32-bit, roughly halving memory and accelerating training on modern GPUs, while holding a few numerically-sensitive parts in FP32 for stability. BF16 is favored over FP16 because it retains FP32's exponent range, sidestepping the overflow/underflow that FP16 needs loss scaling to handle. AI, ML, and GenAI engineer interviews probe it because it is standard practice for training at scale and a clean example of the precision-vs-stability trade-off.🖥️ ML Infrastructure & ServingSign in
