cupy-cuda13x
CuPy: NumPy & SciPy for GPU
What it is and what it does
CuPy is a GPU-accelerated array computing library that mirrors NumPy and SciPy's API, allowing you to run numerical computations on NVIDIA GPUs via CUDA 13.x. It is designed for scientists and engineers who want to leverage GPU parallelism without rewriting their numerical code from scratch. The package depends on numpy and cuda-pathfinder, and is distributed as precompiled wheels for Python 3.10 through 3.14 on Linux and Windows.
You install it either by ensuring CUDA Toolkit 13.x is already on your system, or by using the [ctk] tag to have pip bundle the necessary CUDA runtime components. Once installed, you can replace NumPy arrays with CuPy arrays and call the same functions, with computation happening on the GPU instead of the CPU.
Use it for:
- Accelerate large-scale matrix operations and linear algebra for machine learning or scientific simulations.
- Speed up image processing pipelines by running convolutions and transformations on GPU.
- Run iterative numerical algorithms such as optimization or PDE solvers that benefit from GPU parallelism.
- Prototype GPU-accelerated code in Python before moving to lower-level implementations.
- Process high-dimensional data arrays in applications where CPU throughput is a bottleneck.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
CuPy provides a NumPy and SciPy-compatible array library that runs computations on NVIDIA GPUs via CUDA 13.x, allowing you to accelerate numerical code with minimal API changes.
Yes, if you have NVIDIA GPU hardware and CUDA 13.x available, and your workload involves large-scale numerical computation that would benefit from GPU acceleration. The package is production-stable, actively maintained, and has no known vulnerabilities. Install friction is moderate—you must have CUDA 13.x or use the [ctk] tag—but the API compatibility with NumPy makes adoption straightforward for existing code.
Install
cupy-cuda13x on PyPI
pip
pip install cupy-cuda13xuv
uv add cupy-cuda13xpoetry
poetry add cupy-cuda13xInstalling cupy-cuda13x
Before you install
Medium install friction due to compiled wheels and CUDA 13.x system requirement. The package is actively maintained with recent releases, and wheels are available for Python 3.10–3.14 on Linux and Windows; you must have CUDA Toolkit 13.x installed locally, or install with the [ctk] tag to bundle CUDA components.
License in practice
MIT license is permissive and imposes no restrictions on commercial or private use, modification, or redistribution.
Quickstart
pip install cupy-cuda13x[ctk]
import cupy as cp
x_gpu = cp.array([1, 2, 3])
result = cp.sum(x_gpu)
CUDA Toolkit 13.x must be installed locally, or use [ctk] tag to bundle CUDA components from PyPI.
Verify before relying
- Performance gains relative to CPU NumPy for specific workload types and array sizes.
- Compatibility of CUDA 13.x with your GPU hardware and driver versions.
- Whether the [ctk] installation option fully satisfies CUDA dependencies on all platforms.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 2 — numpy, cuda-pathfinder |
| Maintenance | actively maintained — 74 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 620,674/month — #5,724 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cupy_cuda13x-14.1.1-cp310-cp310-manylinux2014_aarch64.whl; cupy_cuda13x-14.1.1-cp310-cp310-manylinux2014_x86_64.whl; cupy_cuda13x-14.1.1-cp310-cp310-win_amd64.whl; cupy_cuda13x-14.1.1-cp311-cp311-manylinux2014_aarch64.whl; cupy_cuda13x-14.1.1-cp311-cp311-manylinux2014_x86_64.whl; cupy_cuda13x-14.1.1-cp311-cp311-win_amd64.whl; cupy_cuda13x-14.1.1-cp312-cp312-manylinux2014_aarch64.whl; cupy_cuda13x-14.1.1-cp312-cp312-manylinux2014_x86_64.whl; cupy_cuda13x-14.1.1-cp312-cp312-win_amd64.whl; cupy_cuda13x-14.1.1-cp313-cp313-manylinux2014_aarch64.whl; cupy_cuda13x-14.1.1-cp313-cp313-manylinux2014_x86_64.whl; cupy_cuda13x-14.1.1-cp313-cp313-win_amd64.whl; cupy_cuda13x-14.1.1-cp314-cp314-manylinux2014_aarch64.whl; cupy_cuda13x-14.1.1-cp314-cp314-manylinux2014_x86_64.whl; cupy_cuda13x-14.1.1-cp314-cp314t-manylinux2014_aarch64.whl; cupy_cuda13x-14.1.1-cp314-cp314t-manylinux2014_x86_64.whl; cupy_cuda13x-14.1.1-cp314-cp314-win_amd64.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
cupy-cuda12xCuPy provides a NumPy- and SciPy-compatible…
permissive · top 5,000 on PyPI
nvidia-cusolver-cu11Provides NVIDIA CUDA solver native runtime…
unclear · top 5,000 on PyPI
nvidia-cufft-cu12Provides NVIDIA CUFFT native runtime libraries…
unclear · top 1,000 on PyPI
array-api-compatProvides a unified wrapper around NumPy, CuPy,…
permissive · top 5,000 on PyPI
nvidia-cufftProvides NVIDIA CUFFT native runtime libraries…
unclear · top 1,000 on PyPI
nvidia-cufft-cu11Provides NVIDIA CUFFT native runtime libraries…
unclear · top 5,000 on PyPI
nvidia-cublas-cu11Provides NVIDIA CUBLAS native runtime libraries…
unclear · top 5,000 on PyPI
cutensornet-cu13cuTensorNet is a GPU-accelerated library for…
unclear · top 15,000 on PyPI
nvidia-cudnn-cu13Provides cuDNN runtime libraries for…
unclear · top 1,000 on PyPI
nvidia-cuda-runtime-cu12Provides NVIDIA CUDA 12 runtime native…
unclear · top 1,000 on PyPI