Agent Skills › uw-syfi/vibesys › serving-systems

serving-systems

GitHub

LLM及多模态推理服务系统开发技能,涵盖vLLM、SGLang等框架适配,NVIDIA/AMD/Apple Silicon等平台优化,以及延迟、吞吐、KV缓存、量化和MoE等技术细节。

skills/domains/serving-systems/SKILL.md uw-syfi/vibesys

Trigger Scenarios

模型部署到vLLM/SGLang/TensorRT-LLM 针对NVIDIA/AMD ROCm/Apple Silicon进行推理性能优化 解决推理服务的延迟、吞吐量或TTFT问题

Install

npx skills add uw-syfi/vibesys --skill serving-systems -g -y
More Options

Non-standard path

npx skills add https://github.com/uw-syfi/vibesys/tree/main/skills/domains/serving-systems -g -y

Use without installing

npx skills use uw-syfi/vibesys@serving-systems

指定 Agent (Claude Code)

npx skills add uw-syfi/vibesys --skill serving-systems -a claude-code -g -y

安装 repo 全部 skill

npx skills add uw-syfi/vibesys --all -g -y

预览 repo 内 skill

npx skills add uw-syfi/vibesys --list

SKILL.md

Frontmatter
{
    "name": "serving-systems",
    "description": "LLM and multimodal serving systems. Activate on inference servers, latency \/ throughput \/ TTFT \/ TPOT, KV-cache, batching, attention kernels, graph capture, speculative decoding, structured output, quantization, MoE, prefix caching, vision\/speech\/image\/video serving, porting a model to vLLM \/ SGLang \/ TensorRT-LLM, or serving on NVIDIA, AMD ROCm, Apple Silicon (MLX), or Trainium (Neuron, NKI)."
}

serving-systems

This skill bundles the curated reference material for LLM and multimodal serving-system development as a topic library under references/. Open the specific reference whose topic matches the task; do not preload everything.

How to use this skill

  1. Read this file once to learn what's covered.
  2. Open references/platforms/ first. Exactly one backend's directory is present — the one this run targets. Its floor.md is the optimization floor for your hardware.
  3. For the active task, identify the one or two topics that match it (use the index below).
  4. Open references/<tier>/<topic>.md directly with your file-read tool. Each is self-contained.

Start here: your platform's floor

The default-on optimizations are not the same across hardware, and applying one platform's floor to another produces wrong work — eliminating padding is correct on NVIDIA and inverted on Trainium; graph capture is required on NVIDIA and does not exist on Apple Silicon.

Open references/platforms/<backend>/floor.md for the backend present in this workspace. Only that platform's directory is materialized, so there is no ambiguity about which applies.

Read past floor.md before writing a conclusion. Each platform directory also holds the measurement discipline: turning a counter capture into a bound verdict, proving which kernel library actually ran, and the A/B protocol for before/after claims. Before quoting a "compute-bound"/"bandwidth-bound" verdict, a percent-of-peak or percent-of-bandwidth number, or a kernel-library-tuning recommendation, use that discipline instead of estimating from assumed model geometry (weight bytes, layer split, KV head/dim): an assumption is a hypothesis, not a measurement.

Portable contracts vs platform implementations

Topics split into two kinds, and the distinction is load-bearing:

  • Contracts (algorithms/, models/, tooling/, frameworks/) state the problem, the invariants any implementation must satisfy, and the failure modes. These are the same on every backend.
  • Implementations (platforms/<backend>/) give the technique for specific hardware.

Where a contract has a platform implementation, the contract links to it. Read the contract first — it tells you what must be true; the platform file tells you how to get there here.

Reference index

Each entry is one file under references/. The bracketed phrase shows what triggers it.

Platforms

One directory per compute backend, each with floor.md, hardware.md, and profiler.md plus its own kernel and framework notes. Only the selected backend's directory is present.

Serving algorithms (portable contracts)

Model architectures

Frameworks (cross-platform)

Platform-specific frameworks (MLX, native TorchNeuron) live under that platform's directory.

Engine source maps

Written against NVIDIA-first upstream trees; ROCm paths exist in vLLM and SGLang but are not the primary codepath.

API / benchmark / profiler tooling

Out of scope

Kernel implementation (writing CUDA / Triton / CUTLASS / HIP). For that, use the separate agent-gpu-skills collection.

