mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-30 10:47:17 +08:00
fix pre-commit
Signed-off-by: bk-201 <joy25810@foxmail.com>
This commit is contained in:
parent
a9b9af91b2
commit
390ac9a4a4
@ -416,7 +416,11 @@ class InputProcessor:
|
||||
vary depending on the LoRA request. Therefore, the mm_hash must be
|
||||
generated based on the LoRA request to prevent incorrect cache hits.
|
||||
"""
|
||||
if lora_request is None or not self.lora_config.enable_tower_connector_lora:
|
||||
if (
|
||||
lora_request is None
|
||||
or self.lora_config is None
|
||||
or not self.lora_config.enable_tower_connector_lora
|
||||
):
|
||||
return mm_hash
|
||||
return f"{lora_request.lora_name}:{mm_hash}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user