gpo.zugaina.org

Search Portage & Overlays:

dev-python/cupy

CuPy: A NumPy-compatible array library accelerated by CUDA

Screenshots

  • cupy-14.0.1
    ~amd64
    +cuda test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 debug

    View      Download      Browse     License: MIT   
    Overlay: stuff
  • cupy-14.0.0_alpha1
    ~amd64 ~x86
    all test python_targets_python3_11 python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: MIT   
    Overlay: pypi
  • cupy-13.6.0
    ~amd64
    +cuda cudnn cusparselt test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 debug

    View      Download      Browse     License: MIT   
    Overlay: stuff
  • cupy-13.3.0
    ~amd64
    rocm +cuda cudnn test python_targets_python3_11 python_targets_python3_12 debug +amdgpu_targets_gfx906 +amdgpu_targets_gfx908 +amdgpu_targets_gfx90a +amdgpu_targets_gfx942 +amdgpu_targets_gfx1030 +amdgpu_targets_gfx1100 amdgpu_targets_gfx803 amdgpu_targets_gfx900 amdgpu_targets_gfx940 amdgpu_targets_gfx941 amdgpu_targets_gfx1010 amdgpu_targets_gfx1011 amdgpu_targets_gfx1012 amdgpu_targets_gfx1031 amdgpu_targets_gfx1101 amdgpu_targets_gfx1102

    View      Download      Browse     License: MIT   
    Overlay: pypi-sci
  • cupy-13.2.0-r1
    ~amd64
    rocm +cuda cudnn test python_targets_python3_11 python_targets_python3_12 debug +amdgpu_targets_gfx906 +amdgpu_targets_gfx908 +amdgpu_targets_gfx90a +amdgpu_targets_gfx942 +amdgpu_targets_gfx1030 +amdgpu_targets_gfx1100 amdgpu_targets_gfx803 amdgpu_targets_gfx900 amdgpu_targets_gfx940 amdgpu_targets_gfx941 amdgpu_targets_gfx1010 amdgpu_targets_gfx1011 amdgpu_targets_gfx1012 amdgpu_targets_gfx1031 amdgpu_targets_gfx1101 amdgpu_targets_gfx1102

    View      Download      Browse     License: MIT   
    Overlay: pypi-sci
  • cupy-12.2.0-r3
    ~amd64
    rocm +cuda cudnn test python_targets_python3_11 python_targets_python3_12 debug +amdgpu_targets_gfx906 +amdgpu_targets_gfx908 +amdgpu_targets_gfx90a +amdgpu_targets_gfx1030 amdgpu_targets_gfx803 amdgpu_targets_gfx900 amdgpu_targets_gfx1010 amdgpu_targets_gfx1011 amdgpu_targets_gfx1012 amdgpu_targets_gfx1031

    View      Download      Browse     License: MIT   
    Overlay: pypi-sci

ChangeLog

commit 0f1a2a21694c9619d2b3bbb14e7463a736d108f1
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri May 8 19:31:25 2026 +0200

dev-python/cupy: drop orphan 11.6 add_dir patch

Neither 13.6.0 nor 14.0.1 references this patch (no PATCHES= in
either ebuild). Predates current shipping versions by two majors.

commit 946b3d5e6f85aa6d17632eb69d8c14152e056548
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 23:16:52 2026 +0200

