kern-kernels / README.md
susun-123's picture
README: the index is kern's kernel_index/
624ef71 verified
|
Raw History Blame Contribute Delete
1.2 kB
# kern-kernels
The blob store of the kern kernel registry (`docs/registry.md` in the kern
repository): every artifact a kern manifest can pin, as `blobs/<sha256>`,
with no extension and no other name. The sha256 is the identity; a manifest
names it as `hf:Pegainfer/kern-kernels/blobs/<sha256>`, and the kern runtime
fetches it into `~/.cache/kern/blobs/<sha256>` once. This layout is the
runtime's cache layout, so a copy of `blobs/` is a complete offline
distribution.
What each blob is — its family, entries, launch geometry, provenance, license
and the bench report behind every choice — is recorded in the kern
repository's [`kernel_index/<family>.toml`](https://github.com/pegainfer-project/kern/tree/master/kernel_index),
never here. Blobs are
immutable and never deleted.
## Licenses
Third-party artifacts are redistributed under their own licenses, whose texts
are in `licenses/` and also stored as blobs the index references:
- trtllm-gen kernels (NVIDIA TensorRT-LLM / FlashInfer `flashinfer-cubin`): Apache-2.0
- CuTe-DSL MLA decode (NVIDIA, shipped in FlashInfer): BSD-3-Clause
- FlashKDA (MoonshotAI): MIT
- DeepGEMM MegaMoE (DeepSeek): MIT
- kern's own kernels: Apache-2.0