Tell me about a time you had to optimize a model's inference latency for a real-time production application. What trade-offs did you make?