SpinTheMic
Pro

Interview practice question

Model too slow in production

Machine Learning · Deep Learning · Intermediate

Your transformer-based model takes 300 milliseconds per request, but you need under 50. What do you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Profile first.
  • Distill into a smaller model.
  • Quantize and use optimized runtimes (ONNX Runtime, TensorRT).
  • Shorten inputs; batch requests.
  • Use GPUs or caching where appropriate.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics