179 questions
No questions match those filters.
Describe continuous batching and why it is preferred ov...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansStatic batching requires waiting for all sequences in a batch to complete before accepting new requests, leading to significant inefficiencies as the batch must be padded to the length of the longest sequence. This wastes compute on pad tokens and blocks new requests. In contrast, continuous batching, or iteration-level scheduling, inserts new requests into the batch at each decode step immediately after any sequence finishes. This approach significantly improves GPU utilization, often increasing it from 30-50% to over 80% by eliminating padding waste and minimizing request queuing delays.