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
ba2f0acc
Unverified
Commit
ba2f0acc
authored
Mar 26, 2026
by
Cyrus Leung
Committed by
GitHub
Mar 25, 2026
Browse files
[Misc] Reorganize inputs (#35182)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
678b3c99
Changes
141
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vllm/v1/engine/llm_engine.py
vllm/v1/engine/llm_engine.py
+3
-3
No files found.
vllm/v1/engine/llm_engine.py
View file @
ba2f0acc
...
...
@@ -14,7 +14,7 @@ from vllm.config import ParallelConfig, VllmConfig
from
vllm.distributed
import
stateless_destroy_torch_distributed_process_group
from
vllm.distributed.parallel_state
import
get_dp_group
from
vllm.engine.arg_utils
import
EngineArgs
from
vllm.inputs
import
Processor
Input
s
,
PromptType
from
vllm.inputs
import
Engine
Input
,
PromptType
from
vllm.logger
import
init_logger
from
vllm.lora.request
import
LoRARequest
from
vllm.multimodal
import
MULTIMODAL_REGISTRY
,
MultiModalRegistry
...
...
@@ -96,7 +96,7 @@ class LLMEngine:
self
.
model_config
.
io_processor_plugin
,
)
# Convert
TokPromp
t --> EngineCoreRequest.
# Convert
EngineInpu
t --> EngineCoreRequest.
self
.
input_processor
=
InputProcessor
(
self
.
vllm_config
,
renderer
)
# Converts EngineCoreOutputs --> RequestOutput.
...
...
@@ -216,7 +216,7 @@ class LLMEngine:
def
add_request
(
self
,
request_id
:
str
,
prompt
:
EngineCoreRequest
|
PromptType
|
Processor
Input
s
,
prompt
:
EngineCoreRequest
|
PromptType
|
Engine
Input
,
params
:
SamplingParams
|
PoolingParams
,
arrival_time
:
float
|
None
=
None
,
lora_request
:
LoRARequest
|
None
=
None
,
...
...
Prev
1
…
4
5
6
7
8
Next
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