flashinfer-dev-skills

Modify, pack, and test FlashInfer contest kernels with Modal validation.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/LeightonWang/flashinfer --skill flashinfer-dev-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flashinfer-dev-skills
Source: https://github.com/LeightonWang/flashinfer/tree/main/.github/skills/flashinfer-dev-skills
Command: npx skills add https://github.com/LeightonWang/flashinfer --skill flashinfer-dev-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides fast, reliable iteration on FlashInfer contest kernels so you can update implementations without breaking the benchmark workflow.

Core Features & Use Cases

  • Kernel Editing: Update Triton or CUDA kernel source files for the contest solution.
  • Packaging Workflow: Pack the solution into the required submission format after code changes.
  • Validation Runs: Test changes on Modal with a small subset of workloads before full evaluation.
  • Use Case: A developer improving a Triton kernel can modify the implementation, pack the solution, and run a quick Modal check to confirm correctness and performance before submitting.

Quick Start

Use this Skill to edit the FlashInfer kernel, pack the solution, and run a small Modal test to verify the changes.

Frequently Asked Questions about flashinfer-dev-skills

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

FAQPage Schema
How do I package and test FlashInfer kernels for contest submissions?

To package and test FlashInfer kernels, modify the Triton or CUDA source files, generate the required solution.json from the source files, and run Modal tests with a reduced max-workloads setting for safe validation.

Can I validate CUDA or Triton kernel changes locally before a full evaluation run?

Yes, you can validate CUDA or Triton kernel changes by running Modal tests with a small subset of workloads. This reduced max-workloads setting ensures quick correctness and performance checks before full submission.

What is the standard run entrypoint requirement for FlashInfer contest solutions?

The standard run entrypoint must be preserved when modifying and packaging FlashInfer contest solutions. The workflow generates solution.json from the source files while maintaining this entrypoint for benchmark compatibility.

How do I iterate on Triton kernels without breaking the FlashInfer benchmark workflow?

You can iterate on Triton kernels by editing the implementation, packing the updated code into the submission format, and running a quick Modal test to verify correctness and performance without breaking the benchmark workflow.

Does the FlashInfer packaging workflow support both CUDA and Triton implementations?

Yes, the FlashInfer packaging workflow supports both CUDA and Triton implementations. It modifies, packs, and tests contest solutions for either implementation type while preserving the standard run entrypoint.