🤗 Kernels: Major Updates

AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.

Why it matters

Hugging Face's kernel Hub distribution now defaults to loading only trusted, signed publishers, and a redesigned kernels/kernel-builder stack supports Torch Stable ABI and TVM FFI.

Read this as

Hugging Face runs a project called Kernels for packaging fast GPU programs (kernels) that AI software can install from its Hub. The Hub now treats each kernel as its own repository type showing which chips and systems it supports, and only loads kernels from trusted publishers unless you explicitly opt in. Developers get new building and security tools, while anyone running AI models gets safer, easier access to optimized code.

Hugging Face has rebuilt its Kernels project around security and distribution: kernels now execute only from trusted publishers by default, with code signing via Sigstore's cosign rolling out, plus reproducible Nix builds embedding Git SHA1s. The stack now supports Torch Stable ABI (one kernel targets Torch >= 2.9 for ~two years) and Apache TVM FFI across PyTorch, JAX and CuPy. Teams distributing or consuming custom CUDA kernels face new publisher gating; a libstdc++ linking fix addressed real segfaults.

Kernels introduces a Hub 'kernel' repo type, trusted-publisher gating (opt-out via trust_remote_code=True), and Sigstore cosign signing with ephemeral keys verified against trusted GitHub workflows, signature verification at load time is not yet enabled. Nix-based hermetic builds embed the source Git SHA1. Torch Stable ABI and Apache TVM FFI are now supported. Static libstdc++ linking caused segfaults via global initialization conflicts, so kernels now link it dynamically against the official manylinux_2_28 toolchain.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Hugging Face Kernels kernel-builder Apache TVM FFI Sigstore Nix Torch Stable ABI

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading