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
ea3de5ef
Unverified
Commit
ea3de5ef
authored
Sep 16, 2025
by
Prashant Gupta
Committed by
GitHub
Sep 16, 2025
Browse files
[misc] fix typo in value error (#24995)
Signed-off-by:
Prashant Gupta
<
prashantgupta@us.ibm.com
>
parent
67532a1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/entrypoints/renderer.py
vllm/entrypoints/renderer.py
+1
-1
No files found.
vllm/entrypoints/renderer.py
View file @
ea3de5ef
...
@@ -383,7 +383,7 @@ class CompletionRenderer(BaseRenderer):
...
@@ -383,7 +383,7 @@ class CompletionRenderer(BaseRenderer):
"""Create validated EngineTokensPrompt."""
"""Create validated EngineTokensPrompt."""
if
max_length
is
not
None
and
len
(
token_ids
)
>
max_length
:
if
max_length
is
not
None
and
len
(
token_ids
)
>
max_length
:
raise
ValueError
(
raise
ValueError
(
f
"This maximum context length is
{
max_length
}
tokens. "
f
"This
model's
maximum context length is
{
max_length
}
tokens. "
f
"However, your request has
{
len
(
token_ids
)
}
input tokens. "
f
"However, your request has
{
len
(
token_ids
)
}
input tokens. "
"Please reduce the length of the input messages."
)
"Please reduce the length of the input messages."
)
...
...
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