vllm_omni.model_executor.duplex_sampling ¶
DuplexSamplingHelper ¶
Tracks duplex sampling rows outside the generic AR model runner.
DuplexSamplingRow dataclass ¶
Request-local context for the experimental duplex sampling hook.
DuplexSamplingRunnerMixin ¶
Runner-side wiring for the experimental duplex sampling hook.
GPU and NPU AR runners are siblings, not parent and child, so neither inherits the other's _sample. Keep the hook here and have each runner opt in, instead of copying the GPU _sample path and dropping the prepare_duplex_sampling call.