gpo.zugaina.org

Search Portage & Overlays:

dev-python/cuda-bindings

Python bindings for CUDA driver and runtime APIs

Screenshots

  • cuda-bindings-13.3.1-r2
    ~amd64
    python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 debug

    View      Download      Browse     License: NVIDIA-CUDA   
    Overlay: stuff
  • cuda-bindings-13.3.0
    ~amd64
    python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 debug

    View      Download      Browse     License: NVIDIA-CUDA   
    Overlay: stuff

ChangeLog

commit 3a2a76bd403531b020a10d21f5185d9d39aa83eb
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Jul 27 10:34:39 2026 +0200

dev-python/cuda-bindings: complete the build dependencies, revbump

Two of upstream's five build-system.requires entries had no counterpart
in BDEPEND.

setuptools >= 80 was absent entirely. DISTUTILS_USE_PEP517=standalone
contributes no backend dependency -- its case in distutils-r1 is empty
-- so setuptools reached the build only through setuptools-scm's
>=dev-python/setuptools-64, well under upstream's 80, and ::gentoo
still ships an installable 79.0.1.

cuda-pathfinder >= 1.5 was declared, but in RDEPEND. That covers
running, not building, and upstream's backend imports it during the
build, so the correct floor was in the wrong phase. It is now in both:
RDEPEND keeps its copy for runtime.

The three that were already right -- pyclibrary, cython >=3.2 <3.3 and
setuptools_scm >=8 -- are unchanged.

commit d125647a6c074ac8deafb5d521e2904d11490a41
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Jun 16 15:13:04 2026 +0200

dev-python/cuda-bindings: drop 13.2.0

commit aab9f0fc81165e449a3b17d1ae0abf14a262b014
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Jun 10 15:10:38 2026 +0200

dev-python/cuda-bindings: fix v-prefixed __version__ (-r1)

SETUPTOOLS_SCM_PRETEND_VERSION is used verbatim and bypasses tag_regex,
so the tag-form "v$" leaked into cuda.bindings.__version__ as
"v13.3.1". Consumers parsing the major version break on it — notably
cuda.core's __version__.split(".")[0] check, surfaced while packaging
dev-python/dask-cuda. Use the literal $. Revision-bump the current
13.3.1; fix the superseded 13.2.0/13.3.0 in place.

commit 35851871d3187dd24db9dc6fd5ea03ab2e233424
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 30 14:53:48 2026 +0200

dev-python/cuda-bindings: bump 13.3.0 -> 13.3.1

Patch release; requires_dist unchanged versus 13.3.0 (cuda-pathfinder
floor and the [all] extra's cuda-toolkit pins are identical).
build_hooks.py _REQUIRED_HEADERS unchanged, so the existing
nvidia-cuda-toolkit[profiler] dep remains correct.

commit 8f1bda406d0f40906b3061644e2fb649b713ee27
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 27 14:10:47 2026 +0200

dev-python/cuda-bindings: add 13.3.0

Upstream's build_hooks.py _REQUIRED_HEADERS list grew cudaProfiler.h
(driver) + cuda_profiler_api.h (runtime) in 13.3.0, so the toolkit's
profiler components are now mandatory at build time. Tightened the
nvidia-cuda-toolkit dep to [profiler].

Also tightened the cuda-pathfinder bound from unbounded to >=1.5
to match upstream's build-system requires.

Build-check incomplete on this host: the installed nvidia-cuda-toolkit
is USE=-profiler, so the build_hooks.py header lookup errors before
the wheel is produced. The dep tightening makes the failure mode a
clean USE-conflict instead of a cryptic header-missing build error
for users on the upgrade path; full build-verification deferred.

commit 426bfde39bbb8761827d58e571775bad5a9cc5a6
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed May 13 14:34:35 2026 +0200

dev-python/cuda-bindings: disable py3.11

commit 15354fced224e3b64be4ac5535203e1931e5dd00
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 7 17:08:48 2026 +0200

dev-python/cuda-bindings: add RESTRICT="bindist mirror"

NVIDIA-CUDA is an EULA license; per Gentoo policy the distfile must
not be redistributed by the mirror network and binpkgs built from it
must not be shared. pkgcheck's MissingLicenseRestricts flagged this
on the initial commit; following up rather than amending the
already-pushed-elsewhere change.

commit 9b548a35551aa65a625c843c90e0dfb1044d7f49
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 7 17:04:48 2026 +0200

dev-python/cuda-bindings: new package, 13.2.0

Tier 1 of the vllm CUDA target packaging cycle. NVIDIA's Cython
bindings to the CUDA driver and runtime APIs — the Python layer
under cuda-python that real consumers (cutlass-dsl, flashinfer,
quack) talk through.

Built from source rather than the wheel-only PyPI release, per the
"full source" decision in the audit memo. Source lives in the
NVIDIA/cuda-python monorepo under cuda_bindings/; the matching tag
is the bare \`v<PV>\` form (cuda-pathfinder uses a different prefix).

Build_hooks.py runs at wheel build time:
- pyclibrary parses /opt/cuda's CUDA driver/runtime/nvrtc/nvjitlink/
nvvm/nvfatbin/cufile/nvml headers
- generates Cython sources from .in templates
- cythonize + g++ build 17 extension modules per Python impl

CUDA_HOME is exported so build_hooks._get_cuda_paths picks up
/opt/cuda from dev-util/nvidia-cuda-toolkit. Cython is pinned by
upstream to 3.2.x; ::gentoo's 3.2.4 is in band.

LICENSE is NVIDIA-CUDA (proprietary, same as the toolkit).
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CUDA_BINDINGS feeds the version
to setuptools_scm since the GitHub archive has no .git history.