huggingface/kernels

Build compute kernels and load them from the Hub.

About the project

Hugging Face Kernels is a system that lets Python libraries and applications load compute kernels directly from the Hugging Face Hub. It is used by Python and PyTorch developers who need portable kernels that can support multiple versions and build configurations. The catalogue skills help agents work with the kernels system and its kernel-building tools.

774Stars on the repository
5Mods indexed here, across every type
todayLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

cpu-kernels

01

huggingface/kernels

Skill Claude Code ✓ vendor

Provides guidance for writing, optimizing, and benchmarking C++ CPU kernels with SIMD intrinsics (AVX2/AVX512) for the Hugging Face kernels ecosystem. Includes a two-phase workflow: Phase 1 correctness (generic → AVX2) and Phase 2 performance exploration (AVX512 with branching trial loop), runtime CPU dispatch, OpenMP…

not rated 773 +8 yesterday A SkillSpector: pass 89 tokens original Apache-2.0

cuda-kernels

02

huggingface/kernels

Skill Claude Code ✓ vendor

Provides guidance for writing and benchmarking optimized CUDA kernels for NVIDIA GPUs (H100, A100, T4) targeting HuggingFace diffusers and transformers libraries. Kernels must be kernel-builder/ABI3-compliant: no pybind11, no setup.py, TORCHLIBRARYEXPAND bindings only. Supports models like LTX-Video, Stable Diffusion…

not rated 773 +8 yesterday A SkillSpector: pass 120 tokens original Apache-2.0

rocm-kernels

03

huggingface/kernels

Skill Claude Code needs its repo ✓ vendor

Provides guidance for writing and benchmarking optimized Triton kernels for AMD GPUs (MI355X, R9700) on ROCm, targeting HuggingFace diffusers (LTX-Video, SD3, FLUX) and transformers. Core kernels: RMSNorm, RoPE 3D, GEGLU, AdaLN. Includes XCD swizzle, autotune, diffusers integration patterns, and LTX-Video pipeline…

not rated 773 +8 yesterday A SkillSpector: pass 93 tokens original Apache-2.0

triton-kernels

04

huggingface/kernels

Skill Claude CodeCodex ✓ vendor

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).

not rated 773 +8 yesterday A SkillSpector: pass 0 tokens original Apache-2.0

xpu-kernels

05

huggingface/kernels

Skill Claude Code ✓ vendor

Provides guidance for writing, optimizing, and benchmarking Triton kernels for Intel XPU GPUs (Battlemage/Arc Pro B50) using the Xe-Forge optimization framework. Includes an LLM-driven trial-loop workflow (analyze, validate, benchmark, profile, finalize), XPU-specific patterns (tensor descriptors, GRF mode, tile…

not rated 773 +8 yesterday A SkillSpector: pass 85 tokens original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: