add-jit-kernel
CommunityAdd custom CUDA kernels to SGLang
Authorguqiong96
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a structured, step-by-step guide to integrate custom CUDA kernels into the SGLang framework, enhancing its computational capabilities for specific AI model inference tasks.
Core Features & Use Cases
- JIT Kernel Integration: Learn how to add lightweight, Just-In-Time compiled CUDA kernels.
- Abstractions: Utilize provided C++ and CUDA abstractions for safety, readability, and consistency.
- Workflow Guidance: Follow a complete process from kernel implementation to Python wrapping and testing.
- Use Case: Enhance an AI model's inference speed by adding a custom kernel for a novel activation function or a specialized tensor operation not supported by default.
Quick Start
Follow the tutorial to implement a new JIT kernel in the elementwise/scale.cuh file.
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-jit-kernel Download link: https://github.com/guqiong96/Lsglang/archive/main.zip#add-jit-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.