skillfed

cupy-cuda13x

CuPy: NumPy & SciPy for GPU

cupy-cuda13x v14.1.1 620.7K downloads/30d#5,724 on PyPI12,244
Permissive license MIT Active released

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-cuda13x

uv

uv add cupy-cuda13x

poetry

poetry add cupy-cuda13x

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development

Tags

GPU array library NumPy compatibleCUDA accelerated computing PythonGPU scientific computingNumPy on GPUCUDA 13 array operationsGPU-accelerated numerical computingSciPy GPU alternative
gpu-computingcudaarray-library

More Software Development packages