What is add-sgl-kernel?
Step-by-step tutorial for adding a heavyweight AOT CUDA/C++ kernel to sgl-kernel (including tests & benchmarks) Source: sgl-project/sglang.
Step-by-step tutorial for adding a heavyweight AOT CUDA/C++ kernel to sgl-kernel (including tests & benchmarks)
Quickly install add-sgl-kernel AI skill to your development environment via command line
Source: sgl-project/sglang.
Tutorial: Adding a New Kernel to sgl-kernel (AOT / Heavyweight)
This tutorial walks through adding a simple element-wise scale operation as an AOT kernel. We'll implement scale(x, factor) = x factor to demonstrate the complete workflow.
Add a new operation that scales each element of a tensor by a scalar factor:
Step-by-step tutorial for adding a heavyweight AOT CUDA/C++ kernel to sgl-kernel (including tests & benchmarks) Source: sgl-project/sglang.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/sgl-project/sglang --skill add-sgl-kernelStep-by-step tutorial for adding a heavyweight AOT CUDA/C++ kernel to sgl-kernel (including tests & benchmarks) Source: sgl-project/sglang.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/sgl-project/sglang --skill add-sgl-kernel Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/sgl-project/sglang