onnxruntime-ep-mlx
MLX-native ONNX Runtime execution provider for Apple Silicon. It is an out-of-tree plugin EP for ONNX Runtime 1.29 and requires no ONNX Runtime fork.
The wheel bundles MLX 0.32.1 and mlx-c 0.6.0_4. It supports encoder, LLM
prefill, and token-at-a-time decode workloads, including quantized matmul,
attention, normalization, convolution, shape operations, and compiled
shape-specialized If, Loop, and Scan control flow.
See the complete README for operator coverage, performance results, diagnostics, build instructions, and C/C++ integration.
Install
pip install -U onnxruntime-ep-mlx
import onnxruntime as ort
import onnxruntime_ep_mlx
onnxruntime_ep_mlx.register_execution_provider_library()
session = ort.InferenceSession(
"model.onnx",
providers=["MLXExecutionProvider", "CPUExecutionProvider"],
)
outputs = session.run(None, feeds)
The package requires macOS on Apple Silicon and an ONNX Runtime 1.29 build.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onnxruntime_ep_mlx-0.29.4.tar.gz.
File metadata
- Download URL: onnxruntime_ep_mlx-0.29.4.tar.gz
- Upload date:
- Size: 276.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5db886084e3a6dfb41c56ac2d65bbafeefd57c7699873b8c7e44dbdca06d131c
|
|
| MD5 |
72754aa854ec53553c22d1dc63a78985
|
|
| BLAKE2b-256 |
327c87a06a2af8a40d873ceec761d77ff1435c93efd997a5608f43abe12763ad
|
Provenance
The following attestation bundles were made for onnxruntime_ep_mlx-0.29.4.tar.gz:
Publisher:
publish.yml on justinchuby/onnxruntime-mlx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
onnxruntime_ep_mlx-0.29.4.tar.gz -
Subject digest:
5db886084e3a6dfb41c56ac2d65bbafeefd57c7699873b8c7e44dbdca06d131c - Sigstore transparency entry: 2569449325
- Sigstore integration time:
-
Permalink:
justinchuby/onnxruntime-mlx@ee66ab8c09c351a607b3563edf4935256cc2bb0a -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/justinchuby
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ee66ab8c09c351a607b3563edf4935256cc2bb0a -
Trigger Event:
release
-
Statement type:
File details
Details for the file onnxruntime_ep_mlx-0.29.4-py3-none-macosx_14_0_arm64.whl.
File metadata
- Download URL: onnxruntime_ep_mlx-0.29.4-py3-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 40.3 MB
- Tags: Python 3, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbdc66f12f8f878ac6e667ba02550e79774d3a8a7dce049c485b958ae79944cc
|
|
| MD5 |
5ff84a03ecc470ba1c80ab94b3576a77
|
|
| BLAKE2b-256 |
a8f6e9753b90f18a2d04a3a9ae332296071dd3cb3715cf5ec139bb71eedec337
|
Provenance
The following attestation bundles were made for onnxruntime_ep_mlx-0.29.4-py3-none-macosx_14_0_arm64.whl:
Publisher:
publish.yml on justinchuby/onnxruntime-mlx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
onnxruntime_ep_mlx-0.29.4-py3-none-macosx_14_0_arm64.whl -
Subject digest:
fbdc66f12f8f878ac6e667ba02550e79774d3a8a7dce049c485b958ae79944cc - Sigstore transparency entry: 2569449331
- Sigstore integration time:
-
Permalink:
justinchuby/onnxruntime-mlx@ee66ab8c09c351a607b3563edf4935256cc2bb0a -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/justinchuby
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ee66ab8c09c351a607b3563edf4935256cc2bb0a -
Trigger Event:
release
-
Statement type: