CUDA Python: Performance meets Productivity
Project description
cuda-python
CUDA Python is the home for accessing NVIDIA’s CUDA platform from Python. It consists of multiple components:
- cuda.core: Pythonic access to CUDA Runtime and other core functionalities
- cuda.bindings: Low-level Python bindings to CUDA C APIs
- cuda.cooperative: Pythonic exposure of CUB cooperative algorithms
- cuda.parallel: Pythonic exposure of Thrust parallel algorithms
For access to NVIDIA CPU & GPU Math Libraries, please refer to nvmath-python.
CUDA Python is currently undergoing an overhaul to improve existing and bring up new components. All of the previously available functionalities from the cuda-python package will continue to be available, please refer to the cuda.bindings documentation for installation guide and further detail.
cuda-python as a metapackage
cuda-python
is being re-structured to become a metapackage that contains a collection of subpackages. Each subpackage is versioned independently, allowing installation of each component as needed.
Subpackage: cuda.core
The cuda.core
package offers idiomatic, pythonic access to CUDA Runtime and other functionalities.
The goals are to
- Provide idiomatic ("pythonic") access to CUDA Driver, Runtime, and JIT compiler toolchain
- Focus on developer productivity by ensuring end-to-end CUDA development can be performed quickly and entirely in Python
- Avoid homegrown Python abstractions for CUDA for new Python GPU libraries starting from scratch
- Ease developer burden of maintaining and catching up with latest CUDA features
- Flatten the learning curve for current and future generations of CUDA developers
Subpackage: cuda.bindings
The cuda.bindings
package is a standard set of low-level interfaces, providing full coverage of and access to the CUDA host APIs from Python.
The list of available interfaces are:
- CUDA Driver
- CUDA Runtime
- NVRTC
- nvJitLink
Supported Python Versions
All cuda-python
subpackages follows CPython End-Of-Life schedule for supported Python version guarantee.
Before dropping support there will be an issue raised as a notice.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file cuda_python-12.8.0-py3-none-any.whl
.
File metadata
- Download URL: cuda_python-12.8.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fca3a03c247d6aa1c414989dfe0dd21e9500307b8573f72216ed57d99344c5a |
|
MD5 | 39fd9495eab2cee78fadf305909b9c49 |
|
BLAKE2b-256 | 142c02bb311b996ffb91d05f8c1fb79131bf50855f7410dd33d09f800fe78c58 |
Provenance
The following attestation bundles were made for cuda_python-12.8.0-py3-none-any.whl
:
Publisher:
release.yml
on NVIDIA/cuda-python
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
cuda_python-12.8.0-py3-none-any.whl
- Subject digest:
3fca3a03c247d6aa1c414989dfe0dd21e9500307b8573f72216ed57d99344c5a
- Sigstore transparency entry: 165439621
- Sigstore integration time:
- Permalink:
NVIDIA/cuda-python@4afc87c577046a6b6b3368a12fcf98b574e69b24
- Branch / Tag:
refs/heads/release/12.8.0
- Owner: https://github.com/NVIDIA
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
release.yml@4afc87c577046a6b6b3368a12fcf98b574e69b24
- Trigger Event:
workflow_dispatch
- Statement type: