What problem does it solve?
This skill replaces one-off SGLang benchmark commands and manual tuning with a repeatable workflow for finding serving configurations that maximize throughput while meeting latency targets.
Core Features & Use Cases
- Tiered Configuration Search: Sweep server flags such as attention backends, batching limits, prefill settings, parallelism, and cache controls with bounded candidate budgets.
- Dataset Preparation and Validation: Convert ShareGPT, custom conversation data, random scenarios, and shared-prefix workloads into canonical benchmark JSONL and validate the resulting prompts and generation lengths.
- SLA and QPS Benchmarking: Search for the highest QPS that satisfies TTFT and TPOT targets, export CSV and JSONL results, preserve failed candidates, and support interruption and resume.
- Remote Run Observability: Mirror cleaned progress logs and final result artifacts from remote benchmark environments for local monitoring and review.
- Use Case: Tune a multi-GPU SGLang deployment for a real production request distribution, compare candidate launch configurations under latency SLAs, and optionally run a second-stage EAGLE or speculative decoding search.
Quick Start
Use the SGLang auto-benchmark skill to validate my dataset, run a tier-2 search against the specified model and latency SLA, and report the best configuration with paths to all result artifacts.