Skip to content

Commit 869c37d

Browse files
committed
Raise error for data-parallel with benchmark_throughput
1 parent 652907b commit 869c37d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

benchmarks/benchmark_throughput.py

+4
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,10 @@ def validate_args(args):
520520
raise ValueError(
521521
"Tokenizer must be the same as the model for MII backend.")
522522

523+
# --data-parallel is not supported currently.
524+
# https://github.com/vllm-project/vllm/issues/16222
525+
if args.data_parallel_size > 1:
526+
raise ValueError("Data parallel is not supported currently.")
523527

524528
if __name__ == "__main__":
525529
parser = FlexibleArgumentParser(description="Benchmark the throughput.")

0 commit comments

Comments
 (0)