sglang-amd-bench

Benchmarks sglang on AMD GPUs using Python scripts and parallel configurations.

1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/alexsun07/agent_skills --skill sglang-amd-bench
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sglang-amd-bench
Source: https://github.com/alexsun07/agent_skills/tree/main/skills/sglang-amd-bench
Command: npx skills add https://github.com/alexsun07/agent_skills --skill sglang-amd-bench

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sglang, aiter, mori, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to benchmark the performance of sglang on AMD GPUs with various parallel configurations, providing insights into throughput, latency, and configuration optimization.

Core Features & Use Cases

  • Parallel Configurations: Benchmarks sglang serving on AMD GPUs with configurations such as TP, DP, and EP, across different workload shapes like ISL, OSL, and concurrency.
  • Performance Metrics: Collects key metrics like TTFT, TPOT, throughput, and per-GPU throughput for analysis.
  • Configuration Comparison: Compares the performance of different configurations to identify the most efficient setup.

Quick Start

Run the sglang-amd-bench skill with the following command:

sglang-amd-bench run --model /path/to/model --config DP8EP8

Frequently Asked Questions about sglang-amd-bench

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I benchmark sglang performance on AMD GPUs?

To benchmark sglang performance on AMD GPUs, run the benchmarking scripts with your specified model path and parallel configuration, such as TP, DP, or EP, to collect throughput and latency metrics.

What performance metrics are collected when benchmarking sglang on AMD GPUs?

Benchmarking sglang on AMD GPUs collects key performance metrics including Time To First Token (TTFT), Time Per Output Token (TPOT), overall throughput, and per-GPU throughput to evaluate serving efficiency.

Do I need aiter and mori to run sglang benchmarks on AMD GPUs?

Yes, you need aiter and mori dependencies alongside sglang to properly execute server setup and benchmarking scripts for evaluating deep learning models on AMD GPU hardware configurations.

Can I compare different parallel configurations like TP, DP, and EP for sglang serving?

Yes, you can compare different parallel configurations for sglang serving. The benchmarking process evaluates setups like TP, DP, and EP across various workload shapes including ISL, OSL, and concurrency levels to identify the most efficient configuration.

What is the best way to optimize sglang throughput and latency on AMD GPUs?

The best way to optimize sglang throughput and latency on AMD GPUs is by running comparative benchmarks across different workload shapes and parallel configurations to identify the most efficient serving setup for your specific model.

Why does my sglang serving configuration show low per-GPU throughput on AMD GPUs?

Low per-GPU throughput during sglang serving on AMD GPUs often indicates a suboptimal parallel configuration, which can be diagnosed by benchmarking different workload shapes like ISL, OSL, and concurrency to find a more efficient setup.