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
75011627
Commit
75011627
authored
Aug 01, 2024
by
zhuwenwen
Browse files
update num_prompts
parent
b0b9d2d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
benchmarks/benchmark_throughput.py
benchmarks/benchmark_throughput.py
+1
-1
No files found.
benchmarks/benchmark_throughput.py
View file @
75011627
...
@@ -127,7 +127,7 @@ def run_vllm(
...
@@ -127,7 +127,7 @@ def run_vllm(
# warmup
# warmup
dummy_prompt_token_ids
=
np
.
random
.
randint
(
10000
,
dummy_prompt_token_ids
=
np
.
random
.
randint
(
10000
,
size
=
(
args
.
batch_size
,
size
=
(
args
.
num_prompts
,
args
.
input_len
))
args
.
input_len
))
dummy_inputs
:
List
[
PromptInputs
]
=
[{
dummy_inputs
:
List
[
PromptInputs
]
=
[{
"prompt_token_ids"
:
batch
"prompt_token_ids"
:
batch
...
...
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