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

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

Total release size: 2.4 MB

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

Download URL halide-22.0.0-cp312-abi3-win_amd64.whl
Size 763.3 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4da0e89909283df8be542a398591e7046ff66db6c2b5b8cc877229a9a3bfe91f
BLAKE2b-256 checksum
How to use checksums
904f483084447103404f0a41a4225af82a14d9557517003a3213c80f58d98135
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 27, 2026.

Transparency log

Release files / halide-22.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL halide-22.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 628.8 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
7d92a732de4e62fe6bedfc700b7e52bdbb556ac9420cf321c05baa499fcbc9b2
BLAKE2b-256 checksum
How to use checksums
61ee1254098b91426973e7e633409ffcfe34b67cf1791538b236ccdcfdcecbdf
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 27, 2026.

Transparency log

Release files / halide-22.0.0-cp312-abi3-macosx_11_0_x86_64.whl

Download URL halide-22.0.0-cp312-abi3-macosx_11_0_x86_64.whl
Size 532.0 kB
Tags CPython 3.12 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
a779c8fa193ea0bca2aaf4bacf41a0531fbdaabe5302e2e06d0ad9d280183748
BLAKE2b-256 checksum
How to use checksums
dffe3d8bff0020cf2f133e02837c56708e287a5beba7f54f3b3973f58c17ba91
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 27, 2026.

Transparency log

Release files / halide-22.0.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL halide-22.0.0-cp312-abi3-macosx_11_0_arm64.whl
Size 490.6 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
20a28d49e0d1100cda7d1f685c8da48e44ed9c2c5367cbb3f01026a16b8a3121
BLAKE2b-256 checksum
How to use checksums
1156b22c7a4c8da4777b626b367349e0c55f7bd43647db9597bda5f77971fc54
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 27, 2026.

Transparency log

Security for halide 22.0.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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for halide-22.0.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 27, 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