Numerical programming library for the Python programming language
CuPy
Original author(s)
Seiya Tokui
Developer(s)
Community, Preferred Networks, Inc.
Initial release
September 2, 2015; 8 years ago (2015-09-02).[1]
Stable release
v10.5.0[2]
/ May 26, 2022; 23 months ago (2022-05-26)[2]
Preview release
v11.0.0b3[2]
/ May 26, 2022; 23 months ago (2022-05-26)[2]
Repository
github.com/cupy/cupy
Written in
Python, Cython, CUDA
Operating system
Linux, Windows
Platform
Cross-platform
Type
Numerical analysis
License
MIT
Website
cupy.dev
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.[3]
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.[4][5]
CuPy has been initially developed as a backend of Chainer deep learning framework, and later established as an independent project in 2017.[6]
CuPy is a part of the NumPy ecosystem array libraries[7] and is widely adopted to utilize GPU with Python,[8] especially in high-performance computing environments such as Summit,[9] Perlmutter,[10] EULER,[11] and ABCI.[12]
CuPy is a NumFOCUS affiliated project.[13]
^"Release v1.3.0 – chainer/chainer". Retrieved 25 June 2022 – via GitHub.
^ abcd"Releases – cupy/cupy". Retrieved 18 June 2022 – via GitHub.
^
Okuta, Ryosuke; Unno, Yuya; Nishino, Daisuke; Hido, Shohei; Loomis, Crissman (2017). CuPy: A NumPy-Compatible Library for NVIDIA GPU Calculations(PDF). Proceedings of Workshop on Machine Learning Systems (LearningSys) in The Thirty-first Annual Conference on Neural Information Processing Systems (NIPS).
^
"CuPy 9.0 Brings AMD GPU Support To This Numpy-Compatible Library - Phoronix". Phoronix. 29 April 2021. Retrieved 21 June 2022.
^"AMD Leads High Performance Computing Towards Exascale and Beyond". 28 June 2021. Retrieved 21 June 2022. Most recently, CuPy, an open-source array library with Python, has expanded its traditional GPU support with the introduction of version 9.0 that now offers support for the ROCm stack for GPU-accelerated computing.
^
"Preferred Networks released Version 2 of Chainer, an Open Source framework for Deep Learning - Preferred Networks, Inc". 2 June 2017. Retrieved 18 June 2022.
^
"NumPy". numpy.org. Retrieved 21 June 2022.
^Gorelick, Micha; Ozsvald, Ian (April 2020). High Performance Python: Practical Performant Programming for Humans (2nd ed.). O'Reilly Media, Inc. p. 190. ISBN 9781492055020.
^Oak Ridge Leadership Computing Facility. "Installing CuPy". OLCF User Documentation. Retrieved 21 June 2022.
^National Energy Research Scientific Computing Center. "Using Python on Perlmutter". NERSC Documentation. Retrieved 21 June 2022.
^ETH Zurich. "CuPy". ScientificComputing. Retrieved 21 June 2022.
^National Institute of Advanced Industrial Science and Technology. "Chainer". ABCI 2.0 User Guide. Retrieved 21 June 2022.
^"Affiliated Projects - NumFOCUS". Retrieved 18 June 2022.
2014. "Numba". Retrieved 8 March 2014. Shohei Hido - CuPy: A NumPy-compatible Library for GPU - PyCon 2018, archived from the original on 2021-12-21, retrieved...
print(C.np_mat()) while CuPy directly replaces NumPy: import cupy a = cupy.random.randn(400) b = cupy.random.randn(400) dest = cupy.zeros_like(a) print(dest...
source deep learning framework written purely in Python on top of NumPy and CuPy Python libraries. The development is led by Japanese venture company...
visualization (via Matplotlib, VTK). Apache Singa, a library for deep learning. CuPy, a library for GPU-accelerated computing Dask, a library for parallel computing...
"Rosol končí tenisovou kariéru. Šokoval Nadala, vyhrál dva turnaje i Davis Cupy". iDNES (in Czech). 4 April 2024. Retrieved 5 April 2024. Long, David (10...
PyMOL is an open source but proprietary molecular visualization system created by Warren Lyford DeLano. It was commercialized initially by DeLano Scientific...
complexes, depending on conditions: MCl2py2 + 2 py → MCl2py4 Many examples exist for [Au(py)2]+. [Ag(py)3]+ and [Cu(py)2]+ are also precedented. The η6 coordination...
-koʊ-/ KAL-kə-PY-ryte, -koh-) is a copper iron sulfide mineral and the most abundant copper ore mineral. It has the chemical formula CuFeS2 and crystallizes...
density and kernel conditional probability estimator using cuda through cupy. It is much faster than cpu version but it requires GPU with high memory"...
east entrance to Puget Sound's Commencement Bay, Pierce County, Washington. Cupy the first light station on Browns Point, erected in 1887, consisted of a...
cpplint or cpplint.py is an open source lint-like tool developed by Google, designed to ensure that C++ code conforms to Google's coding style guides....
Google Search (also known simply as Google or Google.com) is a search engine operated by Google. It allows users to search for information on the Internet...
CX-30 2023–present Mazda CX-50 (China) The Skyactiv-G 2.5 (PY-VPS) is a 2,488 cc (151.8 cu in) naturally aspirated engine first used in the 2013 Mazda...
cross-platform C unit testing framework". GitHub. Retrieved 4 September 2015. "danfis/cu - C Unit Testing Framework". GitHub. Archived from the original on 30 Oct...
G40 was its 1.3 litre G40 engine (engine ID code: PY). It displaced 1,272 cubic centimetres (77.6 cu in) from a cylinder bore of 75.0 mm (2.953 in), and...
deep-learning library for Python with an API largely compatible with the popular NumPy library. Allows user to write symbolic mathematical expressions, then automatically...