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.post2

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.post2
File Actions
halide_runtime-22.0.0.post2-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for halide_runtime-22.0.0.post2-cp312-abi3-win_amd64.whl
halide_runtime-22.0.0.post2-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.post2-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
halide_runtime-22.0.0.post2-cp312-abi3-macosx_11_0_x86_64.whl CPython 3.12 abi3 macOS 11.0+ x86-64 Details for halide_runtime-22.0.0.post2-cp312-abi3-macosx_11_0_x86_64.whl
halide_runtime-22.0.0.post2-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for halide_runtime-22.0.0.post2-cp312-abi3-macosx_11_0_arm64.whl

Total release size: 734.2 kB

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

Download URL halide_runtime-22.0.0.post2-cp312-abi3-win_amd64.whl
Size 346.0 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
248e9ce4028a326edb2a67cc06023e4b2f7084088da2b5e97a2c992915abd79f
BLAKE2b-256 checksum
How to use checksums
218f0e10151c209b69a7dcbdc01ca452087c2d81bab4f6a57d59510666a2e302
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 29, 2026.

Transparency log

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

Download URL halide_runtime-22.0.0.post2-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 161.2 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
bac28d13187dfaaf4620b848fabd67114f01c95aecbbca98cc98c823aed73f47
BLAKE2b-256 checksum
How to use checksums
36462a1f8076ee8972302d06d13109bb89c5db844ba6872bd96b237685226800
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 29, 2026.

Transparency log

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

Download URL halide_runtime-22.0.0.post2-cp312-abi3-macosx_11_0_x86_64.whl
Size 117.0 kB
Tags CPython 3.12 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
200ab0eda3c48c1717c02659e449067ccb7b6fac63e88da2c3040a94949fd0f7
BLAKE2b-256 checksum
How to use checksums
bcb223ba0c7a7a8e117da03c6e990bb7a2319a4ce664f45b68131a29e03d0536
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 29, 2026.

Transparency log

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

Download URL halide_runtime-22.0.0.post2-cp312-abi3-macosx_11_0_arm64.whl
Size 110.0 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fad8db212f0f758b48dc16901b8b9b3065c828ad938c27e46461912f849447cd
BLAKE2b-256 checksum
How to use checksums
7f60c5dd9a1767f1d0c692b7a056fdbf6bc9a7a7981da103692a0a23b40f9c16
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 29, 2026.

Transparency log

Security for halide-runtime 22.0.0.post2

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.post2-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 29, 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