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

Total release size: 2.5 MB

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

Download URL halide-22.0.0.post2-cp312-abi3-win_amd64.whl
Size 790.7 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b1843dda157e81f6063c89481fbec47f38d10841d16c290a481f027e3cec91ee
BLAKE2b-256 checksum
How to use checksums
92cbda84f22569bed12b20a56dda7aef73fe26bcfc680fb707d789108b716535
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-22.0.0.post2-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL halide-22.0.0.post2-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 667.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
4dc3db2c7bf9776b0b6d4ddb4860c996352df49a0b05f83bc096081daeed06dd
BLAKE2b-256 checksum
How to use checksums
b1762599c1b7dc46d0e3f1572bdf5af64c692476873cb63fd14cef4322e6b957
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-22.0.0.post2-cp312-abi3-macosx_11_0_x86_64.whl

Download URL halide-22.0.0.post2-cp312-abi3-macosx_11_0_x86_64.whl
Size 556.1 kB
Tags CPython 3.12 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
02a07c6e4dfe2ae9263c3d32cbbbdc9d1ab2373c2a13d17d7268c9fd755b2912
BLAKE2b-256 checksum
How to use checksums
6e61b9a157ae80f879bb9feb3714de4a932ae33070990b6b6ae0d7ce143fc6b7
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-22.0.0.post2-cp312-abi3-macosx_11_0_arm64.whl

Download URL halide-22.0.0.post2-cp312-abi3-macosx_11_0_arm64.whl
Size 496.8 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1a07016fce1aeefb4a8b7d6771ab47b365454d2f43ad2ca6af24b0ec8ed60c65
BLAKE2b-256 checksum
How to use checksums
74d1a40ab34d6f23afada219e4c973fcbb280ccfcb30e63053b63929f736bc35
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 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-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