Exception — NKI: writing NeuronCore kernels for AWS Trainium is in scope here, via the bundled neuron-nki-* skills (neuron-nki-writing, -docs, -debugging, -profiling, -profile-querying); there is no separate Trainium kernel collection.

Reference repos

The third_party/serving-repos/ directory at the repository root (outside this skill, never materialized to agents) holds full source trees of vLLM, SGLang, and TensorRT-LLM as git submodules. Engine-source-map references cite paths like $SERVE_REPOS/<engine>/...; export SERVE_REPOS=$(git rev-parse --show-toplevel)/third_party/serving-repos or substitute inline.

The SERVE_REPOS=<vibesys-root>/third_party/serving-repos layout exists only in a VibeSys checkout. In another repository, set SERVE_REPOS to your own reference-engine checkout directory; installing the skill does not install engines.

Version History

  • 3a50e8b Current 2026-11-02 13:57

Same Skill Collection

.agents/skills/add-agent-provider/SKILL.md
.agents/skills/add-bundled-skill/SKILL.md
.agents/skills/build-client-feature/SKILL.md
.agents/skills/change-container-images/SKILL.md
.agents/skills/create-issue/SKILL.md
.agents/skills/enforce-rules/SKILL.md
.agents/skills/open-pr/SKILL.md
.agents/skills/review-pr/SKILL.md
.agents/skills/software-design/SKILL.md
.agents/skills/testing/SKILL.md
.agents/skills/vs-init/SKILL.md
.agents/skills/write-agent-prompt/SKILL.md
.agents/skills/write-docs/SKILL.md
.agents/skills/write-skills/SKILL.md
.agents/skills/write-vibesys-tests/SKILL.md
resources/chat-skills/reading-ideas/SKILL.md
resources/chat-skills/results-against-base/SKILL.md
resources/chat-skills/run-roles/SKILL.md
resources/chat-skills/steering-a-run/SKILL.md
resources/skills/dial9-tokio/skills/dial9-diagnose-long-poll/SKILL.md
resources/skills/dial9-tokio/skills/dial9-red-flags/SKILL.md
resources/skills/dial9-tokio/skills/dial9-runtime/SKILL.md
resources/skills/dial9-tokio/skills/dial9-toolkit/SKILL.md
resources/skills/dial9-tokio/skills/dial9-trace-analysis/SKILL.md
resources/skills/dial9-tokio/skills/dial9-trace-loading/SKILL.md
resources/skills/dial9-tokio/skills/dial9-trace-recipes/SKILL.md
resources/skills/dial9-tokio/skills/dial9-zoom-window/SKILL.md
resources/skills/kernel-correctness/SKILL.md
resources/skills/kernel-ncu-analysis/SKILL.md
resources/skills/kernel-performance/SKILL.md
resources/skills/kernel-rocprof-analysis/SKILL.md
resources/skills/microservice-optimization/SKILL.md
resources/skills/neuron-agentic-development/skills/neuron-nki-debugging/SKILL.md
resources/skills/neuron-agentic-development/skills/neuron-nki-docs/SKILL.md
resources/skills/neuron-agentic-development/skills/neuron-nki-profiling/SKILL.md
resources/skills/serving-systems/SKILL.md
skills/domains/dial9-tokio/dial9-rank-bottlenecks/SKILL.md
skills/domains/dial9-tokio/skills/dial9-diagnose-long-poll/SKILL.md
skills/domains/dial9-tokio/skills/dial9-red-flags/SKILL.md
skills/domains/dial9-tokio/skills/dial9-runtime/SKILL.md
skills/domains/dial9-tokio/skills/dial9-toolkit/SKILL.md
skills/domains/dial9-tokio/skills/dial9-trace-analysis/SKILL.md
skills/domains/dial9-tokio/skills/dial9-trace-loading/SKILL.md
skills/domains/dial9-tokio/skills/dial9-trace-recipes/SKILL.md
skills/domains/dial9-tokio/skills/dial9-zoom-window/SKILL.md
skills/domains/kernel-correctness/SKILL.md
skills/domains/kernel-ncu-analysis/SKILL.md
skills/domains/kernel-performance/SKILL.md
skills/domains/kernel-rocprof-analysis/SKILL.md
skills/domains/kernel-timeline-analysis/SKILL.md

Metadata

Files
0
Version
3a50e8b
Hash
79b75611
Indexed
2026-11-02 13:57

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-07 06:18
浙ICP备14020137号-1