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
c013d32c
Unverified
Commit
c013d32c
authored
Apr 10, 2024
by
Zedong Peng
Committed by
GitHub
Apr 09, 2024
Browse files
[Benchmark] Add cpu options to bench scripts (#3915)
parent
11dd6ebb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
benchmarks/benchmark_latency.py
benchmarks/benchmark_latency.py
+2
-2
benchmarks/benchmark_throughput.py
benchmarks/benchmark_throughput.py
+2
-2
No files found.
benchmarks/benchmark_latency.py
View file @
c013d32c
...
...
@@ -169,8 +169,8 @@ if __name__ == '__main__':
"--device"
,
type
=
str
,
default
=
"cuda"
,
choices
=
[
"cuda"
],
help
=
'device type for vLLM execution, supporting CUDA
only currently
.'
)
choices
=
[
"cuda"
,
"cpu"
],
help
=
'device type for vLLM execution, supporting CUDA
and CPU
.'
)
parser
.
add_argument
(
'--block-size'
,
type
=
int
,
default
=
16
,
...
...
benchmarks/benchmark_throughput.py
View file @
c013d32c
...
...
@@ -329,8 +329,8 @@ if __name__ == "__main__":
"--device"
,
type
=
str
,
default
=
"cuda"
,
choices
=
[
"cuda"
],
help
=
'device type for vLLM execution, supporting CUDA
only currently
.'
)
choices
=
[
"cuda"
,
"cpu"
],
help
=
'device type for vLLM execution, supporting CUDA
and CPU
.'
)
parser
.
add_argument
(
"--enable-prefix-caching"
,
action
=
'store_true'
,
...
...
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