skillfed

jax-cuda12-plugin

JAX Plugin for NVIDIA GPUs

jax-cuda12-plugin v0.11.0 782.4K downloads/30d#5,078 on PyPI36,158
Permissive license Apache-2.0 Active released

What it is and what it does

jax-cuda12-plugin is a runtime plugin that bridges JAX (a numerical computing library for automatic differentiation and XLA compilation) to NVIDIA GPUs via CUDA 12. When installed, it registers GPU support as a backend for JAX, allowing numerical operations and machine learning computations to execute on NVIDIA hardware instead of CPU.

The plugin depends on jax-cuda12-pjrt, a compiled component that handles low-level GPU communication. It is distributed as platform-specific wheels for Linux x86_64 and aarch64 only, and requires Python 3.12 or later. Installation is straightforward via pip, but GPU availability and proper CUDA environment setup are prerequisites for runtime use.

Use it for:

  • Accelerate machine learning training by offloading gradient computation and matrix operations to NVIDIA GPUs.
  • Speed up numerical simulations and scientific computing workloads using JAX's automatic differentiation and JIT compilation.
  • Enable per-example gradient computation and vectorized operations on GPU for batch processing in deep learning pipelines.
  • Scale JAX programs across multiple GPUs using data parallelism and sharding strategies on NVIDIA hardware.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Enables JAX to run numerical computations and machine learning workloads on NVIDIA GPUs with CUDA 12 support.

Yes, if you have an NVIDIA GPU with CUDA 12 support and want to use JAX for accelerated numerical computing or machine learning. The plugin is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is moderate due to platform specificity and compiled dependencies, but this is typical for GPU acceleration packages. Not applicable on systems without NVIDIA GPUs or on unsupported platforms.

Install

jax-cuda12-plugin on PyPI

pip

pip install jax-cuda12-plugin

uv

uv add jax-cuda12-plugin

poetry

poetry add jax-cuda12-plugin

Installing jax-cuda12-plugin

Before you install

Medium install friction due to platform-specific wheels for Linux x86_64 and aarch64 only, plus a compiled runtime dependency on jax-cuda12-pjrt. Actively maintained with recent releases and high repository activity (36158 stars).

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install jax-cuda12-plugin
import jax
import jax.numpy as jnp
# GPU acceleration is automatically available for JAX operations
result = jax.jit(lambda x: jnp.dot(x, x))(jnp.ones((100, 100)))

Requires NVIDIA GPU with CUDA 12 support and Linux x86_64 or aarch64 platform; Python 3.12 or later.

Verify before relying

  • Whether CUDA 12 runtime libraries must be pre-installed on the system for the plugin to function.
  • Performance characteristics and memory overhead compared to CPU-only JAX execution.
  • Compatibility with specific NVIDIA GPU architectures and CUDA driver versions.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.12)
Install friction medium — platform-specific wheel
Runtime dependencies 1 — jax-cuda12-pjrt
Maintenance actively maintained — 29 days since the last release
Last repo commit
First released
Downloads 782,417/month — #5,078 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: jax_cuda12_plugin-0.11.0-cp312-cp312-manylinux_2_27_aarch64.whl; jax_cuda12_plugin-0.11.0-cp312-cp312-manylinux_2_27_x86_64.whl; jax_cuda12_plugin-0.11.0-cp313-cp313-manylinux_2_27_aarch64.whl; jax_cuda12_plugin-0.11.0-cp313-cp313-manylinux_2_27_x86_64.whl; jax_cuda12_plugin-0.11.0-cp314-cp314-manylinux_2_27_aarch64.whl; jax_cuda12_plugin-0.11.0-cp314-cp314-manylinux_2_27_x86_64.whl; jax_cuda12_plugin-0.11.0-cp314-cp314t-manylinux_2_27_aarch64.whl; jax_cuda12_plugin-0.11.0-cp314-cp314t-manylinux_2_27_x86_64.whl

Development Status :: 5 - Production/StableProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Free Threading :: 3 - Stable

Tags

jax nvidia gpu accelerationcuda 12 gpu pluginjax gpu backendnvidia cuda jax supportgpu-accelerated numerical computing
gpu-accelerationcudanumerical-computing

More Artificial Intelligence packages

Further reading