This release is a pre-release and may not be stable for production use.
nxrt-ep-cuda (EXPERIMENTAL / PRE-RELEASE)
⚠️ Experimental. The CUDA execution provider bundled here has not been validated on physical CUDA hardware yet (tracked by issue #768). Do not rely on it for production. APIs and packaging may change without notice.
A pip-installable ONNX Runtime plugin execution provider (CUDA 13). The
wheel bundles the compiled onnx-runtime-ep-cuda-plugin shared library
(libonnx_runtime_ep_cuda_plugin.{so,dll}) built with the cuda cargo feature
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.
Requirements
- CUDA 13 runtime. The wheel declares the NVIDIA runtime libraries as
dependencies (
nvidia-cuda-runtime>=13,nvidia-cublas>=13,nvidia-cuda-nvrtc>=13,nvidia-cuda-cupti>=13), so they are installed automatically. The NVIDIA driver (libcuda.so.1) remains a host prerequisite. - Linux (x86_64) and Windows (AMD64) only. There is no macOS build.
Install
pip install nxrt-ep-cuda # pre-release; may require --pre
Usage
import nxrt_ep_cuda
path = nxrt_ep_cuda.get_library_path() # absolute path to the bundled cdylib
import onnxruntime as ort
so = ort.SessionOptions()
nxrt_ep_cuda.register(so) # thin wrapper over register_execution_provider_library
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.
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 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 nxrt_ep_cuda-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: nxrt_ep_cuda-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.9 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 |
be9d9d26c521efdf7e6f1f4720ee4454a12baf2d12ca71f25fbb70b240718b27
|
|
| MD5 |
2d4764195481cedbfaa382b6dd04f282
|
|
| BLAKE2b-256 |
88b9568ecb3fe5f95481afb01c769af64cf740dc2de9f6b03e0fe586fe2b8600
|
Provenance
The following attestation bundles were made for nxrt_ep_cuda-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_cuda-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl -
Subject digest:
be9d9d26c521efdf7e6f1f4720ee4454a12baf2d12ca71f25fbb70b240718b27 - Sigstore transparency entry: 2438218886
- Sigstore integration time:
-
Permalink:
justinchuby/onnx-genai@8a055e99f5e755e50e28dd1a71deca01e9892689 -
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@8a055e99f5e755e50e28dd1a71deca01e9892689 -
Trigger Event:
workflow_dispatch
-
Statement type: