Automic VaultAutomic Vault

brew

Install halide with Homebrew, apt, Nix, pacman

Language for fast, portable data-parallel computation. Version 21.0.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install halide

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install halide19-api-doc

Debian stable package indexes · halide19-api-doc · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#halide

nixpkgs package indexes · pkgs/by-name/ha/halide/package.nix · source: api.github.com

Ubuntu aptverified · 92%
sudo apt install halide17-api-doc

Ubuntu 24.04 LTS package indexes · halide17-api-doc · source: archive.ubuntu.com

Arch Linux pacmanverified · 92%
sudo pacman -S gengen

Arch Linux sync databases · gengen · source: geo.mirror.pkgbuild.com

overview

Package summary

Language for fast, portable data-parallel computation

Commands and aliases

  • adams2019_retrain_cost_model
  • adams2019_weightsdir_to_weightsfile
  • anderson2021_retrain_cost_model
  • anderson2021_weightsdir_to_weightsfile
  • featurization_to_sample
  • gengen
  • get_host_target

history

Project history and usage

Halide is a language and compiler system for fast, portable image and array processing. It is embedded in C++ and also provides Python bindings, letting developers define the algorithm separately from the schedule that controls locality, vectorization, parallelism, and target-specific code generation.

Project history

MIT News introduced Halide in 2012 as a programming language for image-processing software, reporting that MIT researchers used it to express common image-processing algorithms with shorter code and significant speedups. The Halide site presents the same core idea in tool form: write a pipeline in C++ using Halide's API, then JIT-compile it or compile it ahead of time.

The research lineage is central to the project. The Halide site lists publications on decoupling algorithms from schedules, the 2013 PLDI language and compiler paper, automatic scheduling work from 2016, differentiable programming work from 2018, and machine-learning-based autoscheduling in 2019. Those papers explain why Halide is not just a library of filters but a compiler approach to high-performance pipelines.

The release history shows the compiler growing from research artifact into a packaged toolchain. A 2013 GitHub release provided precompiled Halide builds. Later releases added WebAssembly, Direct3D, automatic differentiation, PyTorch custom-op generation, multiple autoschedulers as plugins, C++17 requirements, Vulkan and WebGPU work, RISC-V vector support, Python packaging through PyPI, and alignment of major version numbers with bundled LLVM versions.

Adoption history

Halide's adoption spans research, imaging applications, compiler experimentation, and performance-sensitive production code. The official site points users to tutorials, example apps, tests, GitHub Discussions, CppCon material, CVPR course notes, and API docs, which reflects a community built around learning the scheduling model as much as installing a binary.

For package managers, Halide became more approachable as upstream added binary tarballs, Homebrew installation instructions, vcpkg support, and PyPI wheels for C++ and Python use. Those distribution paths matter because building Halide from source requires a compatible LLVM toolchain and substantial compiler infrastructure.

How it is used

Users define Halide Func, Var, and schedule objects in host code, then compile pipelines for CPU, GPU, mobile, and other targets. The official README describes supported CPU architectures, operating systems, GPU compute APIs, C++17 requirements, Python bindings, tutorials, apps, and build instructions.

Installed package binaries are often used by developers who want headers, libraries, tools such as generators, and CMake integration without managing a custom LLVM build. The Homebrew formula is especially useful on macOS where LLVM discovery and CMake presets can otherwise dominate the first build.

Why package nerds care

Halide is significant because it turns a compiler research system into a package-manager-installable dependency. The formula is not just a CLI; it packages a DSL runtime, compiler libraries, generators, examples, and an LLVM-facing build surface.

It also shows why some packages are hard to reduce to a single executable. Halide's value is in the development workflow: stable headers, linkable libraries, target backends, Python wheels, CMake discovery, and compatibility with the LLVM versions upstream supports.

Timeline

  • 2012: MIT News described Halide as a language for easier and faster image-processing software.
  • 2013: PLDI paper described Halide as a language and compiler for optimizing parallelism, locality, and recomputation.
  • 2013: GitHub release provided precompiled Halide builds.
  • 2016: Automatic scheduling research expanded the Halide scheduling workflow.
  • 2018: Halide release added features such as PyTorch custom-op generation, automatic differentiation, and WebAssembly support.
  • 2019: SIGGRAPH autoscheduler work applied tree search and random programs to Halide optimization.
  • 2021: Halide 13 required C++17 and documented Homebrew and vcpkg package paths.
  • 2023: Halide 15 added PyPI-distributed Python builds and RISC-V vector support.
  • 2023: Halide 16 added Vulkan support, experimental WebGPU support, and a GPU autoscheduler.
  • 2025: Halide 21 aligned the major version with LLVM and continued Python-binding improvements.

Related projects

  • LLVM: compiler infrastructure used by Halide for code generation.
  • CMake and vcpkg: build and packaging paths documented by Halide.
  • PyPI halide package: binary distribution route for C++ and Python use.
  • PyTorch: target ecosystem referenced by Halide release notes for custom operators.
  • CUDA, OpenCL, Metal, DirectX, Vulkan, WebAssembly, and Hexagon: target backends or platforms represented in Halide documentation and releases.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 8 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
