Skip to main content

Halide is a programming language designed to make it easier to write high-performance image and array processing code on modern machines. Halide currently targets:

  • CPU architectures: X86, ARM, Hexagon, PowerPC, RISC-V
  • Operating systems: Linux, Windows, macOS, Android, iOS, Qualcomm QuRT
  • GPU Compute APIs: CUDA, OpenCL, Apple Metal, Microsoft Direct X 12, Vulkan

Rather than being a standalone programming language, Halide is embedded in Python. This means you write Python code that builds an in-memory representation of a Halide pipeline using Halide's Python API. You can then compile this representation to an object file, or JIT-compile it and run it in the same process.

Requires regular, GIL-enabled CPython 3.12 or newer. The compiler and runtime extensions use nanobind and ship cp312-abi3 wheels, reusable on newer regular CPython versions. Free-threaded Python is not supported.

Install the complete Python and native toolchain with:

pip install halide
uv add halide

This distribution depends on matching versions of halide-bin, which provides the compiler and C++ development files, and halide-runtime, which provides the standalone halide.runtime API. Package managers install both automatically. For a small deployment that only calls precompiled AOT kernels, install halide-runtime directly instead.

Using Halide from C++

Halide is also available as a C++ library. This package provides the development files necessary to use Halide from C++, including a CMake package. On Linux and macOS, CMake's find_package command should find Halide as long as you're in the same virtual environment you installed it in. On Windows, you will need to add the virtual environment root directory to CMAKE_PREFIX_PATH. This can be done by running set CMAKE_PREFIX_PATH=%VIRTUAL_ENV% in cmd.

Other build systems can find the Halide root path by running python -c "import halide; print(halide.install_dir())".

Metadata

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

Total release size: 3.1 MB

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

Download URL halide-22.1.0-cp312-abi3-win_amd64.whl
Size 791.5 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ed79e211241f22628d6c2cb1a23ba0b92d8878a6255532dbb0b2dd43403c3839
BLAKE2b-256 checksum
How to use checksums
ec238cf3d6e9b3636b068382e190eacab219a237aaadb38a77e687988c6118d3
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-22.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL halide-22.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 668.7 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
15dca340ff47ca935ea1b4eb1c2f3e7bd2901e91a2d099e5f86770c843e099a7
BLAKE2b-256 checksum
How to use checksums
e485fb8aef79860bdccb2982df202b735e7d2b38357f0031be5a7d0c79a1cf27
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-22.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL halide-22.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 565.6 kB
Tags CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
5042d9d99de120ff0f9e833321ed4f7cdeb733c78bdd047b0742d8f51226ebfe
BLAKE2b-256 checksum
How to use checksums
de6728ba4a1802bacf59fb45af8ecce70d0d8e764656484b601519c5902f4311
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-22.1.0-cp312-abi3-macosx_11_0_x86_64.whl

Download URL halide-22.1.0-cp312-abi3-macosx_11_0_x86_64.whl
Size 557.0 kB
Tags CPython 3.12 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
12203cf1dc3bbfaf5c1f38976ae6d16ba1cc105e2b8eeb841abd4255900bdf85
BLAKE2b-256 checksum
How to use checksums
16cb3e5cb724a9f41eb5eadb24782d98c1f74cb89f387d29dd726bf03e010de7
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-22.1.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL halide-22.1.0-cp312-abi3-macosx_11_0_arm64.whl
Size 497.3 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c8da39a8e4e76cc8c1603f4ee24197aa7e50fccd40cc96e741a08375d8594e43
BLAKE2b-256 checksum
How to use checksums
084e9b16af47495862479696be7d43b90b8caf2b2055e58a4aa10b8119c5e378
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 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-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