Continuous Batching & GPU Utilization Profiler
Compare legacy static request-level batching with iteration-level continuous batching to unlock 3x higher serving throughput on NVIDIA GPUs.
Workload Profile
Batch Scheduling Architecture
Short requests finish early, but their GPU slots remain completely idle until the longest request completes.
The scheduler checks for newly arrived requests at every single decode iteration step, backfilling slots instantly.
Continuous batching is only viable because PagedAttention manages memory dynamically in non-contiguous virtual blocks. Without PagedAttention, dynamically injecting new requests into active GPU batches would cause catastrophic out-of-memory errors due to fragmented contiguous tensors.