This release is a pre-release and may not be stable for production use.
loom-py-rt-metal
The Metal backend for loom-py-rt. One shared library in one
small wheel; there is nothing here to import.
pip install "loom-py-rt[metal]"
import loom
loom.devices() # a Metal device now appears
model = loom.Model.from_file(path, device="gpu")
The base package is unchanged by installing this — it discovers the library on sys.path at import
and device="auto" starts using it. That is what GGML_BACKEND_DL buys: no second copy of the
runtime per accelerator.
Apple Silicon only
There is no Intel-Mac wheel, so pip install "loom-py-rt[metal]" will not resolve on one. That is
intended rather than an oversight — an extra that quietly resolved to nothing would hand back a
successful install and no Metal, and the first sign of it would be an unexplained performance number
much later.
Metal is not the Neural Engine. Metal is the GPU, and is an ordinary in-tree ggml backend. The Neural Engine means CoreML, which no ggml backend targets.
If it appears not to have worked
Check loom.devices(). A backend that finds no supported device loads without error and
registers nothing — the only other symptom is a model running at CPU speed.
device="gpu" asks for an offload device with its own memory, preferring one the kernel confirms is
a GPU. It is not a promise that Metal specifically was chosen. Pass device="Metal0" to require this
backend.
Note that Apple Silicon is a unified-memory part: the CPU and the GPU address the same physical RAM. A device that is faster for a large matrix multiplication is not automatically faster for a small graph, because the win no longer includes escaping a slow bus.
Versioning
This package pins the base with ==, not ~=. It carries a libggml-metal.so that is dlopened
beside the base wheel's libggml-base.dylib, and ggml makes no ABI promise across revisions — so a
base release that moves its ggml pin invalidates every backend wheel published before it. The exact
pin is what stops pip from pairing two libraries that do not agree.
Metadata
Release files for loom-py-rt-metal 1.0.0rc11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| loom_py_rt_metal-1.0.0rc11-py3-none-macosx_14_0_arm64.whl | Python 3 | none | macOS 14.0+ ARM64 | Details |
Release files / loom_py_rt_metal-1.0.0rc11-py3-none-macosx_14_0_arm64.whl
| Download URL | loom_py_rt_metal-1.0.0rc11-py3-none-macosx_14_0_arm64.whl |
|---|---|
| Size | 179.2 kB |
| Tags | Python 3 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8055b96f240cdc943f20219526a1b3b817ba43177705cf6afeda605fa0a28bb9
|
|
BLAKE2b-256 checksum How to use checksums |
17ea761e826cb24f3d8d1849667d08137d3dbf63548d5615d0a66f02dc5847ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 27, 2026.
Transparency logSecurity for loom-py-rt-metal 1.0.0rc11
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 1 file in this release has been uploaded with provenance metadata.
Attestation for loom_py_rt_metal-1.0.0rc11-py3-none-macosx_14_0_arm64.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 Sep 27, 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.