Skip to main content
Pre-release

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.0rc10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for loom-py-rt-metal 1.0.0rc10
File Interpreter ABI Platform
loom_py_rt_metal-1.0.0rc10-py3-none-macosx_14_0_arm64.whl Python 3 none macOS 14.0+ ARM64 Details

Release files / loom_py_rt_metal-1.0.0rc10-py3-none-macosx_14_0_arm64.whl

Download URL loom_py_rt_metal-1.0.0rc10-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
5bca01d5250c48e59c26df1cfb759ad35bb5ca3cbc0bf9db433f48704b055c42
BLAKE2b-256 checksum
How to use checksums
fe474c828d656a92696b3aa69f16241a50c2232072d0af1212d60acde08142ba
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 17, 2026.

Transparency log

Security for loom-py-rt-metal 1.0.0rc10

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.0rc10-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 17, 2026.

Transparency log

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

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page