Skip to content

vllm.v1.core.sched.pp_utils

Classes:

  • PPMicrobatchCap –

    Caps each PP step's token budget at the uncached prefill backlog /

PPMicrobatchCap

Caps each PP step's token budget at the uncached prefill backlog / pp_size (at least min_tokens) plus running decode tokens, so a light prefill load is split into chunks that fill every pipeline stage.

Methods:

  • create –

    None without PP, when disabled, or when prefills can't be freely

create(scheduler, pp_size) classmethod

None without PP, when disabled, or when prefills can't be freely chunked.