Rebase 2026/02/23

Update Dockerfile for vllm wheel version and enhance input processing in Omni models. Added decoding for byte messages in async requests, included new metrics in benchmarks, and improved pause state handling in the scheduler. Refined input and output processing methods for better multimodal support and error handling.

Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
tzhouam committed 2026-02-23 03:36:01 +00:00
1 parent 292da4b0d8
commit bf69cd94bb
9 files changed
+90 -77

No files matched your search

@@ -6,6 +6,7 @@ from vllm.distributed.kv_events import KVEventBatch
from vllm.distributed.kv_transfer.kv_connector.v1.metrics import KVConnectorStats
from vllm.logger import init_logger
from vllm.v1.core.kv_cache_manager import KVCacheBlocks
from vllm.v1.core.sched.interface import PauseState
from vllm.v1.core.sched.output import SchedulerOutput
from vllm.v1.core.sched.request_queue import create_request_queue
from vllm.v1.core.sched.scheduler import Scheduler as VLLMScheduler
@@ -39,8 +40,12 @@ class OmniGenerationScheduler(VLLMScheduler):
"""
token_budget = self.max_num_scheduled_tokens
if self._pause_state == PauseState.PAUSED_ALL:
token_budget = 0
scheduled_timestamp = time.monotonic()
self.kv_cache_manager.new_step_starts()
scheduled_new_reqs: list[Request] = []
req_to_new_blocks: dict[str, KVCacheBlocks] = {}
@@ -116,7 +121,12 @@ class OmniGenerationScheduler(VLLMScheduler):
# Fast path selection and scheduling (treat all as diffusion requests,
# independent of pooling_params)
while self.waiting and token_budget > 0 and len(self.running) < self.max_num_running_reqs:
while (
self.waiting
and token_budget > 0
and len(self.running) < self.max_num_running_reqs
and self._pause_state == PauseState.UNPAUSED
):
request = self.waiting.peek_request()
# OMNI: Skip requests that are not in self.requests
if request.request_id not in self.requests or (