Unverified Commit c013d32c authored by Zedong Peng's avatar Zedong Peng Committed by GitHub
Browse files

[Benchmark] Add cpu options to bench scripts (#3915)

parent 11dd6ebb
...@@ -169,8 +169,8 @@ if __name__ == '__main__': ...@@ -169,8 +169,8 @@ if __name__ == '__main__':
"--device", "--device",
type=str, type=str,
default="cuda", default="cuda",
choices=["cuda"], choices=["cuda", "cpu"],
help='device type for vLLM execution, supporting CUDA only currently.') help='device type for vLLM execution, supporting CUDA and CPU.')
parser.add_argument('--block-size', parser.add_argument('--block-size',
type=int, type=int,
default=16, default=16,
......
...@@ -329,8 +329,8 @@ if __name__ == "__main__": ...@@ -329,8 +329,8 @@ if __name__ == "__main__":
"--device", "--device",
type=str, type=str,
default="cuda", default="cuda",
choices=["cuda"], choices=["cuda", "cpu"],
help='device type for vLLM execution, supporting CUDA only currently.') help='device type for vLLM execution, supporting CUDA and CPU.')
parser.add_argument( parser.add_argument(
"--enable-prefix-caching", "--enable-prefix-caching",
action='store_true', action='store_true',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment