Improve benchmark scripts (#717)

This commit is contained in:
Ying Sheng
2024-07-24 14:44:14 -07:00
committed by GitHub
parent 08a3bd19cc
commit 30d8e130e7
3 changed files with 6 additions and 7 deletions

View File

@@ -5,6 +5,9 @@ Benchmark online serving.
Usage:
python3 -m sglang.bench_serving --backend sglang --num-prompt 10
python3 -m sglang.bench_serving --backend sglang --dataset-name random --num-prompts 3000 --random-input 1024 --random-output 1024 --random-range-ratio 0.5
python3 -m sglang.bench_serving --backend sglang --dataset-name random --request-rate-range 1,2,4,8,16,32 --random-input 4096 --random-output 1024 --random-range-ratio 0.125 --multi
"""
import argparse