From e2ea025ee36468fe5b9f2f2a3e91d2741baeeffe Mon Sep 17 00:00:00 2001 From: bk-201 Date: Thu, 11 Dec 2025 03:46:27 +0000 Subject: [PATCH] address pre-commit & ci issue Signed-off-by: bk-201 --- tests/lora/test_qwenvl.py | 2 +- vllm/lora/model_manager.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/lora/test_qwenvl.py b/tests/lora/test_qwenvl.py index dfddbbd168894..2780f5e71dc21 100644 --- a/tests/lora/test_qwenvl.py +++ b/tests/lora/test_qwenvl.py @@ -153,7 +153,7 @@ EXPECTED_OUTPUTS_VISION_QWEN2_5_VL = [ EXPECTED_OUTPUTS_VISION_QWEN3_VL = [ "A black SUV drives past a stop sign in front of a Chinese gate.", - "A white tower is seen through pink flowers.", + "A tall white tower is seen through pink flowers.", ] # NOTE - beam search .text contains the whole text diff --git a/vllm/lora/model_manager.py b/vllm/lora/model_manager.py index a1270f032d2b8..c308e2958cc25 100644 --- a/vllm/lora/model_manager.py +++ b/vllm/lora/model_manager.py @@ -137,6 +137,9 @@ class LoRAModelManager: if not self.supports_mm_lora: return + assert vllm_config is not None, ( + "vllm_config should not be None when supports_mm_lora is True" + ) mm_budget = MultiModalBudget( model_config, vllm_config.scheduler_config,