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

Total release size: 3.1 MB

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

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

Download URL halide-22.0.0.post3-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
3b2403636a213d03ff7690cf1035fe23aa57095ab983e26bc9d45151e9e8787a
BLAKE2b-256 checksum
How to use checksums
ff9d4f3e3d9a4437c7b9361834d4ee35acd934df4f4ca9a5a5b59cfd6a2814ec
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.post3-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

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

Download URL halide-22.0.0.post3-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
72dd2cee3ea340d6ddf286b883386e360b087a64961757d8fca4e00631027d5e
BLAKE2b-256 checksum
How to use checksums
696908511b03a1ae6859692d2aaa597bff5b0a345c068ad90e5d8a37f647a991
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.post3-cp312-abi3-macosx_11_0_arm64.whl

Download URL halide-22.0.0.post3-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
611c1f0b0e86c742f83d7b6f9ac510fee20db9cfee6a360583fb6c80a67b8723
BLAKE2b-256 checksum
How to use checksums
560446092cc899ce1a69119369b6352cb43de02337be0cebf76ee42b9388845e
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.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-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