Fix bench latency benchmark (#1225)

This commit is contained in:
Liangsheng Yin
2024-08-28 00:37:32 -07:00
committed by GitHub
parent c8a9e79186
commit 1ece2cda3d
2 changed files with 9 additions and 6 deletions

View File

@@ -38,6 +38,11 @@ jobs:
cd test/srt
python3 -m unittest test_serving_throughput.TestServingThroughput.test_default
- name: Benchmark Serving Latency
timeout-minutes: 10
run: |
python3 -m sglang.bench_latency --model meta-llama/Meta-Llama-3.1-8B-Instruct --batch-size 1 --input 128 --output 8
- name: Benchmark Serving Throughput (w/o RadixAttention)
timeout-minutes: 10
run: |