huggingface/kernels
Build compute kernels and load them from the Hub.
https://skillcdn.ai/gh/huggingface/kernels내 AI에 이 주소를 연결하면 이 스킬들을 쓸 수 있어요. 연결 방법 보기
- 미확인
- 기본 브랜치
main - 커밋
4ede10a - 라이선스
Apache-2.0 - 검색단어
저장소 둘러보기
스킬과 문서의 원문에서 찾습니다. 원문과 다른 언어로 검색하면 스킬의 번역에서도 찾아요.
폴더
스킬
- cpu-kernelsProvides 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.Apache-2.0
- cuda-kernelsProvides 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, TORCH_LIBRARY_EXPAND bindings only. Supports models like LTX-Video, Stable Diffusion, LLaMA, Mistral, and Qwen. Includes integration with HuggingFace Kernels Hub (get_kernel) for loading pre-compiled kernels. Includes benchmarking scripts to compare kernel performance against baseline implementations.Apache-2.0
- rocm-kernelsProvides 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 injection.Apache-2.0
- xpu-kernelsProvides 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 swizzling), KernelBench fused kernels, and Flash Attention.Apache-2.0
제외됨 (8)
아래 매니페스트는 제공되지 않았습니다. 수정해서 푸시하면 다음 커밋부터 다시 색인됩니다.
kernel-builder/skills/rocm-kernels/SKILL.mdlink_missing4 links name no file of the repository (references/skill-evaluation-methodology.md, references/kernel-agent-knowledge-base.md, scripts/sweep_num_warps.py, ...)kernel-builder/skills/triton-kernels/SKILL.mdmissing_front_matterSKILL.md must start with YAML front-matterdocs/source/builder/design-overview.mdlink_missinga link names no file of the repository (./design-nix-builder)docs/source/builder/security.mdlink_missinga link names no file of the repository (kernel-requirements.md)docs/source/builder/writing-kernels.mdlink_missinga link names no file of the repository (nix.md)docs/source/kernel-requirements.mdlink_missinga link names no file of the repository (builder/build-variants)kernel-builder/skills/cuda-kernels/references/diffusers-h100.mdlink_missing6 links name no file of the repository (references/diffusers-integration.md, references/troubleshooting.md, references/kernel-templates.md, ...)kernel-builder/skills/cuda-kernels/references/diffusers-integration.mdlink_missinga link names no file of the repository (ltx_kernel_injection_example.py)