ARLE ships pre-built binaries on every v* tag. Three install paths cover
the supported platforms; pick the one that matches your environment.
| Platform | Backend | Binaries shipped |
|---|---|---|
| macOS arm64 (Apple Silicon) | Metal / MLX | arle |
| Linux x86_64 | CUDA 12.x (driver required on host) | arle |
| Other (macOS x86_64, Linux aarch64, Windows) | — | Build from source |
CUDA binaries are linked against cudart 12.x and need a matching NVIDIA
driver / CUDA runtime present on the host. Metal binaries need macOS 14+.
brew install cklxx/tap/arle
arle --doctorTap source: https://github.com/cklxx/homebrew-tap. The formula is bumped
automatically on every v* tag from this repo's
release workflow.
To upgrade:
brew update && brew upgrade arleTo uninstall:
brew uninstall arle
brew untap cklxx/tap # optional: remove the tap entirelycurl -fsSL https://github.com/cklxx/arle/releases/latest/download/install.sh | shWhat it does:
- Detects platform via
uname -s/uname -m. - Resolves the
latesttag through GitHub's redirect. - Downloads
arle-<tag>-<platform>.tar.gzandSHA256SUMS.txt. - Verifies the SHA256 (uses
sha256sumorshasum -a 256). - Extracts and
install -m 0755s the binaries into$INSTALL_DIR(default~/.local/bin). - Prints a
PATHhint if$INSTALL_DIRis not onPATH.
| Variable | Default | Effect |
|---|---|---|
ARLE_VERSION |
latest |
Pin to a specific tag, e.g. v0.1.0. |
INSTALL_DIR |
$HOME/.local/bin |
Where binaries land. Use /usr/local/bin for system-wide (needs sudo). |
ARLE_NO_VERIFY |
unset | If set, skip SHA256 verification (not recommended). |
Examples:
# Pin a version, system-wide:
curl -fsSL https://github.com/cklxx/arle/releases/download/v0.1.0/install.sh \
| INSTALL_DIR=/usr/local/bin sudo sh
# Inspect the script before running:
curl -fsSL https://github.com/cklxx/arle/releases/latest/download/install.sh -o install.sh
less install.sh
sh install.shTo uninstall, just delete the binaries:
rm -f ~/.local/bin/arledocker run --rm --gpus all -p 8000:8000 \
-v /path/to/Qwen3.5-4B:/model:ro \
ghcr.io/cklxx/arle:latest \
serve --backend cuda --model-path /model --port 8000The :latest tag tracks the newest non-prerelease release image. Tagged
releases are published as ghcr.io/cklxx/arle:X.Y.Z (no v prefix - docker
metadata-action strips it).
Required for the cpu backend, CUDA/TileLang, or hacking on the runtime.
See the README Quick Start for the canonical
cargo build invocations per backend, and environment.md
for the env-var knobs that affect the build.
CUDA source builds need TileLang. TileLang is the one build-time Python
dependency (attention / GDR kernel AOT codegen), pinned in
requirements-build.txt. The quickest way to
set it up — it also installs the native build deps (clang/cmake/bindgen)
and downloads a default model — is:
./setup.sh # native deps + TileLang venv + model
cargo build --release --features cuda --bin arleIf you prefer to set it up manually, see
troubleshooting.md
and the INFER_TILELANG_PYTHON entry in
environment.md. Docker (§3) needs no compile step.
arle --doctor # human-readable
arle --doctor --json # machine-readable, suitable for CI gates--doctor prints the compiled backend, runtime feature flags, and a
self-check of the model-loading path. If it errors out, the most common
causes are documented in troubleshooting.md.