Hugging Face Updates Custom Kernel Standardization
·2026.07.06 09:00
Key point
Hugging Face announced a major update to the Kernels project for packaging, distributing, and securing custom kernels.
Details
Hugging Face has unveiled a major update to the 🤗 Kernels project, which aims to standardize the packaging and distribution of custom kernels.
The key updates are as follows:
- Introduction of a new repository type: A new repository type called
kernelhas been added to the Hugging Face Hub, making it easy to discover and use kernels optimized for specific accelerators, operating systems, and backend versions. - Enhanced security architecture: To prevent risks that custom kernels could pose to local systems, build reproducibility is ensured using Nix, and the source Git SHA1 is embedded to clarify provenance.
- Trusted Publishers: For security, by default only kernels published by trusted organizations are loaded. To use untrusted kernels, you must explicitly set the
trust_remote_code=Trueoption. - Code Signing: To prevent malicious kernel distribution due to account takeover, code signing using Sigstore's cosign has been introduced to verify kernel integrity.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.