Extract Kernel Definitions

Generate Definition JSON files for the flashinfer-trace HuggingFace dataset by harvesting them from a short SGLang inference pass (FlashInfer's @flashinfer_api(trace=...) dumper) — or, as a fallback, by manually transcribing the schema from SGLang sources when FlashInfer doesn't yet have a trace template. Use when adding a new model, extracting GPU kernels (MLA, MoE, GQA, RMSNorm, GEMM, GDN, RoPE, sampling), or filling gaps in the dataset.

flashinfer-ai Updated

File contents

flashinfer-ai/flashinfer-bench/tree/main/.claude/skills/extract-kernel-definitions commit 72d8131f2a

Frequently asked questions

npx skillmds@latest add flashinfer-ai-flashinfer-bench/extract-kernel-definitions