inference-autopilot

Benchmarks and tunes SGLang deployment configurations against measured workload and latency SLOs.

142|1|Updated Aug 14, 2026
One-click install
npx skills add https://github.com/rednote-machine-learning/Inference-autopilot --skill inference-autopilot-rednote-machine-learning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inference-autopilot
Source: https://github.com/rednote-machine-learning/Inference-autopilot
Command: npx skills add https://github.com/rednote-machine-learning/Inference-autopilot --skill inference-autopilot-rednote-machine-learning

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Choosing SGLang launch parameters for a specific model, GPU setup, and workload is guesswork that wastes GPU time and often ships suboptimal or SLO-violating configurations. This Skill runs an evidence-driven optimization loop that validates feasibility, benchmarks candidates, diagnoses bottlenecks, and emits a statistically confirmed launch command. ## Core Features & Use Cases - Automated SGLang tuning: Discovers hardware topology, regenerates the live ServerArgs parameter contract, screens candidate configurations, and confirms winners with repeated A/B and Bayesian evidence gates. - Bottleneck diagnosis: Captures bounded Nsight Systems traces and classifies bottlenecks across scheduling, KV cache, communication, MoE, and kernel layers before tuning. - Safe experimentation: Enforces trial, wall-time, and GPU-hour budgets, never kills foreign processes, and rejects candidates that fail correctness or SLO gates. - Use Case: Given a local model, 8 GPUs, and a p99 TTFT SLO, run the init/doctor/plan/run/report pipeline to receive a copy-paste SGLang launch command backed by measured evidence. ## Quick Start Ask the agent to create an inference-autopilot task for your local model and GPUs, then run doctor, plan, and run to produce an optimized SGLang launch command and report.

Frequently Asked Questions about inference-autopilot

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

FAQPage Schema
How do I optimize SGLang launch parameters for my GPU deployment?

Create a task with inferopt init, then run doctor and plan to validate feasibility before GPU experiments. Finally run inferopt run --yes and inferopt report to get a benchmarked, statistically confirmed launch command for your model, hardware, and workload.

How to diagnose inference serving bottlenecks with Nsight Systems?

The workflow captures a bounded Nsight Systems trace of steady-state serving and combines it with SGLang scheduler logs, cache telemetry, and CUDA Graph coverage. Raw observations are reduced to canonical bottleneck classes such as queueing, KV capacity, or communication before any tuning rule activates.

Does inference-autopilot support multi-host SGLang deployments?

Yes, cooperative multi-host runs are supported using one InferOpt control process per node under torchrun or an existing cluster scheduler. All nodes need the same model, SGLang environment, and InferOpt version, and the report emits one launch command per node.

Can I use this with AMD GPUs or non-SGLang inference engines?

AMD hardware inventory and planning are supported, but automatic AMD profiling and tuning are not yet implemented. The bundled automation targets SGLang; for other engines you must discover their launch, benchmark, and profiling interfaces manually.

What are the limitations of automated SGLang parameter tuning?

Results are bounded to the recorded model, SGLang version, hardware, workload, and budget, not a universal optimum. It never edits SGLang source, changes kernels, modifies precision without opt-in quality evidence, or deploys to production.