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.1.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.1.0
File Actions
halide_runtime-22.1.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for halide_runtime-22.1.0-cp312-abi3-win_amd64.whl
halide_runtime-22.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for halide_runtime-22.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
halide_runtime-22.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64, Linux glibc 2.26+ ARM64 Details for halide_runtime-22.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
halide_runtime-22.1.0-cp312-abi3-macosx_11_0_x86_64.whl CPython 3.12 abi3 macOS 11.0+ x86-64 Details for halide_runtime-22.1.0-cp312-abi3-macosx_11_0_x86_64.whl
halide_runtime-22.1.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for halide_runtime-22.1.0-cp312-abi3-macosx_11_0_arm64.whl

Total release size: 890.5 kB

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

Download URL halide_runtime-22.1.0-cp312-abi3-win_amd64.whl
Size 346.8 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
06e0ffef13b298383fc1bb753d611382f9586f5817f5991e1cb886731fe06951
BLAKE2b-256 checksum
How to use checksums
08e3c93abe0790d73432d8388994b42146acded3f7bd22b5b50a26810e1dcd03
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 31, 2026.

Transparency log

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

Download URL halide_runtime-22.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 162.4 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
7c1053f974cb5b71e064eaeca0d78ba3204cc14445838517dc8491fab604c5f5
BLAKE2b-256 checksum
How to use checksums
e018ea409ab4ac8bbcd9cd5daef4290570026a54f939ff6b2c7b6154adb38de6
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 31, 2026.

Transparency log

Release files / halide_runtime-22.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL halide_runtime-22.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 152.1 kB
Tags CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
dd69fc2cdf6cea2f1184448099609bb6600a0131b8b8f33348c31623be17b6a2
BLAKE2b-256 checksum
How to use checksums
254449f2f76d8644cec5867cfd504b3c421d9b49c6f0f4e01ca96d31d9d70c0d
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 31, 2026.

Transparency log

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

Download URL halide_runtime-22.1.0-cp312-abi3-macosx_11_0_x86_64.whl
Size 118.3 kB
Tags CPython 3.12 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
78c0ba9dfb0ebd6412a75a66a780e803af874e360b380a9d36836020a6e79045
BLAKE2b-256 checksum
How to use checksums
41108e491078a88bf45acf17dc5f023ac37362a3ea6aaa2400db96198fae100d
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 31, 2026.

Transparency log

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

Download URL halide_runtime-22.1.0-cp312-abi3-macosx_11_0_arm64.whl
Size 110.9 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0e7ec07a6eee6b3c1540123ca97b489bcf46f414508209924d351c1bcfe3846f
BLAKE2b-256 checksum
How to use checksums
9b7bb66bb8ba63764916785c220e77f93d121ae9471d9db4d5fa0bdec627539d
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 31, 2026.

Transparency log

Security for halide-runtime 22.1.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 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for halide_runtime-22.1.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 31, 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