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
add9f1fb
Unverified
Commit
add9f1fb
authored
Feb 04, 2026
by
Nick Hill
Committed by
GitHub
Feb 05, 2026
Browse files
[Minor] Include `StreamingInput` in inputs package (#33856)
Signed-off-by:
Nick Hill
<
nickhill123@gmail.com
>
parent
e3bf79ff
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
tests/v1/e2e/test_streaming_input.py
tests/v1/e2e/test_streaming_input.py
+1
-1
tests/v1/streaming_input/test_async_llm_streaming.py
tests/v1/streaming_input/test_async_llm_streaming.py
+1
-1
vllm/inputs/__init__.py
vllm/inputs/__init__.py
+2
-0
vllm/v1/engine/async_llm.py
vllm/v1/engine/async_llm.py
+2
-2
No files found.
tests/v1/e2e/test_streaming_input.py
View file @
add9f1fb
...
...
@@ -19,7 +19,7 @@ import pytest
import
pytest_asyncio
from
vllm
import
SamplingParams
from
vllm.inputs
.data
import
StreamingInput
from
vllm.inputs
import
StreamingInput
from
vllm.outputs
import
RequestOutput
from
vllm.platforms
import
current_platform
from
vllm.sampling_params
import
RequestOutputKind
...
...
tests/v1/streaming_input/test_async_llm_streaming.py
View file @
add9f1fb
...
...
@@ -7,7 +7,7 @@ from unittest.mock import AsyncMock, MagicMock
import
pytest
from
vllm.inputs
.data
import
StreamingInput
from
vllm.inputs
import
StreamingInput
from
vllm.outputs
import
RequestOutput
from
vllm.sampling_params
import
RequestOutputKind
,
SamplingParams
from
vllm.v1.engine.async_llm
import
AsyncLLM
...
...
vllm/inputs/__init__.py
View file @
add9f1fb
...
...
@@ -12,6 +12,7 @@ from .data import (
PromptType
,
SingletonInputs
,
SingletonPrompt
,
StreamingInput
,
TextPrompt
,
TokenInputs
,
TokensPrompt
,
...
...
@@ -41,4 +42,5 @@ __all__ = [
"build_explicit_enc_dec_prompt"
,
"to_enc_dec_tuple_list"
,
"zip_enc_dec_prompts"
,
"StreamingInput"
,
]
vllm/v1/engine/async_llm.py
View file @
add9f1fb
...
...
@@ -16,8 +16,7 @@ from vllm import TokensPrompt
from
vllm.config
import
VllmConfig
from
vllm.engine.arg_utils
import
AsyncEngineArgs
from
vllm.engine.protocol
import
EngineClient
from
vllm.inputs
import
PromptType
from
vllm.inputs.data
import
StreamingInput
from
vllm.inputs
import
PromptType
,
StreamingInput
from
vllm.logger
import
init_logger
from
vllm.lora.request
import
LoRARequest
from
vllm.multimodal
import
MULTIMODAL_REGISTRY
,
MultiModalRegistry
...
...
@@ -461,6 +460,7 @@ class AsyncLLM(EngineClient):
self
.
_validate_streaming_input_sampling_params
(
sp
)
else
:
sp
=
sampling_params
# TODO(nick): Avoid re-validating reused sampling parameters
req
=
self
.
input_processor
.
process_inputs
(
request_id
=
internal_req_id
,
prompt
=
input_chunk
.
prompt
,
...
...
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