Accuracy
LLMs
SGLang provides built-in scripts to evaluate common benchmarks. MMLUCommand
Command
Command
Command
Command
VLMs
MMMUCommand
VideoMME, MVBench, and other relevant benchmarks.
Performance
Performance benchmarks measure Latency (Time To First Token - TTFT) and Throughput (tokens/second).LLMs
Latency-Sensitive Benchmark This simulates a scenario with low concurrency (e.g., single user) to measure latency.Command
Command
Command
- Low Concurrency:
--num-prompts 10 --max-concurrency 1 - Medium Concurrency:
--num-prompts 80 --max-concurrency 16 - High Concurrency:
--num-prompts 500 --max-concurrency 100
Reporting Results
For each evaluation, please report:- Metric Score: Accuracy % (LLMs and VLMs); Latency (ms) and Throughput (tok/s) (LLMs only).
- Environment settings: GPU type/count, SGLang commit hash.
- Launch configuration: Model path, TP size, and any special flags.
- Evaluation parameters: Number of shots, examples, max tokens.
