Hugging Face has significantly enhanced its 🤗 Kernels project, introducing a new 'kernel' repository type on the Hub for better discoverability and management of custom compute kernels. Security has been bolstered with trusted kernel publishers, kernel signing using Sigstore cosign, and reproducible builds via Nix. The CLIs for `kernels` and `kernel-builder` have been revamped for better separation of concerns and agent optimization. Support for frameworks like Torch Stable ABI and Apache TVM F. This post details how Claude was used to generate CUDA kernels for diffusion models, demonstrating an AI-assisted approach to kernel development and distribution, and how these kernels can be used to teach open models.
All Hugging Face trails