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
b3f7aacc
"...git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "bb4337b34c13fd704d8fd1afca30e22e1dbd9da7"
Unverified
Commit
b3f7aacc
authored
Feb 28, 2025
by
Thibault Schueller
Committed by
GitHub
Feb 28, 2025
Browse files
[V1][Minor] Restore V1 compatibility with LLMEngine class (#13090)
parent
b91660dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
vllm/engine/llm_engine.py
vllm/engine/llm_engine.py
+5
-0
No files found.
vllm/engine/llm_engine.py
View file @
b3f7aacc
...
@@ -2084,3 +2084,8 @@ class LLMEngine:
...
@@ -2084,3 +2084,8 @@ class LLMEngine:
sampling_params
.
logits_processors
.
extend
(
logits_processors
)
sampling_params
.
logits_processors
.
extend
(
logits_processors
)
return
sampling_params
return
sampling_params
# TODO(v1): Remove this class proxy when V1 goes default.
if
envs
.
VLLM_USE_V1
:
from
vllm.v1.engine.llm_engine
import
LLMEngine
# type: ignore
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