Loom SDK
hrx-loom contains the Loom compiler, runtime, model tools, and Python APIs.
It compiles programs for CPUs, AMD GPUs, and AMD NPUs, and serves models through
loom-serve. C++ import includes its headers and compiler support.
Install
Use Python 3.12 or newer in a virtual environment:
python -m venv .venv
# Linux:
source .venv/bin/activate
# Windows PowerShell:
# .venv\Scripts\Activate.ps1
python -m pip install hrx-loom
loom-serve --help
Pip installs the native commands and their matching libraries in the environment's
bin directory on Linux or Scripts directory on Windows. Activating the
environment puts the commands on PATH. Building models from Loom source uses the
included JIT compiler; it does not require Bazel or a separate toolchain.
The initial platforms are Linux x86-64 with glibc 2.39 or newer and Windows 11
x86-64. Linux also needs a C++ runtime providing GLIBCXX_3.4.31; Ubuntu 24.04
with its standard libstdc++6 package satisfies these requirements. Windows
needs the Microsoft Visual C++ v14 x64 Redistributable.
AMD execution uses libamdf and requires a supported operating-system device
driver and device access. No ROCm SDK installation is required.
Fetch and serve a model
Hugging Face acquisition uses the optional hf extra. Local files and HTTP
sources work with the base package:
python -m pip install 'hrx-loom[hf]'
loom-fetch --list
loom-fetch
The release's compatible model catalog supplies the list and terminal picker.
A development SDK without an associated catalog requires --catalog or a model
card path or URL. Cards describe the exact files, variants, and runnable presets.
For example, install the library's Moonshine Streaming Tiny model on an AMD GPU:
loom-fetch https://raw.githubusercontent.com/ROCm/hrx-loom-library/21637a18079d1f1dd9b8e20d26f700a62e60db4f/model/moonshine-ai/moonshine-streaming-tiny/model.json --preset=streaming --output=./moonshine
loom-serve --model=./moonshine/model.json --device=amdgpu
Choose a device supported by the model: task for CPU, amdgpu for AMD GPU,
or xdna for AMD NPU. loom-run --list_drivers lists the installed drivers.
The fetched card preserves the selected preset and can be served directly.
Model weights are downloaded separately; the SDK does not contain checkpoints.
The fetch-to-serve walkthrough
includes the audio request, expected transcript, and offline/cache behavior.
Tools and Python APIs
The installed commands are loom-benchmark, loom-check, loom-compile,
loom-compile-report, loom-export-cxx, loom-fetch, loom-format,
loom-import-cxx, loom-link, loom-lint, loom-opt, loom-run, loom-serve,
and loom-test. Each provides --help.
The loom Python package provides program authoring and model-card APIs using
the Python standard library. Versioned JSON schemas are included with the SDK:
from importlib.resources import files
schema = files("loom.model").joinpath("model-card.v1.schema.json").read_text()
The model format and acquisition guide describes origins, variants, presets, locks, offline use, and model publication. The Loom library contains model cards, programs, kernels, and their tests. The SDK build guide describes Bazel builds and explicit Tracy, debug, and AddressSanitizer wheel profiles.
Metadata
Release files for hrx-loom 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hrx_loom-0.1.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for hrx_loom-0.1.0-py3-none-win_amd64.whl |
| hrx_loom-0.1.0-py3-none-manylinux_2_39_x86_64.whl | Python 3 | none | Linux glibc 2.39+ x86-64 | Details for hrx_loom-0.1.0-py3-none-manylinux_2_39_x86_64.whl |
Total release size: 43.5 MB
Release files / hrx_loom-0.1.0-py3-none-win_amd64.whl
| Download URL | hrx_loom-0.1.0-py3-none-win_amd64.whl |
|---|---|
| Size | 21.2 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d368cf8be58f00f3e9c765df4031964d2fc07fb086a9b5241830f05e95725f83
|
|
BLAKE2b-256 checksum How to use checksums |
981f6b26cf790cd30d299079a4a1a605d116601a5dfd2cfbc75e92612de9c830
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / hrx_loom-0.1.0-py3-none-manylinux_2_39_x86_64.whl
| Download URL | hrx_loom-0.1.0-py3-none-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 22.3 MB |
| Tags | Linux glibc 2.39+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
4d3897b83cc0857723593487a4372a31d203944a1637e5e3143cad1d0583b98b
|
|
BLAKE2b-256 checksum How to use checksums |
51ed5617b2e77c723480af2bbd9653237b611aa8c6224ef998d007064f359950
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logSecurity for hrx-loom 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for hrx_loom-0.1.0-py3-none-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.