Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, apt, pacman 安装 halide

查看 halide 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install halide

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#halide

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

Debian apt已验证 · 92%
sudo apt install halide19-api-doc

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

Ubuntu apt已验证 · 92%
sudo apt install halide17-api-doc

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

Arch Linux pacman已验证 · 92%
sudo pacman -S gengen

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

概览

软件包摘要

Language for fast, portable data-parallel computation

命令和别名

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

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 8 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
adams2019_retrain_cost_modelcli全局可执行文件
adams2019_weightsdir_to_weightsfilecli全局可执行文件
anderson2021_retrain_cost_modelcli全局可执行文件
anderson2021_weightsdir_to_weightsfilecli全局可执行文件
featurization_to_samplecli全局可执行文件
gengencli全局可执行文件
get_host_targetcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本21.0.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v21.0.0

https://github.com/halide/Halide

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:halide
版本21.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/halide
主页https://halide-lang.org
仓库https://github.com/halide/Halide
上游文档https://halide-lang.org/docs
许可证MIT
源码归档https://github.com/halide/Halide/archive/refs/tags/v21.0.0.tar.gz
依赖flatbuffers, jpeg-turbo, libpng, lld@21, llvm@21, openssl@3, python@3.14, wabt
构建依赖cmake, pybind11
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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