adams2019_retrain_cost_modelcliglobal executable
adams2019_weightsdir_to_weightsfilecliglobal executable
anderson2021_retrain_cost_modelcliglobal executable
anderson2021_weightsdir_to_weightsfilecliglobal executable
featurization_to_samplecliglobal executable
gengencliglobal executable
get_host_targetcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version21.0.0
manager updated
local dataok
upstreamcurrent
latest detectedv21.0.0

https://github.com/halide/Halide

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:halide
Version21.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/halide
Homepagehttps://halide-lang.org
Repositoryhttps://github.com/halide/Halide
Upstream docshttps://halide-lang.org/docs
LicenseMIT
Source archivehttps://github.com/halide/Halide/archive/refs/tags/v21.0.0.tar.gz
Dependenciesflatbuffers, jpeg-turbo, libpng, lld@21, llvm@21, openssl@3, python@3.14, wabt
Build dependenciescmake, pybind11
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehalide
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

halide19-api-doc 19.0.0-6

fast, portable computation on images and tensors (Doxygen documentation)

https://halide-lang.org/

sudo apt install halide19-api-doc
  • Section: doc
  • Architecture: all
  • Source Package: halide
  • normalized package name match
  • Matched by: Halide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: halide19-api-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhalide19-0 19.0.0-6

fast, portable computation on images and tensors

https://halide-lang.org/

sudo apt install libhalide19-0
  • Section: libs
  • Architecture: amd64
  • Source Package: halide
  • 4 dependencies
  • normalized package name match
  • Matched by: Halide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhalide19-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhalide19-dev 19.0.0-6

fast, portable computation on images and tensors -- Development files

https://halide-lang.org/

sudo apt install libhalide19-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: halide
  • 5 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Halide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhalide19-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhalide19-doc 19.0.0-6

fast, portable computation on images and tensors (C++ documentation)

https://halide-lang.org/

sudo apt install libhalide19-doc
  • Section: doc
  • Architecture: all
  • Source Package: halide
  • normalized package name match
  • Matched by: Halide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhalide19-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhalideaot19-0 19.0.0-6

fast, portable computation on images and tensors (virtual library)

https://halide-lang.org/

sudo apt install libhalideaot19-0
  • Section: libs
  • Architecture: all
  • Source Package: halide
  • 1 dependencies
  • normalized package name match
  • Matched by: Halide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhalideaot19-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-halide 19.0.0-6

fast, portable computation on images and tensors -- Python3 bindings

https://halide-lang.org/

sudo apt install python3-halide
  • Section: python
  • Architecture: amd64
  • Source Package: halide
  • 5 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Halide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-halide from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-halide-doc 19.0.0-6

fast, portable computation on images and tensors (Python3 documentation)

https://halide-lang.org/

sudo apt install python3-halide-doc
  • Section: doc
  • Architecture: all
  • Source Package: halide
  • normalized package name match
  • Matched by: Halide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-halide-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-halide19-dev 19.0.0-6

fast, portable computation on images and tensors (Python3 Bindings Dev files)

https://halide-lang.org/

sudo apt install python3-halide19-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: halide
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Halide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-halide19-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

halide

nix profile install nixpkgs#halide
  • normalized package name match
  • Matched by: Halide
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ha/halide/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

halide17-api-doc 17.0.1-1build1

fast, portable computation on images and tensors (Doxygen documentation)

https://halide-lang.org/

sudo apt install halide17-api-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: halide
  • normalized package name match
  • Matched by: Halide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: halide17-api-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhalide17-1 17.0.1-1build1

fast, portable computation on images and tensors

https://halide-lang.org/

sudo apt install libhalide17-1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: halide
  • 4 dependencies
  • normalized package name match
  • Matched by: Halide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhalide17-1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhalide17-1-dev 17.0.1-1build1

fast, portable computation on images and tensors -- Development files

https://halide-lang.org/

sudo apt install libhalide17-1-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: halide
  • 5 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Halide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhalide17-1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhalide17-doc 17.0.1-1build1

fast, portable computation on images and tensors (C++ documentation)

https://halide-lang.org/

sudo apt install libhalide17-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: halide
  • normalized package name match
  • Matched by: Halide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhalide17-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhalideaot17-1 17.0.1-1build1

fast, portable computation on images and tensors (virtual library)

https://halide-lang.org/

sudo apt install libhalideaot17-1
  • Section: universe/libs
  • Architecture: all
  • Source Package: halide
  • 1 dependencies
  • normalized package name match
  • Matched by: Halide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhalideaot17-1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-halide 17.0.1-1build1

fast, portable computation on images and tensors -- Python3 bindings

https://halide-lang.org/

sudo apt install python3-halide
  • Section: universe/python
  • Architecture: amd64
  • Source Package: halide
  • 5 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Halide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-halide from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-halide-doc 17.0.1-1build1

fast, portable computation on images and tensors (Python3 documentation)

https://halide-lang.org/

sudo apt install python3-halide-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: halide
  • normalized package name match
  • Matched by: Halide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-halide-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment