[Rebase] Rebase to vllm 0.27.0 (#5976)

Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Zhou TaichangandClaude Opus 5 authored and GitHub committed 2026-08-11 15:23:46 +00:00
1 parent 584d78c673
commit 2ce15ab7a0
55 files changed
+1335 -93

No files matched your search

@@ -285,7 +285,17 @@ def test_cached_apply_hf_processor_expands_pair_miss_for_audio_hit_video_miss():
captured["mm_cache_keys"] = kwargs["mm_hashes"]
return MagicMock(name="mm_kwargs"), {"video": [[]], "audio": [[]]}
fake_self = SimpleNamespace(cache=cache, info=SimpleNamespace(model_id="m"))
fake_self = SimpleNamespace(
cache=cache,
info=SimpleNamespace(
model_id="m",
ctx=SimpleNamespace(
get_mm_config=lambda: SimpleNamespace(
mm_hasher_algorithm="sha256",
)
),
),
)
fake_self._get_hf_mm_data = MagicMock(return_value=({}, {}))
# Bound methods called via self inside _cached_apply_hf_processor.
fake_self._get_audio_in_video_pairs = lambda mm_data_items, hf_processor_mm_kwargs: (