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), the rank group over torch.distributed (kern.group) and the kernel tracer (kern.trace);
  • 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.5.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.5.0
File Interpreter ABI Platform Actions
kern_llm-0.5.0-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for kern_llm-0.5.0-cp310-abi3-manylinux_2_28_x86_64.whl
kern_llm-0.5.0-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for kern_llm-0.5.0-cp310-abi3-manylinux_2_28_aarch64.whl

Total release size: 9.2 MB

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

Download URL kern_llm-0.5.0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 4.6 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
4c8e3b94ca7d753e11d2af01ca42e2f094e4926319386c2df90f6a80cbf7d3fd
BLAKE2b-256 checksum
How to use checksums
ad05f23a97e0ee93daac7b000da3a17c04654cc12a7bdc3b727deb2c89470f89
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 11, 2026.

Transparency log

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

Download URL kern_llm-0.5.0-cp310-abi3-manylinux_2_28_aarch64.whl
Size 4.6 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
29dab8e18fe55ba900adbe45c6e429cfb49e82b5235da223b1aaa5b486dcaff2
BLAKE2b-256 checksum
How to use checksums
e73c01241b9f118eda27a0491e76468dc5116d9e4f741453e363b83cdf775a3a
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 11, 2026.

Transparency log

Security for kern-llm 0.5.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.5.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 11, 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