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
19a3c78d
Unverified
Commit
19a3c78d
authored
May 12, 2025
by
Li Wang
Committed by
GitHub
May 12, 2025
Browse files
[Bugfix] Fix pydantic.errors.PydanticUserError (#17962)
Signed-off-by:
wangli
<
wangli858794774@gmail.com
>
parent
ada50aa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vllm/entrypoints/openai/serving_engine.py
vllm/entrypoints/openai/serving_engine.py
+7
-1
No files found.
vllm/entrypoints/openai/serving_engine.py
View file @
19a3c78d
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: Apache-2.0
import
json
import
json
import
sys
import
time
import
time
from
collections.abc
import
(
AsyncGenerator
,
Iterable
,
Iterator
,
Mapping
,
from
collections.abc
import
(
AsyncGenerator
,
Iterable
,
Iterator
,
Mapping
,
Sequence
)
Sequence
)
from
concurrent.futures.thread
import
ThreadPoolExecutor
from
concurrent.futures.thread
import
ThreadPoolExecutor
from
http
import
HTTPStatus
from
http
import
HTTPStatus
from
typing
import
(
Annotated
,
Any
,
Callable
,
ClassVar
,
Generic
,
Optional
,
from
typing
import
(
Annotated
,
Any
,
Callable
,
ClassVar
,
Generic
,
Optional
,
TypedDict
,
TypeVar
,
Union
)
TypeVar
,
Union
)
from
fastapi
import
Request
from
fastapi
import
Request
from
pydantic
import
BaseModel
,
ConfigDict
,
Field
from
pydantic
import
BaseModel
,
ConfigDict
,
Field
from
starlette.datastructures
import
Headers
from
starlette.datastructures
import
Headers
if
sys
.
version_info
>=
(
3
,
12
):
from
typing
import
TypedDict
else
:
from
typing_extensions
import
TypedDict
import
vllm.envs
as
envs
import
vllm.envs
as
envs
from
vllm.config
import
ModelConfig
from
vllm.config
import
ModelConfig
from
vllm.engine.protocol
import
EngineClient
from
vllm.engine.protocol
import
EngineClient
...
...
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