Skip to main content

halide-runtime

A tiny, standalone runtime for calling precompiled Halide AOT kernels from Python, with no dependency on libHalide (no compiler, no LLVM).

Requires regular, GIL-enabled CPython 3.12 or newer. The cp312-abi3 wheels use the stable Python ABI and work unchanged on newer regular CPython versions; free-threaded Python is not supported.

pip install halide-runtime
uv add halide-runtime
import numpy as np
import halide.runtime as hlr

kernel = hlr.load("mykernel.so")  # dlopen a precompiled Halide artifact
out = np.empty_like(inp)
kernel(inp, out)  # call it with NumPy arrays

This package contributes only halide.runtime — hlr.load(...), the resulting Kernel objects, and a lightweight hlr.Buffer wrapper — to the implicit halide namespace. It is a strict subset of the full halide package; install this one for small deployment environments that run precompiled pipelines but do not need the Halide compiler. Python extensions produced by add_halide_python_extension_library also expose this package's Kernel type and therefore require halide-runtime when deployed independently.

See the Halide Python docs: https://github.com/halide/Halide/blob/main/doc/Python.md

Metadata

Release files for halide-runtime 22.0.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 halide-runtime 22.0.0
File Actions
halide_runtime-22.0.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for halide_runtime-22.0.0-cp312-abi3-win_amd64.whl
halide_runtime-22.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for halide_runtime-22.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
halide_runtime-22.0.0-cp312-abi3-macosx_11_0_x86_64.whl CPython 3.12 abi3 macOS 11.0+ x86-64 Details for halide_runtime-22.0.0-cp312-abi3-macosx_11_0_x86_64.whl
halide_runtime-22.0.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for halide_runtime-22.0.0-cp312-abi3-macosx_11_0_arm64.whl

Total release size: 681.0 kB

Release files / halide_runtime-22.0.0-cp312-abi3-win_amd64.whl

Download URL halide_runtime-22.0.0-cp312-abi3-win_amd64.whl
Size 323.5 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d4367da9dcba3eeb59e7f126a1a7976e8f9b3cce4b18db619dfb86d45377a94b
BLAKE2b-256 checksum
How to use checksums
4dcda1d22a5097037633491d26bfb2b791acb576fc0298ac54f53938e920eb23
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 Oct 28, 2026.

Transparency log

Release files / halide_runtime-22.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL halide_runtime-22.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 148.5 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
5ce83efacee275b0d19feddf31a70d4367a097ca837f142500eb961f6d6295bd
BLAKE2b-256 checksum
How to use checksums
215572a97ac918597875a6478b3c5b10c7f36fb7f11f1ab501f92aeeb0ad52bd
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 Oct 28, 2026.

Transparency log

Release files / halide_runtime-22.0.0-cp312-abi3-macosx_11_0_x86_64.whl

Download URL halide_runtime-22.0.0-cp312-abi3-macosx_11_0_x86_64.whl
Size 108.8 kB
Tags CPython 3.12 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
8e36bb9a044f7caf7d52fd0ccae0e2cbb97379b8649b3f9a3eb8a070bd78a71c
BLAKE2b-256 checksum
How to use checksums
4a8fcd24752bfe18d40d7262bb7360b06803b8736909474d8fec2aa535199ce4
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 Oct 28, 2026.

Transparency log

Release files / halide_runtime-22.0.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL halide_runtime-22.0.0-cp312-abi3-macosx_11_0_arm64.whl
Size 100.3 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d23c9d2497acbf6a705fe2d479d2e77c93998cdecc61646dd21c77f1ad87a303
BLAKE2b-256 checksum
How to use checksums
b645bf7126f527d279554c85925ec299fefc9d5ac25cfc9c4dad9d1a4249f776
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 Oct 28, 2026.

Transparency log

Security for halide-runtime 22.0.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

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for halide_runtime-22.0.0-cp312-abi3-win_amd64.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 Oct 28, 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