Skip to main content
Pre-release

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nxrt_ep_cuda-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

File details

Details for the file nxrt_ep_cuda-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for nxrt_ep_cuda-0.1.0.dev5-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 be9d9d26c521efdf7e6f1f4720ee4454a12baf2d12ca71f25fbb70b240718b27
MD5 2d4764195481cedbfaa382b6dd04f282
BLAKE2b-256 88b9568ecb3fe5f95481afb01c769af64cf740dc2de9f6b03e0fe586fe2b8600

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0.dev5 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page