A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 6, 04:30 UTC
[Bugfix][LoRA] Fix incorrect LoRA Log (#37877)
Signed-off-by: Jee Jee Li <pandaleefree@gmail.com>
Jee Jee Li committed
Mar 23, 2026 at 19:42 UTC
aec2dc6c0d744892af5c278b085f2b6883635be3
1 file changed
+3
-2
vllm/lora/worker_manager.py
+3
-2
@@ -148,8 +148,9 @@ class WorkerLoRAManager:
148
149
# Warn about adapter modules that will be ignored.
150
target_modules = self.lora_config.target_modules
151
+ expected_lora_modules_lst = list(expected_lora_modules)
152
for module_name in lora.loras:
152
- if not is_supported_lora_module(module_name, supported_lora_modules):
153
+ if not is_supported_lora_module(module_name, expected_lora_modules_lst):
154
logger.warning_once(
155
"LoRA module '%s' in adapter '%s' is not in the "
156
"model's supported LoRA target modules [%s]. "
@@ -157,7 +158,7 @@ class WorkerLoRAManager:
158
"cause abnormal model behavior.",
159
module_name,
160
lora_request.lora_path,
160
- ", ".join(sorted(supported_lora_modules)),
161
+ ", ".join(sorted(expected_lora_modules_lst)),
162
)
163
elif not is_in_target_modules(module_name, target_modules):
164
logger.warning_once(