macOS
brew install halidelocal Homebrew formula metadata
安装
brew install halidelocal Homebrew formula metadata
nix profile install nixpkgs#halidenixpkgs package indexes · pkgs/by-name/ha/halide/package.nix · 来源: api.github.com
sudo apt install halide19-api-docDebian stable package indexes · halide19-api-doc · 来源: deb.debian.org
sudo apt install halide17-api-docUbuntu 24.04 LTS package indexes · halide17-api-doc · 来源: archive.ubuntu.com
sudo pacman -S gengenArch Linux sync databases · gengen · 来源: geo.mirror.pkgbuild.com
概览
Language for fast, portable data-parallel computation
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
adams2019_retrain_cost_model | cli | 全局可执行文件 | |
adams2019_weightsdir_to_weightsfile | cli | 全局可执行文件 | |
anderson2021_retrain_cost_model | cli | 全局可执行文件 | |
anderson2021_weightsdir_to_weightsfile | cli | 全局可执行文件 | |
featurization_to_sample | cli | 全局可执行文件 | |
gengen | cli | 全局可执行文件 | |
get_host_target | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/halide/Halide
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | halide |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
halide19-api-doc 19.0.0-6
fast, portable computation on images and tensors (Doxygen documentation)
sudo apt install halide19-api-doclibhalide19-0 19.0.0-6
fast, portable computation on images and tensors
sudo apt install libhalide19-0libhalide19-dev 19.0.0-6
fast, portable computation on images and tensors -- Development files
sudo apt install libhalide19-devlibhalide19-doc 19.0.0-6
fast, portable computation on images and tensors (C++ documentation)
sudo apt install libhalide19-doclibhalideaot19-0 19.0.0-6
fast, portable computation on images and tensors (virtual library)
sudo apt install libhalideaot19-0python3-halide 19.0.0-6
fast, portable computation on images and tensors -- Python3 bindings
sudo apt install python3-halidepython3-halide-doc 19.0.0-6
fast, portable computation on images and tensors (Python3 documentation)
sudo apt install python3-halide-docpython3-halide19-dev 19.0.0-6
fast, portable computation on images and tensors (Python3 Bindings Dev files)
sudo apt install python3-halide19-devhalide
nix profile install nixpkgs#halidehalide17-api-doc 17.0.1-1build1
fast, portable computation on images and tensors (Doxygen documentation)
sudo apt install halide17-api-doclibhalide17-1 17.0.1-1build1
fast, portable computation on images and tensors
sudo apt install libhalide17-1libhalide17-1-dev 17.0.1-1build1
fast, portable computation on images and tensors -- Development files
sudo apt install libhalide17-1-devlibhalide17-doc 17.0.1-1build1
fast, portable computation on images and tensors (C++ documentation)
sudo apt install libhalide17-doclibhalideaot17-1 17.0.1-1build1
fast, portable computation on images and tensors (virtual library)
sudo apt install libhalideaot17-1python3-halide 17.0.1-1build1
fast, portable computation on images and tensors -- Python3 bindings
sudo apt install python3-halidepython3-halide-doc 17.0.1-1build1
fast, portable computation on images and tensors (Python3 documentation)
sudo apt install python3-halide-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.