Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
33 of 399 committers (8.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.6%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
NumPy & SciPy for GPU
Basic Info
- Host: GitHub
- Owner: cupy
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://cupy.dev
- Size: 43.7 MB
Statistics
- Stars: 10,462
- Watchers: 128
- Forks: 948
- Open Issues: 623
- Releases: 0
Topics
Metadata Files
README.md

CuPy : NumPy & SciPy for GPU
Website | Install | Tutorial | Examples | Documentation | API Reference | Forum
CuPy is a NumPy/SciPy-compatible array library for GPU-accelerated computing with Python. CuPy acts as a drop-in replacement to run existing NumPy/SciPy code on NVIDIA CUDA or AMD ROCm platforms.
```py
import cupy as cp x = cp.arange(6).reshape(2, 3).astype('f') x array([[ 0., 1., 2.], [ 3., 4., 5.]], dtype=float32) x.sum(axis=1) array([ 3., 12.], dtype=float32) ```
CuPy also provides access to low-level CUDA features.
You can pass ndarray to existing CUDA C/C++ programs via RawKernels, use Streams for performance, or even call CUDA Runtime APIs directly.
Installation
Pip
Binary packages (wheels) are available for Linux and Windows on PyPI. Choose the right package for your platform.
| Platform | Architecture | Command |
| --------------------- | ----------------- | ------------------------------------------------------------- |
| CUDA 11.x (11.2+) | x8664 / aarch64 | pip install cupy-cuda11x |
| CUDA 12.x | x8664 / aarch64 | pip install cupy-cuda12x |
| CUDA 13.x | x8664 / aarch64 | pip install cupy-cuda13x |
| ROCm 4.3 (experimental) | x8664 | pip install cupy-rocm-4-3 |
| ROCm 5.0 (experimental) | x86_64 | pip install cupy-rocm-5-0 |
[!NOTE]\ To install pre-releases, append
--pre -U -f https://pip.cupy.dev/pre(e.g.,pip install cupy-cuda11x --pre -U -f https://pip.cupy.dev/pre).
Conda
Binary packages are also available for Linux and Windows on Conda-Forge.
| Platform | Architecture | Command |
| --------------------- | --------------------------- | ------------------------------------------------------------- |
| CUDA | x86_64 / aarch64 / ppc64le | conda install -c conda-forge cupy |
If you need a slim installation (without also getting CUDA dependencies installed), you can do conda install -c conda-forge cupy-core.
If you need to use a particular CUDA version (say 12.0), you can use the cuda-version metapackage to select the version, e.g. conda install -c conda-forge cupy cuda-version=12.0.
[!NOTE]\ If you encounter any problem with CuPy installed from
conda-forge, please feel free to report to cupy-feedstock, and we will help investigate if it is just a packaging issue inconda-forge's recipe or a real issue in CuPy.
Docker
Use NVIDIA Container Toolkit to run CuPy container images.
$ docker run --gpus all -it cupy/cupy
Resources
- Installation Guide - instructions on building from source
- Release Notes
- Projects using CuPy
- Contribution Guide
- GPU Acceleration in Python using CuPy and Numba (GTC November 2021 Technical Session)
- GPU-Acceleration of Signal Processing Workflows using CuPy and cuSignal^1
[^1]: cuSignal is now part of CuPy starting v13.0.0.
License
MIT License (see LICENSE file).
CuPy is designed based on NumPy's API and SciPy's API (see docs/source/license.rst file).
CuPy is being developed and maintained by Preferred Networks and community contributors.
Reference
Ryosuke Okuta, Yuya Unno, Daisuke Nishino, Shohei Hido and Crissman Loomis. CuPy: A NumPy-Compatible Library for NVIDIA GPU Calculations. Proceedings of Workshop on Machine Learning Systems (LearningSys) in The Thirty-first Annual Conference on Neural Information Processing Systems (NIPS), (2017). [PDF]
bibtex
@inproceedings{cupy_learningsys2017,
author = "Okuta, Ryosuke and Unno, Yuya and Nishino, Daisuke and Hido, Shohei and Loomis, Crissman",
title = "CuPy: A NumPy-Compatible Library for NVIDIA GPU Calculations",
booktitle = "Proceedings of Workshop on Machine Learning Systems (LearningSys) in The Thirty-first Annual Conference on Neural Information Processing Systems (NIPS)",
year = "2017",
url = "http://learningsys.org/nips17/assets/papers/paper_16.pdf"
}
Owner
- Name: CuPy
- Login: cupy
- Kind: organization
- Website: https://cupy.dev
- Twitter: CuPy_Team
- Repositories: 6
- Profile: https://github.com/cupy
NumPy & SciPy for GPU
Citation (CITATION.bib)
@inproceedings{cupy_learningsys2017,
author = "Okuta, Ryosuke and Unno, Yuya and Nishino, Daisuke and Hido, Shohei and Loomis, Crissman",
title = "CuPy: A NumPy-Compatible Library for NVIDIA GPU Calculations",
booktitle = "Proceedings of Workshop on Machine Learning Systems (LearningSys) in The Thirty-first Annual Conference on Neural Information Processing Systems (NIPS)",
year = "2017",
url = "http://learningsys.org/nips17/assets/papers/paper_16.pdf"
}
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Kenichi Maehashi | w****r@k****m | 2,261 |
| Leo Fang | l****g@b****v | 2,145 |
| Yuya Unno | u****o@g****m | 1,992 |
| Ryosuke Okuta | o****a@p****p | 1,610 |
| Masayuki Takagi | k****a@g****m | 1,409 |
| Akifumi Imanishi | i****i@p****p | 1,143 |
| Kenta OONO | o****o@p****p | 905 |
| Seiya Tokui | b****b@g****m | 880 |
| Toshiki Kataoka | k****a@p****p | 765 |
| Emilio Castillo | e****l@p****p | 682 |
| Akira Naruse | a****e@n****m | 670 |
| Gregory Lee | g****7@g****m | 582 |
| Edgar Andrés Margffoy Tuay | a****y@g****m | 440 |
| niboshi | n****0@g****m | 396 |
| Evgeni Burovski | e****y@g****m | 304 |
| Corey J. Nolet | c****t@g****m | 276 |
| Yusuke Niitani | y****i@g****m | 254 |
| Shunta Saito | s****o@g****m | 245 |
| Dahlia-Chehata | d****a@g****m | 240 |
| fukatani | n****a@g****m | 231 |
| Masaki Saito | m****o@p****p | 187 |
| Piyush-555 | p****5@g****m | 186 |
| Khushi Agrawal | k****1@g****m | 175 |
| SS | 6****a | 174 |
| Aaron Meurer | a****r@g****m | 168 |
| yoshikawa | y****a@p****p | 167 |
| Gentaro Watanabe | g****b@p****p | 154 |
| setoyama | k****a@g****m | 142 |
| Toru Ogawa | H****e | 121 |
| Naoto Mizuno | m****o@e****p | 113 |
| and 369 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 769
- Total pull requests: 1,920
- Average time to close issues: 12 months
- Average time to close pull requests: about 1 month
- Total issue authors: 380
- Total pull request authors: 143
- Average comments per issue: 2.63
- Average comments per pull request: 2.86
- Merged pull requests: 1,461
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 247
- Pull requests: 852
- Average time to close issues: 12 days
- Average time to close pull requests: 5 days
- Issue authors: 133
- Pull request authors: 62
- Average comments per issue: 1.2
- Average comments per pull request: 1.99
- Merged pull requests: 628
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- kmaehashi (121)
- leofang (50)
- AnonymousPlayer2000 (36)
- asi1024 (16)
- ev-br (13)
- takagi (13)
- jakirkham (10)
- mrakgr (9)
- EarlMilktea (8)
- apiqwe (8)
- niboshi (8)
- sambaPython24 (8)
- martinResearch (7)
- siddmittal (6)
- bmerry (5)
Pull Request Authors
- chainer-ci (462)
- kmaehashi (411)
- asi1024 (311)
- EarlMilktea (82)
- andfoy (69)
- leofang (65)
- takagi (64)
- ev-br (59)
- grlee77 (26)
- emcastillo (25)
- jakirkham (22)
- seberg (16)
- jemiryguo (14)
- steppi (12)
- LaterSpec (9)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 26
-
Total downloads:
- pypi 3,142,922 last-month
- Total docker downloads: 1,333,084
-
Total dependent packages: 294
(may contain duplicates) -
Total dependent repositories: 1,451
(may contain duplicates) - Total versions: 752
- Total maintainers: 10
pypi.org: cupy
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: mit
-
Latest release: 13.6.0
published 6 months ago
Rankings
pypi.org: cupy-cuda11x
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: mit
-
Latest release: 13.6.0
published 6 months ago
Rankings
pypi.org: cupy-cuda111
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 12.3.0
published about 2 years ago
Rankings
pypi.org: cupy-cuda110
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 12.3.0
published about 2 years ago
Rankings
pypi.org: cupy-cuda100
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 9.6.0
published over 4 years ago
Rankings
pypi.org: cupy-cuda102
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 12.3.0
published about 2 years ago
Rankings
pypi.org: cupy-cuda113
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 10.6.0
published over 3 years ago
Rankings
pypi.org: cupy-cuda114
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 10.6.0
published over 3 years ago
Rankings
pypi.org: cupy-cuda112
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 10.6.0
published over 3 years ago
Rankings
pypi.org: cupy-cuda12x
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: mit
-
Latest release: 13.6.0
published 6 months ago
Rankings
pypi.org: cupy-cuda101
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 9.6.0
published over 4 years ago
Rankings
pypi.org: cupy-cuda117
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 10.6.0
published over 3 years ago
Rankings
pypi.org: cupy-cuda116
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 10.6.0
published over 3 years ago
Rankings
pypi.org: cupy-cuda90
CuPy: A NumPy-compatible array library accelerated by CUDA
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 8.6.0
published almost 5 years ago
Rankings
pypi.org: cupy-cuda115
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 10.6.0
published over 3 years ago
Rankings
pypi.org: cupy-cuda92
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 9.6.0
published over 4 years ago
Rankings
pypi.org: cupy-cuda91
CuPy: NumPy-like API accelerated with CUDA
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 7.8.0
published over 5 years ago
Rankings
pypi.org: cupy-cuda80
CuPy: NumPy-like API accelerated with CUDA
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 7.8.0
published over 5 years ago
Rankings
conda-forge.org: cupy
- Homepage: https://cupy.dev/
- License: MIT
-
Latest release: 11.3.0
published over 3 years ago
Rankings
pypi.org: cupy-rocm-5-0
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 13.3.0
published over 1 year ago
Rankings
pypi.org: cupy-rocm-4-3
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 13.3.0
published over 1 year ago
Rankings
proxy.golang.org: github.com/cupy/cupy
- Documentation: https://pkg.go.dev/github.com/cupy/cupy#section-documentation
- License: mit
-
Latest release: v13.6.0+incompatible
published 6 months ago
Rankings
pypi.org: cupy-rocm-4-0
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 10.6.0
published over 3 years ago
Rankings
pypi.org: cupy-rocm-4-2
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: MIT License
-
Latest release: 10.6.0
published over 3 years ago
Rankings
anaconda.org: cupy
- Homepage: https://cupy.dev/
- License: MIT
-
Latest release: 8.3.0
published about 5 years ago
Rankings
pypi.org: cupy-cuda13x
CuPy: NumPy & SciPy for GPU
- Homepage: https://cupy.dev/
- Documentation: https://docs.cupy.dev/
- License: mit
-
Latest release: 13.6.0
published 6 months ago
Rankings
Dependencies
- peter-evans/create-or-update-comment v2 composite
- peter-evans/find-comment v2 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- docker/build-push-action v4 composite
- docker/login-action v2 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/github-script v6 composite
- tibdex/github-app-token b62528385c34dbc9f38e5f4225ac829252d1ea92 composite
- actions/upload-artifact v3 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- pypa/gh-action-pypi-publish release/v1 composite
- nvidia/cuda 11.8.0-devel-ubuntu22.04 build
- rocm/dev-ubuntu-20.04 5.0.1 build
- numpy ==1.24.
- pydata_sphinx_theme ==0.11.0
- scipy ==1.10.
- sphinx ==5.3.0
- sphinx-copybutton ==0.5.1
- fastrlock >=0.5
- numpy >=1.22,<1.27