vllm_omni.model_executor.models.personaplex.duplex.policy ¶
PersonaPlex frame/token contract (the model policy, no engine state).
This mirrors the minicpmo45 model-package layout from PR #3907: the token contract lives in policy.py, the model-owned runtime in runtime.py. Everything here is a constant or a pure function of the checkpoint's lockstep conventions; nothing touches weights, devices, or streaming state.
Frame layout per 80 ms tick: 17 token rows -- row 0 inner-monologue text, rows 1-8 agent audio codebooks, rows 9-16 user audio codebooks.
PrefillStep dataclass ¶
One tick of a recycled slot's system-prompt replay (see batched serving).