Unverified Commit 3b34fd52 authored by Kartik Ramesh's avatar Kartik Ramesh Committed by GitHub
Browse files

Raise error for data-parallel with benchmark_throughput (#16737)


Signed-off-by: default avatarKartik Ramesh <kartikx2000@gmail.com>
Co-authored-by: default avatarSimon Mo <simon.mo@hey.com>
parent 55d6d3fd
...@@ -523,6 +523,13 @@ def validate_args(args): ...@@ -523,6 +523,13 @@ def validate_args(args):
raise ValueError( raise ValueError(
"Tokenizer must be the same as the model for MII backend.") "Tokenizer must be the same as the model for MII backend.")
# --data-parallel is not supported currently.
# https://github.com/vllm-project/vllm/issues/16222
if args.data_parallel_size > 1:
raise ValueError(
"Data parallel is not supported in offline benchmark, \
please use benchmark serving instead")
if __name__ == "__main__": if __name__ == "__main__":
parser = FlexibleArgumentParser(description="Benchmark the throughput.") parser = FlexibleArgumentParser(description="Benchmark the throughput.")
......
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