huggingface/kernels

Build compute kernels and load them from the Hub.

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

cpu-kernels

01

huggingface/kernels

Skill Claude CodeCodex

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…

729 4d ago A 89 tokens original Apache-2.0

cuda-kernels

02

huggingface/kernels

Skill Claude CodeCodex

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…

729 4d ago A 120 tokens original Apache-2.0

rocm-kernels

03

huggingface/kernels

Skill Claude CodeCodex

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…

729 4d ago A 93 tokens original Apache-2.0

triton-kernels

04

huggingface/kernels

Skill Claude CodeCodex

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

729 4d ago A 0 tokens original Apache-2.0

xpu-kernels

05

huggingface/kernels

Skill Claude CodeCodex

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…

729 4d ago A 85 tokens original Apache-2.0