rebase: align vllm-omni with vLLM ac9126e58aa7

Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
tzhouam committed 2026-10-02 10:37:50 +08:00
1 parent 383cc5ef1d
commit 2721f16ca8
93 files changed
+1908 -547

No files matched your search

@@ -15,8 +15,7 @@ pytestmark = [pytest.mark.core_model, pytest.mark.cpu]
def test_dispatch_eager_and_manager_paths(monkeypatch, dp_size):
runner = object.__new__(OmniGPUModelRunner)
runner.cudagraph_manager = None
runner.dp_size = dp_size
runner.dp_rank = 1
runner.parallel_config = SimpleNamespace(data_parallel_size=dp_size, data_parallel_rank=1)
import vllm.v1.worker.gpu.dp_utils as dp_utils
@@ -52,7 +51,7 @@ def test_dispatch_eager_and_manager_paths(monkeypatch, dp_size):
return expected
runner.cudagraph_manager = SimpleNamespace(dispatch=dispatch)
runner.dp_size = 1
runner.parallel_config.data_parallel_size = 1
batch_desc, _ = runner._dispatch_batch_descriptor(
num_reqs=1, num_toks=8, uniform_tok_count=8, num_active_loras=0, use_eager=False, max_query_len=8
)