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
73ae0b44
Unverified
Commit
73ae0b44
authored
Mar 09, 2025
by
Yuchen Yan
Committed by
GitHub
Mar 08, 2025
Browse files
[Bugfix] Fix tqdm progress bar when SamplingParams.n > 1 (#12428)
Signed-off-by:
Yuchen Yan
<
740987012@qq.com
>
parent
6d7f0377
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/entrypoints/llm.py
vllm/entrypoints/llm.py
+3
-1
No files found.
vllm/entrypoints/llm.py
View file @
73ae0b44
...
@@ -1394,6 +1394,8 @@ class LLM:
...
@@ -1394,6 +1394,8 @@ class LLM:
pbar
.
postfix
=
(
pbar
.
postfix
=
(
f
"est. speed input:
{
in_spd
:.
2
f
}
toks/s, "
f
"est. speed input:
{
in_spd
:.
2
f
}
toks/s, "
f
"output:
{
out_spd
:.
2
f
}
toks/s"
)
f
"output:
{
out_spd
:.
2
f
}
toks/s"
)
pbar
.
update
(
len
(
output
.
outputs
))
else
:
pbar
.
update
(
1
)
pbar
.
update
(
1
)
if
use_tqdm
:
if
use_tqdm
:
...
...
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