*/*: normalize metadata.xml DTD URL and indent

Repo-wide sweep: 144 metadata.xml files updated to use the
https://www.gentoo.org/dtd/metadata.dtd DTD URL (was http://) and
2-space indentation (was tabs). Maintainer blocks left untouched —
the 2026-04-22 normalization sweep added <name> alongside <email>
where the maintainer was Ivan, but third-party maintainer entries
(lebedev.vasya@gmail.com, megagreener@gmail.com, brothermechanic@gmail.com,
etc.) keep their email-only blocks since we can't safely guess the
corresponding <name>.

pkgcheck stays silent on all metadata-* and maintainer-* checks.

commit f619a36dee0d93654acfb25506e053e4b61a06de
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 16:30:24 2026 +0200

dev-python/cupy: drop cudnn/cusparselt IUSE in cupy-14.0.1

Upstream cupy 14.x split cuDNN, cuSPARSELt, and cuTENSOR integration out of the main
package into separate cupy-cudnn / cupy-cusparselt / cupy-cutensor PyPI
distributions. The main cupy wheel no longer ships the cython-built bindings, so the
previous `cudnn` and `cusparselt` USE flags here just pulled in the runtime libraries
without producing any cupy.cuda.cudnn / cupy.cuda.cusparselt extension. Drop them
from IUSE, REQUIRED_USE, and DEPEND rather than mislead. Tested live with nvidia-
cuda-toolkit-13.2.1: cupy-14.0.1 still builds with USE=cuda and the smoke test
(cp.arange(1e6)**2 sum on the GPU) returns correct results.

commit c494d52d46b684f8ebbf2501ceb896eadab3eda1
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 16:29:59 2026 +0200

dev-python/cupy: pin <cudnn-9 in cupy-13.6.0

cupy 13.x's bundled cudnn module rejects cuDNN >=9 at build time: *** WARNING:
Unsupported cuDNN version: 91700 *** WARNING: cuDNN <=v8970 is required Without
an upper bound the build silently skipped the cudnn module whenever a recent cuDNN
was installed, leaving USE=cudnn as a no-op. Pin the dep to <dev-libs/cudnn-9 so
portage refuses unsatisfiable combinations rather than producing an empty
integration.

commit ecf9fa19c17277a1e8f9fc871ece0eadbbd23fd9
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 12:19:04 2026 +0200

dev-python/cupy: add cuda-pathfinder dep to 14.0.1 (USE=cuda)

Upstream cupy 14.x setup.py appends cuda-pathfinder>=1.3.3,==1.* to
runtime dependencies for non-HIP builds. The package was just added to
this overlay (dev-python/cuda-pathfinder), so declare the dep behind
USE=cuda alongside nvidia-cuda-toolkit and replace the prior
"not yet packaged" placeholder comment.

commit 7684642692db99eb7d7431114d8d0edbc82284de
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 12:11:45 2026 +0200

dev-python/cupy: align numpy/fastrlock with upstream per-version deps

Cross-checked DEPEND against the unpacked pyproject.toml and setup.py
of each version:

- 13.6.0 declares numpy>=1.22 in [project].dependencies; the ebuild
had numpy>=1.18.0. Bump the lower bound to match.
- 14.0.1 sets [project].dependencies dynamic from setup.py, where the
list bumps numpy to >=2.0 and drops fastrlock entirely. A grep over
the unpacked tree confirms no `import fastrlock` remains, so remove
it from DEPEND/RDEPEND for the 14.x ebuild.

setup.py also conditionally appends cuda-pathfinder>=1.3.3,==1.* for
non-HIP builds; that package is not yet packaged in ::gentoo or this
overlay, so leave a dated comment instead of declaring it. Build-check
skipped because CUDA toolchain is required to compile.

commit 48b319c772733829fbe6b9bea1cf96221a8ac659
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 01:55:28 2026 +0200

dev-python/cupy: 14.0.1 CUDAARCHS fallback, cusparselt USE

Two ebuild fixes on the 14.0.1 bump:

- NVPTX_TARGETS fallback. cupy's CMake checks NVPTX_TARGETS at
configure time but no Gentoo eclass actually sets that var;
users picking CUDA_GENERATION instead hit a hard die(). Add
a shim that derives NVPTX_TARGETS from CUDAARCHS when the
former is unset.
- cusparselt USE flag. Same mechanism as on the 13.6.0 bump:
optional link against NVIDIA's cuSPARSELt controlled by USE
rather than auto-detection.

commit 61fb3640dbaa12633ce06ed063d0bfd1a2c1c53d
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 01:55:11 2026 +0200

dev-python/cupy: 13.6.0 relax CUDA/cuDNN bounds, cusparselt USE

Two adjustments on the 13.6.0 bump:

- Relax CUDA and cuDNN upper-bound pins. The previous ebuild
capped CUDA at <12.9.0, but upstream cupy-13.6.0 supports
CUDA up to 13.0 and cuDNN up to 9.x. Widen both to match.
- Add cusparselt USE flag. Upstream 13.x optionally links
against NVIDIA's cuSPARSELt; expose it as a USE flag rather
than auto-detect so builds are reproducible regardless of
what's installed on the host.

commit 1789214f9dea1cc33cadc2bc2fc1bbeee2e15d8c
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 00:11:47 2026 +0200

dev-python/cupy: drop rocm USE; cupy 13's HIP backend is incompatible with ROCm 7.x hipBLAS (hipblasDatatype_t removed) and cupy 14 dropped ROCm upstream

commit 5c3dabc4b7d97a6d45e5e6642e6c9060fed56c10
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Apr 21 21:55:28 2026 +0200

dev-python/cupy: bump to 13.6.0, keyword 14.0.1 ~amd64

Drop the long-stale 13.2.0 (unkeyworded; was the sole remaining
consumer of overlay's dev-python/cython-0.29.x) and the interim
13.4.1 in favour of the last 13.x release (13.6.0, 2025-08).
Keyword 14.0.1 (upstream's current latest, 2026-02) as ~amd64
alongside so users have access to the new major line.

13.6.0 ebuild is byte-identical to 13.4.1 apart from the $
bump - upstream's RDEPEND set is unchanged across 13.4->13.6.

One pkgcheck warning remains for both versions: RequiredUseDefaults
on the amd64/23.0/musl profile, because cuda and rocm are both
unavailable there and cupy's REQUIRED_USE="^^ ( cuda rocm )"
therefore can't be default-satisfied. Acceptable - cupy on musl
is a contradiction anyway.

Signed-off-by: Raukaan Cogbrother <cogbrother@raukaan.local>

commit 5b2bbd053f0468c3a51fcc0579908d401559711c
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Apr 21 18:31:50 2026 +0200

dev-python/{bokeh,cupy,fastrlock,ipympl,llvmlite,scikit-optimize}: declare EPYTEST_PLUGINS=()

Six more packages whose test suites don't pull any pytest-* plugins
in BDEPEND. Declaring the empty plugin list clears pkgcheck's
EPyTestPluginsSuggestion and prevents incidental host-wide pytest
plugins from being auto-loaded during tests.

16 ebuilds total (multiple versions per package). Pure cosmetic.

Signed-off-by: Raukaan Cogbrother <cogbrother@raukaan.local>

commit b91cd93a12cb39be1b4976cdc1af27ca13ce34e5
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Apr 21 15:16:42 2026 +0200

*/*: bump PYTHON_COMPAT from python3_ to python3_

