add-cuda-kernel
CommunityAdd custom CUDA kernels to FlashInfer
Software Engineering#performance optimization#kernel development#cuda#flashinfer#gpu programming#jit compilation
Authorariusewy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive, step-by-step guide to integrating new custom CUDA kernels into the FlashInfer library, enabling users to extend its functionality with their own optimized operations.
Core Features & Use Cases
- End-to-End Workflow: Covers defining CUDA kernels, creating C++ launchers, implementing TVM-FFI bindings, generating JIT modules, and creating Python APIs.
- Best Practices: Demonstrates proper error handling, dtype dispatch, and architecture-specific compilation.
- Use Case: A researcher needs to implement a novel attention mechanism not supported by FlashInfer. They can follow this guide to add their custom kernel, test it rigorously, and integrate it seamlessly into their existing FlashInfer-based inference pipeline.
Quick Start
Follow the detailed steps in the tutorial to add a new CUDA kernel to FlashInfer.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-cuda-kernel Download link: https://github.com/ariusewy/flashinfer_dev/archive/main.zip#add-cuda-kernel Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.