Cpu Kernels

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 threading, and brgemm integration for GEMM-heavy kernels.

Hugging Face Updated 11.4k repo stars
Kernels

File contents

huggingface/kernels commit b773a89d82

Frequently asked questions

npx get-skill add huggingface/cpu-kernels