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
717f4bce
Unverified
Commit
717f4bce
authored
Jul 08, 2024
by
Haichuan
Committed by
GitHub
Jul 08, 2024
Browse files
Feature/add benchmark testing (#5947)
Co-authored-by:
Roger Wang
<
ywang@roblox.com
>
parent
16620f43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
benchmarks/benchmark_serving.py
benchmarks/benchmark_serving.py
+3
-3
No files found.
benchmarks/benchmark_serving.py
View file @
717f4bce
...
@@ -483,10 +483,10 @@ def main(args: argparse.Namespace):
...
@@ -483,10 +483,10 @@ def main(args: argparse.Namespace):
elif
args
.
dataset_name
==
"random"
:
elif
args
.
dataset_name
==
"random"
:
input_requests
=
sample_random_requests
(
input_requests
=
sample_random_requests
(
input_len
=
args
.
input_len
,
input_len
=
args
.
random_
input_len
,
output_len
=
args
.
output_len
,
output_len
=
args
.
random_
output_len
,
num_prompts
=
args
.
num_prompts
,
num_prompts
=
args
.
num_prompts
,
range_ratio
=
args
.
range_ratio
,
range_ratio
=
args
.
random_
range_ratio
,
tokenizer
=
tokenizer
,
tokenizer
=
tokenizer
,
)
)
...
...
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