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
10585e03
Unverified
Commit
10585e03
authored
Mar 15, 2024
by
Robert Shaw
Committed by
GitHub
Mar 16, 2024
Browse files
Removed Extraneous Print Message From OAI Server (#3440)
parent
fb96c1e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
vllm/entrypoints/openai/serving_completion.py
vllm/entrypoints/openai/serving_completion.py
+0
-3
No files found.
vllm/entrypoints/openai/serving_completion.py
View file @
10585e03
...
...
@@ -309,10 +309,7 @@ class OpenAIServingCompletion(OpenAIServing):
except
ValueError
as
e
:
# TODO: Use a vllm-specific Validation Error
data
=
self
.
create_streaming_error_response
(
str
(
e
))
print
(
"yield"
,
f
"data:
{
data
}
\n\n
"
)
yield
f
"data:
{
data
}
\n\n
"
print
(
"yield"
,
"data: [DONE]
\n\n
"
)
yield
"data: [DONE]
\n\n
"
def
request_output_to_completion_response
(
...
...
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