vllm_omni.entrypoints.async_omni_base ¶
AsyncOmniBase: the asyncio-side foundation shared by AsyncOmni and DuplexOmni.
Owns the engine output pump (one consumer of the engine output queue that routes messages to per-request queues, ACK resolvers, or a subclass hook), engine-dead fan-out, health/shutdown, and the config accessors. Turn-based request handling lives in AsyncOmni; duplex sessions in DuplexOmni.
ABORT_TIMEOUT_S module-attribute ¶
AsyncEventResolver ¶
A generic signal aggregator designed for synchronized handshakes in distributed or multi-stage environments. Supports waiting for a specified number (expected_count) of worker signals in both inline and multiprocess modes.
AsyncOmniBase ¶
Bases: OmniBase
Shared asyncio foundation of the async entrypoints (see module docstring).
endpoint_restrictions instance-attribute ¶
model_config property ¶
Return the model config for the comprehension stage when present.
check_health async ¶
Check engine health by verifying the Orchestrator process is alive.
get_diffusion_od_config ¶
get_diffusion_od_config() -> Any | None
Return the diffusion-stage config when the pipeline has one.