::gentoo has dropped python3.11 from most of the scientific Python
stack - scipy, pandas, ipython, sphinx, sympy, etc. all target
python3_ now. Overlay ebuilds still claiming python3_11
support therefore fail to resolve their PYTHON_USEDEP=[...,
python_targets_python3_11(-),...] clauses against those upstream
packages, which is the bulk of pkgcheck's NonsolvableDeps noise.

Sweep PYTHON_COMPAT across the overlay accordingly. Files touched
include 193 pure-python3 ebuilds plus 4 sci-libs/pycifrw ebuilds that
retain the python2_7 target. Commented-out COMPAT lines and one
ebuild using a custom $ array are left alone.

pkgcheck dropped from 710 to 475 lines after this change; specifically
NonsolvableDepsIn{Dev,Stable} fell from 391 to 182 combined.

Users on a python3.11 profile lose access to the updated versions in
this overlay, mirroring what ::gentoo already did to the rest of the
scientific stack.

Signed-off-by: Raukaan Cogbrother <cogbrother@raukaan.local>

commit 333a849082e704941d018a7f0b99678eda18904f
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Apr 21 01:07:29 2026 +0200

*/*: bump PYTHON_COMPAT to python3_

Match the ::gentoo convention (main tree dropped 3.9 / 3.10 support
a while ago). Three mechanical substitutions:

- python3_ -> python3_ (189 ebuilds)
- python3_ -> python3_ (llvmlite)
- python2_7 python3_ -> python2_7 python3_ (pycifrw)

Leaves the legacy python2_7-only ebuilds and dev-python/cython
(special PYTHON_TESTED pattern on the 0.29 series) untouched.

commit 075ff35d8846bbad9d49032b97c00a626b5664cf
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Apr 19 12:23:18 2026 +0200

dev-python/cupy: drop trailing whitespace

commit 54af541b5012ff8d48598477502916c073a5f74a
Author: VasilyLebedev <2115578+LebedevV@users.noreply.github.com>
Date: Sun Mar 15 14:05:40 2026 +0000

cupy

untested version!!!

commit f23ece73c4451e2377c17d8b90acb53bee608563
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Jan 15 21:28:34 2026 +0100

*/*: UPD header, Happy New Year

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit 49fbc85336e288b6582f409393a5a58a40f2ce61
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Dec 11 12:54:25 2025 +0100

