sglang-torch-profiler-analysis

Triage SGLang torch-profiler traces into kernel, overlap, and fuse-pattern tables.

410|14|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/OpenMOSS/MOSS-VL --skill sglang-torch-profiler-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sglang-torch-profiler-analysis
Source: https://github.com/OpenMOSS/MOSS-VL/tree/main/sglang/.claude/skills/sglang-torch-profiler-analysis
Command: npx skills add https://github.com/OpenMOSS/MOSS-VL --skill sglang-torch-profiler-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Triages SGLang torch-profiler traces to generate concise triage reports that summarize kernel activity, overlap opportunities, and fuse-pattern opportunities for quick diagnosis.

Core Features & Use Cases

  • Supports single-trace triage (one trace or live server) and dual-trace triage (mapping off + formal on) to compare kernel and overlap dynamics.
  • Outputs three structured tables (Kernel Table, Overlap Opportunity Table, Fuse Opportunity Table) plus a short narrative to guide next steps.
  • Automatically loads traces, builds per-stage kernel statistics, and surfaces compact, action-focused insights for model optimization.

Quick Start

Run the compact triage workflow on a trace path or a live server to generate the triage report.

Frequently Asked Questions about sglang-torch-profiler-analysis

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

FAQPage Schema
How do I triage SGLang torch-profiler traces for kernel optimization?

To triage SGLang torch-profiler traces, you can load a single trace path or a live server to generate a concise report that summarizes kernel activity, overlap opportunities, and fuse-pattern opportunities for quick diagnosis.

Can I compare mapping and formal torch-profiler traces to identify overlap opportunities?

Yes, dual-trace triage supports mapping off and formal on inputs to compare kernel and overlap dynamics. This workflow outputs an overlap-opportunity table that highlights actionable areas for model optimization.

What is included in a SGLang torch profile triage report?

A SGLang torch profile triage report includes three structured tables: a kernel table, an overlap-opportunity table, and a fuse-pattern table, accompanied by a short narrative that suggests actionable next steps.

Does this triage workflow require a live SGLang server to run?

No, a live SGLang server is not strictly required. The triage workflow supports single-trace input by loading a trace path directly, though it can also connect to a live server to generate the triage report.

How do I identify fuse-pattern opportunities from torch-profiler trace data?

You can identify fuse-pattern opportunities by running the compact triage workflow on your trace data, which automatically builds per-stage kernel statistics and surfaces action-focused insights in a dedicated fuse-pattern table.