mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 03:35:17 +08:00
[Frontend] Remove unreachable code from llm.py (#19288)
Signed-off-by: KsuParkhamchuk <k.parkhamchuk@gmail.com>
This commit is contained in:
parent
e1c4380d4c
commit
8335667c22
@ -519,7 +519,6 @@ class LLM:
|
|||||||
Sequence) and len(lora_request) != len(prompts):
|
Sequence) and len(lora_request) != len(prompts):
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"Lora request list should be the same length as the prompts")
|
"Lora request list should be the same length as the prompts")
|
||||||
return lora_request
|
|
||||||
|
|
||||||
if lora_request is None or isinstance(lora_request, LoRARequest):
|
if lora_request is None or isinstance(lora_request, LoRARequest):
|
||||||
return [lora_request] * len(prompts)
|
return [lora_request] * len(prompts)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user