Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
8335667c
Unverified
Commit
8335667c
authored
Jun 08, 2025
by
Kseniya Parkhamchuk
Committed by
GitHub
Jun 09, 2025
Browse files
[Frontend] Remove unreachable code from llm.py (#19288)
Signed-off-by:
KsuParkhamchuk
<
k.parkhamchuk@gmail.com
>
parent
e1c4380d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
vllm/entrypoints/llm.py
vllm/entrypoints/llm.py
+0
-1
No files found.
vllm/entrypoints/llm.py
View file @
8335667c
...
@@ -519,7 +519,6 @@ class LLM:
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment