Skip to main content

Halide is a programming language designed to make it easier to write high-performance image and array processing code.

Project description

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.

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())".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

halide-21.0.0-cp313-cp313-win_amd64.whl (57.1 MB view details)

Uploaded CPython 3.13Windows x86-64

halide-21.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (69.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

halide-21.0.0-cp313-cp313-macosx_11_0_x86_64.whl (60.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

halide-21.0.0-cp313-cp313-macosx_11_0_arm64.whl (56.4 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

halide-21.0.0-cp312-cp312-win_amd64.whl (57.1 MB view details)

Uploaded CPython 3.12Windows x86-64

halide-21.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (69.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

halide-21.0.0-cp312-cp312-macosx_11_0_x86_64.whl (60.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

halide-21.0.0-cp312-cp312-macosx_11_0_arm64.whl (56.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

halide-21.0.0-cp311-cp311-win_amd64.whl (57.1 MB view details)

Uploaded CPython 3.11Windows x86-64

halide-21.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (69.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

halide-21.0.0-cp311-cp311-macosx_11_0_x86_64.whl (60.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

halide-21.0.0-cp311-cp311-macosx_11_0_arm64.whl (56.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

halide-21.0.0-cp310-cp310-win_amd64.whl (57.1 MB view details)

Uploaded CPython 3.10Windows x86-64

halide-21.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (69.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

halide-21.0.0-cp310-cp310-macosx_11_0_x86_64.whl (60.5 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

halide-21.0.0-cp310-cp310-macosx_11_0_arm64.whl (56.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

halide-21.0.0-cp39-cp39-win_amd64.whl (57.2 MB view details)

Uploaded CPython 3.9Windows x86-64

halide-21.0.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (69.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

halide-21.0.0-cp39-cp39-macosx_11_0_x86_64.whl (60.5 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

halide-21.0.0-cp39-cp39-macosx_11_0_arm64.whl (56.4 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file halide-21.0.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: halide-21.0.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 57.1 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for halide-21.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 812a1c0c863a1710c5d6eed895180b96945b8179db0ee21a19d38b7bb2c74314
MD5 4fd45d7955743f0a36c62250fcd4d277
BLAKE2b-256 9a878d45b108cb6112d389ef5b789644d59fcd568b05f73e2d5a4d9b9a9533e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp313-cp313-win_amd64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 67ac80d57efc24227bc327c5f17cb2fd39634ff5f0de5c9742f078b701158933
MD5 746210f027eb3c35f0c7677ad83fb81c
BLAKE2b-256 92f4fc766bd1423283f16a0f2fe150a97427aa5e45b4f24ed9e15e21c83971af

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7a1ce6c0a168b8bd7db845d28b57b05da9b150b5b75de945e4b593dbedbf775c
MD5 f7e2e1bd1597cb343cd8bd83e0ce7ec9
BLAKE2b-256 698753f5492f543317c83238a1999324c63d03c5a9c216d1ccbc36886822b966

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp313-cp313-macosx_11_0_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 533f1dadf7dda8ba8b40dc275d6d821ecd4e42b1ad4f85737571f49258b0a304
MD5 75f84d61fcfcefb357f44c01d2eeb390
BLAKE2b-256 ae86bfd27355833f645866de582e251d17eb8afb1a39766d43554f22c5929831

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: halide-21.0.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 57.1 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for halide-21.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 53a5489a006f4b4968bc1af8d326c2a0b0b7e36b364c90ac9b3387db4e5e104c
MD5 0bdddf63d197a0437b634e4e3c7b73a1
BLAKE2b-256 a9656ac1208735fe177680d2bef0b890604e9471ee04da43ed0713f42a0c188e

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp312-cp312-win_amd64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6db7fa414e6a38bde49630066d8fdba1a71d86aff9b4636dbc65b5b5f652428e
MD5 1519ff29f4b4775479f8d23851cc6676
BLAKE2b-256 636f8045a107accea9f5f8cd4fb5501e01dd5bd817822d190c210f48632e7623

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 9bd26cee25b484f3c17503178579589fe591b1c113de812eaa6706cc9ee18fc5
MD5 e68eb8d1b70fe2279e6a8c405ea5ce8e
BLAKE2b-256 3979372b3f3cebfc44d394475fa43b0597fe5ad4d627e15d4439f330365ec79f

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp312-cp312-macosx_11_0_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cfd0d143638c0cba322e7b7c63f5930f3147d9e6d613018cab3f42406731d558
MD5 0233f11883b593482fdc53e34630df88
BLAKE2b-256 f1411e029bf4a5917d8d0d13054ffaf789b1b756c24b61df3366899cee4ef3ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: halide-21.0.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 57.1 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for halide-21.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4631fdd26257629eb84d1b410d74acc2f4cda4526b95d7dd688ab21accf8cd75
MD5 718dcd72f2429565ccd564740ed84335
BLAKE2b-256 31882ccd1fea0e688689ea40220405d9e9d530cd3bd7778e1d2aa17f7fa919d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp311-cp311-win_amd64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3686c2b4c9aed1e26e1e55631608b2c4a4c3fe2d4386505ba1921859adb683ab
MD5 957142fe5a468ff48fcc1f7310e61943
BLAKE2b-256 d06a5c18793f858b7694337923dbe8dc6c7166ba92681fbadb40848142f3a7a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 4c35dcf3c612a82ad1d080327a975ae47719096a92b4106634ac6f0f24a7342e
MD5 4d5fe4d0ddf130d88dfb213fe2da2230
BLAKE2b-256 3ed7647386a84c76c26e77c2ff6f14ca6f3f8219b159a6c6aebf33439cd63022

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp311-cp311-macosx_11_0_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91799a2db3516048f25d31ca8721c1a68d7e1268bf2f968d4d4a9b1c475110bc
MD5 49ac8ccb8dec5085cf10b3c6c5d41e8a
BLAKE2b-256 0be7089f29e72e197d6e5d656401c746a1365e9020e50365c8a715ede5c96e03

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: halide-21.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 57.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for halide-21.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 23e3bf2eea95ad8caa4f58ad8a43a92e6f0c988874815d766997766199ee6f5f
MD5 2d50127b8cea078c08ccb97ebbae9aaf
BLAKE2b-256 c4fe6594eb13b5b7a3c974a83331d7cc9969616f08ace28a52d0809edf622421

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp310-cp310-win_amd64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0db6da2bc70945db4aebaeac87dbe8610c9e5a0ab63e2eb30141f3ef0a94a454
MD5 1cc6de1813a0ea42a7401b5ec0f02261
BLAKE2b-256 e3770aec00d336466b75db214fe52d23ca02ef1c41adbafe4e5249624ff23554

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 925308e6b90224eaa35487150a4b02271dee0ee263a44ec9f497b1e5f549697a
MD5 560cd0c0acb8d4b1a9b84f539e0b61e4
BLAKE2b-256 2a078456dbc22e0d80b102723b596d01462600d489e313d05a41132bfab0d50e

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp310-cp310-macosx_11_0_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 003b9c3bdfc72811a27488a3da845b23db339b5187a0975c181f651c04a9f60c
MD5 98510cdd3a927f4c252c784b8d738d2c
BLAKE2b-256 d81d9adc62a68f9dae3c6d08bd3da19c1a9e78389c20d465044a7cf17fdccd1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: halide-21.0.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 57.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for halide-21.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 281894dd176cca8ad47be64180b2f470e546f8a552c262d2b98063f047df8379
MD5 650de1d042e7ae26cde47305263a6079
BLAKE2b-256 1c02d20d51cd23578ad4a133b2c1b5a6ad077fc7abcbe5b6e3f9c9f13ac387a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp39-cp39-win_amd64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e9b33f3a0653f6c2aeea9f1e8ab0d0f08a8458125eeb6d61c9b6c90ac1bc2b30
MD5 18cfc89a72cee23e2f83f49159027a9e
BLAKE2b-256 9a96c99a23740e477b7ceb3b0605e2cad0fe2292322a1fbf5b283296fed51907

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 afdffe6006f010328f80018b7fcd5e65337a438fbe57808123d6ebb5b656ef32
MD5 e3810cf34d27acf90617ed5b8e89c7f3
BLAKE2b-256 06629447634afee7139494d45eb9339012bd03df25785ff2a01426ae478be405

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp39-cp39-macosx_11_0_x86_64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file halide-21.0.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for halide-21.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0ff2ff6e95df0cded9e72ad1730a94914573bbd8c3cdc82410c39bf9eab90215
MD5 5fb8be95ee86d48a55d7fa7e633359c1
BLAKE2b-256 c7b50a7c083acfc34d794bce03698736d6bf557a611f51001506149ba727f8ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for halide-21.0.0-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: pip.yml on halide/Halide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page