Files
vllm-omni/docs/design/module/ar_runtime.md
2026-08-10 19:25:03 +08:00

1.3 KiB

title, kind, status, owners, primary_code_paths, related_code_paths, depends_on, validation_paths, upstream_refs, last_reviewed
title kind status owners primary_code_paths related_code_paths depends_on validation_paths upstream_refs last_reviewed
Autoregressive Runtime module draft
@tzhouam
@yinpeiqi
@fake0fan
@Sy0307
@Gaohan123
vllm_omni/core/**
vllm_omni/worker/**
vllm_omni/model_executor/**
engine_orchestration.md
model_integration.md
input_output_modality_contracts.md
tests/core/**
tests/worker/**
vllm.v1.core
vllm.v1.worker
2026-07-16

Autoregressive runtime

The AR runtime extends vLLM scheduling and worker execution for omni-stage inputs and outputs while preserving vLLM scheduling and cache semantics.

Candidate invariants

AR-INV-001: vLLM owns base scheduling semantics

Rule: Omni schedulers MUST preserve upstream request-state and cache transitions unless an Omni-specific difference is documented and tested.

AR-INV-002: Omni data crosses explicit adapters

Rule: Modality-specific stage data MUST be converted at an input or output adapter, not injected through unrelated scheduler state.

AR-INV-003: Workers execute assigned work

Rule: Workers and model runners MUST NOT implement cross-stage routing.

Safe-change guide

Test request lifecycle, abort, cache state, and every affected worker execution mode against the supported upstream vLLM contract.