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

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

Total release size: 885.5 kB

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

Download URL halide_runtime-22.0.0.post3-cp312-abi3-win_amd64.whl
Size 346.0 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2b6b04488ac71cf69d47bb3a80af3c631f5553811365064fb44acc31b54627cb
BLAKE2b-256 checksum
How to use checksums
0282e1c6d216c1685023cf003f3d1da92f25e97899d77432e61568ae38211a1b
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.post3-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL halide_runtime-22.0.0.post3-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
72b59d8891b2a6fdfa8f1ab6a846fd30f5097bdc53207350ec00d811ec47171f
BLAKE2b-256 checksum
How to use checksums
ef5b72ceab3e8898796e36b75005754acead1bf115a77b9f6d71cc4e4dcfb0ba
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.post3-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL halide_runtime-22.0.0.post3-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 151.3 kB
Tags CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
d065355f045dcbd6e5118803e2c07495a76498032d0088bf61d64ceb462ce96e
BLAKE2b-256 checksum
How to use checksums
b0f7e97287d1dd99ebb9ca0a32210d316671ecc069f161ecd6caaca165f73458
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.post3-cp312-abi3-macosx_11_0_x86_64.whl

Download URL halide_runtime-22.0.0.post3-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
298686b8e7c43816e4a0f860937e89c02bf72a658a3deba36d25eff93bd4cf07
BLAKE2b-256 checksum
How to use checksums
a0b606ac135eff42162f75c55a298e031644a927e70d2d5010d4f8f454f86e76
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.post3-cp312-abi3-macosx_11_0_arm64.whl

Download URL halide_runtime-22.0.0.post3-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
416d6aeb5f0bcc8849fad0ded9dec13ee3e5841a0a701901ebcfe969aad51a34
BLAKE2b-256 checksum
How to use checksums
08c8fea7a3432ea13d481cec1a1604c74281a12d6f18d640a1a02949ea18c454
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.post3

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.0.0.post3-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