All jobs / AI engineer / Open-Source & Local Models
AI engineer interview question · 1–3 years
What is quantization, and what do you give up for it?
The strongest answer
Storing the weights at lower numeric precision, so the model needs less memory and often runs faster. Some quality is lost, more as precision drops, so I re-run my eval on the quantized model
Why it works
Exactly — fewer bits per weight. Moderate quantization often costs little and aggressive quantization can hurt, and the damage depends on the task, so you measure.
What a good answer covers
- Fewer bits per weight, some quality lost.
- Less memory, often more speed.
- Loss grows as precision drops.
- Re-run the eval after quantizing.
Answers that fall short
- Close, but not the strongest: It compresses the model so that it fits on smaller and cheaper hardware
Right effect, but name the mechanism — lower precision — and the cost: quality can drop, which is why you re-evaluate. - Weak: It deletes the less important parameters to make the model smaller
That is pruning. Quantization keeps the parameters and stores each one less precisely. - Red flag: It is lossless, like zipping a file, so there is nothing to check afterwards
It is lossy by definition. Assuming no loss and skipping the check is how a quiet quality drop reaches users.
Who gets asked this
More Open-Source & Local Models questions
- The team wants to serve real users from the laptop prototype’s local runner. What do you tell them?
- A self-hosted model runs out of GPU memory only on long prompts or with several users. Why, and how do you…
- You serve a model through an inference server such as vLLM. What does continuous batching give you, and what…
- Leadership asks whether to self-host an open-weight model or keep paying for a hosted API. How do you frame…
- A customer insists that the model must run locally “for privacy”. What do you do with that requirement?
- What is the difference between an “open-weight” model and an open-source one, and why does it matter to you…
- What does a bigger model buy you, what does it cost, and how do you choose a size?