This skill provides patterns and guidance for developing portable, optimized Triton kernels that run on NVIDIA and AMD GPUs without modification. For backend-specific tuning, see rocm-kernels (AMD) and xpu-kernels (Intel).
$npx -y skills add huggingface/kernels --skill triton-kernelsInstalls into the current project.
Run `npx skills use "https://github.com/huggingface/kernels" --skill "huggingface/kernels/triton-kernels"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/huggingface/kernels" that are relevant to the current task. Run `npx skills add "https://github.com/huggingface/kernels"` and select the relevant skills, then follow their instructions.