Can you solve this NVIDIA interview question? Your LLM service runs prefill for new prompts in the same batches as decoding for users who are already getting an answer. Whenever a long prompt comes in, every stream on those GPUs pauses and the time per output token jumps. You have two separate targets to hit: time to first token for new users and time per token for everyone mid-answer. How would you serve both?
#LLM #inference #GPU #machinelearning #techinterview