dev-python/cuda-bindings
Python bindings for CUDA driver and runtime APIs
ChangeLog
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.
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.


View
Download
Browse