Skip to main content

kern-llm

kern runs a model as a manifest: a typed declaration of buffers, states, ops and programs, compiled kernels, and weights. This package is kern for Python:

  • kern: the runtime binding (kern.Runtime), the readers of a manifest's host contract (kern.host) and the rank group over torch.distributed (kern.group);
  • kern_vllm: a vLLM plugin that runs a manifest as the model;
  • kern_sglang: the same for SGLang.
pip install kern-llm
hf download Pegainfer/kern-qwen38-sm103 --local-dir kern-qwen38
KERN_MANIFEST=kern-qwen38/manifests/qwen3.8-27b-vllm.json KERN_KERNELS=kern-qwen38/cubins \
vllm serve Qwen/Qwen3.8-27B --hf-overrides '{"architectures": ["KernForCausalLM"]}' \
  --max-num-seqs 128 --max-num-batched-tokens 8192 --enable-prefix-caching \
  -cc '{"mode": 0, "cudagraph_mode": "FULL_DECODE_ONLY"}'

Linux x86_64 and aarch64, Python 3.10 or newer. The runtime loads the NVIDIA driver (CUDA 13, r580 or newer) and cuBLAS 13 when it first runs; torch comes from the engine. The plugins do nothing unless KERN_MANIFEST is set. Guides: vLLM, SGLang.

Metadata

Release files for kern-llm 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for kern-llm 0.4.0
File Interpreter ABI Platform Actions
kern_llm-0.4.0-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for kern_llm-0.4.0-cp310-abi3-manylinux_2_28_x86_64.whl
kern_llm-0.4.0-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for kern_llm-0.4.0-cp310-abi3-manylinux_2_28_aarch64.whl

Total release size: 5.4 MB

Release files / kern_llm-0.4.0-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL kern_llm-0.4.0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 2.7 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
d6705a0587720cbde67e0d13d33ae487283b15e89b88d7f0284fa0396d50cb00
BLAKE2b-256 checksum
How to use checksums
f27cdb11233c36c68113aa341fcdd92109bd4c5a663fdaa93dec85cce6df7f1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / kern_llm-0.4.0-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL kern_llm-0.4.0-cp310-abi3-manylinux_2_28_aarch64.whl
Size 2.7 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
605ba1b6d0222fc0086b522a1d4b95a8914c3f1f9dedbbb9752a3dfc7d771359
BLAKE2b-256 checksum
How to use checksums
f0fd207327d475cb81a60e2f4279a7dd2f79faea12ccece5337529ad1e102032
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for kern-llm 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for kern_llm-0.4.0-cp310-abi3-manylinux_2_28_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page