This release is a pre-release and may not be stable for production use.
nxrt-ep-cpu
A pip-installable ONNX Runtime plugin execution provider (CPU). The wheel
bundles the compiled onnx-runtime-ep-cpu-plugin shared library
(libonnx_runtime_ep_cpu_plugin.{so,dll,dylib}) and exposes the absolute path
to it so ONNX Runtime can load it via
RegisterExecutionProviderLibrary(registration_name, library_path).
The bundled library exports the ORT plugin-EP C ABI
(CreateEpFactories / ReleaseEpFactory). It is not a Python extension —
it is a plain C-ABI shared library that ONNX Runtime dlopens.
Install
pip install nxrt-ep-cpu
Usage
import nxrt_ep_cpu
# Absolute path to the bundled cdylib (guaranteed to exist).
path = nxrt_ep_cpu.get_library_path()
# Register with ONNX Runtime (requires `onnxruntime` to be installed).
import onnxruntime as ort
so = ort.SessionOptions()
nxrt_ep_cpu.register(so) # thin wrapper over register_execution_provider_library
# ...or register manually with the path from get_library_path().
register() prefers SessionOptions.register_execution_provider_library when a
SessionOptions is passed, and falls back to the module-level
onnxruntime.register_execution_provider_library. If onnxruntime is not
installed it raises a clear ImportError.
Platforms
Linux (x86_64, manylinux), Windows (AMD64) and macOS (arm64). The wheel is platform-specific — it contains a compiled shared library and is not pure-Python.
License
MIT. See the onnx-genai repository.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
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 nxrt_ep_cpu-0.1.0.dev5-py3-none-win_amd64.whl.
File metadata
- Download URL: nxrt_ep_cpu-0.1.0.dev5-py3-none-win_amd64.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57e1d0059fcc94936fd38185537b813b53e11d207b0937438985a77ac2eeacad
|
|
| MD5 |
131346eea0c447fec7baf50b9432b308
|
|
| BLAKE2b-256 |
fe42501bb0da900c7b919a15534fda7d49cb20937847a53d17bcd54fff9f52e3
|
Provenance
The following attestation bundles were made for nxrt_ep_cpu-0.1.0.dev5-py3-none-win_amd64.whl:
Publisher:
publish-ep-plugins.yml on justinchuby/onnx-genai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nxrt_ep_cpu-0.1.0.dev5-py3-none-win_amd64.whl -
Subject digest:
57e1d0059fcc94936fd38185537b813b53e11d207b0937438985a77ac2eeacad - Sigstore transparency entry: 2438086224
- Sigstore integration time:
-
Permalink:
justinchuby/onnx-genai@93ef311bf4a061c5ec7c86db9320b45082fa90c9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/justinchuby
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-ep-plugins.yml@93ef311bf4a061c5ec7c86db9320b45082fa90c9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file nxrt_ep_cpu-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: nxrt_ep_cpu-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd8b57079151dbc3e84f3108c235a75b334a19ee1e248b31a345932c8f203175
|
|
| MD5 |
f88f774f19643d7183ad6a6c918adb3e
|
|
| BLAKE2b-256 |
d894622f6c8ac72976384ec8a779a2b816bd36b12fa6866b22af74f547d89122
|
Provenance
The following attestation bundles were made for nxrt_ep_cpu-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl:
Publisher:
publish-ep-plugins.yml on justinchuby/onnx-genai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nxrt_ep_cpu-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl -
Subject digest:
bd8b57079151dbc3e84f3108c235a75b334a19ee1e248b31a345932c8f203175 - Sigstore transparency entry: 2438086124
- Sigstore integration time:
-
Permalink:
justinchuby/onnx-genai@93ef311bf4a061c5ec7c86db9320b45082fa90c9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/justinchuby
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-ep-plugins.yml@93ef311bf4a061c5ec7c86db9320b45082fa90c9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file nxrt_ep_cpu-0.1.0.dev5-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: nxrt_ep_cpu-0.1.0.dev5-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c508751f1ca48b22f6c0e78e1e236c1c302f311b7a696aa9cf736590ea6eb08c
|
|
| MD5 |
3708b6048c97a2e195ae627413a6f9dd
|
|
| BLAKE2b-256 |
98fead65dc1cf5d3e009f297a903dd8d351ea674094fac893d7cea07409eabfb
|
Provenance
The following attestation bundles were made for nxrt_ep_cpu-0.1.0.dev5-py3-none-macosx_11_0_arm64.whl:
Publisher:
publish-ep-plugins.yml on justinchuby/onnx-genai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nxrt_ep_cpu-0.1.0.dev5-py3-none-macosx_11_0_arm64.whl -
Subject digest:
c508751f1ca48b22f6c0e78e1e236c1c302f311b7a696aa9cf736590ea6eb08c - Sigstore transparency entry: 2438086178
- Sigstore integration time:
-
Permalink:
justinchuby/onnx-genai@93ef311bf4a061c5ec7c86db9320b45082fa90c9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/justinchuby
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-ep-plugins.yml@93ef311bf4a061c5ec7c86db9320b45082fa90c9 -
Trigger Event:
workflow_dispatch
-
Statement type: