huggingface/publish-to-the-kernel-hub

Build a kernel using Nix and publish to Hugging Face Kernel Hub

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
kernel-pathPath to the kernel directory (default: repo root)no.
build-targetNix build target (e.g., ci, build-and-upload, redistributable.torch29-cxx11-cu126-x86_64-linux)noci
nix-commandNix command to use (build or run)nobuild
verboseEnable verbose Nix output (-L flag)notrue
artifact-nameName for the uploaded artifactnokernel
upload-artifactWhether to upload the built kernel as an artifactnotrue
cachix-nameCachix cache name for Nix cachingnohuggingface
cachix-auth-tokenCachix authentication tokenno""
nix-max-jobsMaximum number of parallel Nix build jobsno4
nix-coresNumber of cores per Nix build jobno12
sandbox-modeNix sandbox mode (fallback, relaxed, true, false)nofallback
extra-nix-confAdditional Nix configuration lines (newline-separated)no""
hf-tokenHugging Face token for publishing to Kernel Hubno""
hf-repoHugging Face repository to publish to (e.g., username/kernel-name)no""
publishWhether to publish to Hugging Face Kernel Hubnofalse
namedescription
kernel-pathPath to the built kernel
artifact-nameName of the uploaded artifact