dev-python/cupy: keyword 13.4.1 for ~amd64

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit eea8e3b826daede5fb322119ad7112dc42ca9390
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Dec 11 12:53:34 2025 +0100

dev-python/cupy: unkeyword 13.4.1 for ~amd64

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit bd56ad8c4cfa96514317be4d851cb4fcbd6b8802
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Dec 11 10:40:56 2025 +0100

*/*: adjusting python compat to 3.9 to 3.14

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit 02fee3b133501e13cd97dc4acb029379621c8d56
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Dec 11 01:05:20 2025 +0100

multiple styling corrections to make pkgscan happy

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit d38efd96ed3a51f7ba3e05f0e908fdd99040e6d4
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Dec 11 00:10:42 2025 +0100

dev-python/cupy: add pypi upstream metadata

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit ebd5ba2ac319ab3ea8697cf7b1dd6ef025f439e8
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Dec 6 21:33:02 2025 +0100

corrected 1st line of ebuilds+some trash (may be)

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit 293f24f69bd851b5910c358f0b921d158b144ebe
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Wed Jun 4 23:06:43 2025 +0100

cupy test

commit a6ba2ffb399ce78ac05771e192e72f876ee5e2c2
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Sat May 17 19:12:32 2025 +0100

cupy amended

To be confirmed!

commit d386078021e0399bc61066163142496f3108adbb
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Sat May 17 19:11:40 2025 +0100

Delete dev-python/cupy/cupy-12.2.0-r1.ebuild

commit 8322fc7af4e00f622829f1c5c5914ed8cf7ba7a2
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Sat May 17 19:11:29 2025 +0100

Delete dev-python/cupy/cupy-13.1.0.ebuild

commit 798cd35139cb2fe80c8a0d0186f6dac4611c8dd2
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Mon Jul 15 03:38:29 2024 +0100

Add files via upload

commit b9b707f11bdd0876bd1e8b91a5c17f53dc30cdf4
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Thu Jun 20 00:08:42 2024 +0100

old cython restored temporary for needs of cupy

commit 01cf8c5b8ad71f5d296c293c27d24ba4ca585344
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Sun Jun 16 03:12:06 2024 +0100

cupy masked

commit 7d95fa32c9c592469331eba282ae7565a70b2b9e
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Tue Jun 11 17:27:15 2024 +0100

cupy version bump; not tested for install

commit 5dcf61da541057570ed3dab048445e88d6997e36
Author: VasilyLebedev <vasily.lebedev@ul.ie>
Date: Wed Nov 29 18:16:54 2023 +0000

cupy added