CuPy

CuPy
Original authorSeiya Tokui
DevelopersCommunity, Preferred Networks, Inc.
Initial releaseSeptember 2, 2015 (2015-09-02).
Stable release
v13.6.0 / August 18, 2025 (2025-08-18)
Written inPython, Cython, CUDA
Operating systemLinux, Windows
PlatformCross-platform
TypeNumerical analysis
LicenseMIT
Websitecupy.dev
Repositorygithub.com/cupy/cupy

CuPy is an open source library for GPU-accelerated computing with Python programming language, providing support for multi-dimensional arrays, sparse matrices, and a variety of numerical algorithms implemented on top of them. CuPy shares the same API set as NumPy and SciPy, allowing it to be a drop-in replacement to run NumPy/SciPy code on GPU. CuPy supports Nvidia CUDA GPU platform, and AMD ROCm GPU platform starting in v9.0.

CuPy has been initially developed as a backend of Chainer deep learning framework, and later established as an independent project in 2017.

CuPy is a part of the NumPy ecosystem array libraries and is widely adopted to utilize GPU with Python, especially in high-performance computing environments such as Summit, Perlmutter, EULER, and ABCI.

CuPy is a NumFOCUS sponsored project.