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
0896c8ef
Commit
0896c8ef
authored
Aug 06, 2025
by
zhuwenwen
Browse files
update warmup_sampling_params
parent
c17574bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
benchmarks/benchmark_throughput.py
benchmarks/benchmark_throughput.py
+1
-1
vllm/perf/benchmark_throughput.py
vllm/perf/benchmark_throughput.py
+1
-1
No files found.
benchmarks/benchmark_throughput.py
View file @
0896c8ef
...
@@ -108,7 +108,7 @@ def run_vllm(
...
@@ -108,7 +108,7 @@ def run_vllm(
print
(
"Warming up..."
)
print
(
"Warming up..."
)
for
_
in
tqdm
(
range
(
num_iters_warmup
),
desc
=
"Warmup iterations"
):
for
_
in
tqdm
(
range
(
num_iters_warmup
),
desc
=
"Warmup iterations"
):
if
not
use_beam_search
:
if
not
use_beam_search
:
llm
.
generate
(
dummy_prompts
,
sampling_params
=
sampling_params
,
use_tqdm
=
False
)
llm
.
generate
(
dummy_prompts
,
sampling_params
=
warmup_
sampling_params
,
use_tqdm
=
False
)
else
:
else
:
llm
.
beam_search
(
llm
.
beam_search
(
dummy_prompts
,
dummy_prompts
,
...
...
vllm/perf/benchmark_throughput.py
View file @
0896c8ef
...
@@ -108,7 +108,7 @@ def run_vllm(
...
@@ -108,7 +108,7 @@ def run_vllm(
print
(
"Warming up..."
)
print
(
"Warming up..."
)
for
_
in
tqdm
(
range
(
num_iters_warmup
),
desc
=
"Warmup iterations"
):
for
_
in
tqdm
(
range
(
num_iters_warmup
),
desc
=
"Warmup iterations"
):
if
not
use_beam_search
:
if
not
use_beam_search
:
llm
.
generate
(
dummy_prompts
,
sampling_params
=
sampling_params
,
use_tqdm
=
False
)
llm
.
generate
(
dummy_prompts
,
sampling_params
=
warmup_
sampling_params
,
use_tqdm
=
False
)
else
:
else
:
llm
.
beam_search
(
llm
.
beam_search
(
dummy_prompts
,
dummy_prompts
,
...
...
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