NVIDIA / cuda-python

CUDA Python Low-level Bindings
https://nvidia.github.io/cuda-python/
Other
809 stars 63 forks source link

Add support for Python 3.11 #41

Closed vzhurba01 closed 1 year ago

vzhurba01 commented 1 year ago

As per NEP 29, CUDA Python should support Python 3.11.

kanisimoff commented 1 year ago

Good day,

I have the same problem, I can't install cuda-python for python 3.11. But 3.10 everything ok.

Log: (env) PS D:\nn> py --version Python 3.11.1 (env) PS D:\nn> pip install cuda-python Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com ERROR: Could not find a version that satisfies the requirement cuda-python (from versions: none) ERROR: No matching distribution found for cuda-python

(env3.10) PS D:\nns> py --version Python 3.10.9 (env3.10) PS D:\nn> pip install cuda-python Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Collecting cuda-python Downloading cuda_python-12.0.0-cp310-cp310-win_amd64.whl (7.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.2/7.2 MB 13.5 MB/s eta 0:00:00 Collecting cython Downloading Cython-0.29.32-py2.py3-none-any.whl (986 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 986.3/986.3 kB ? eta 0:00:00 Installing collected packages: cython, cuda-python Successfully installed cuda-python-12.0.0 cython-0.29.32

vzhurba01 commented 1 year ago

Release v12.1.0 adds Python 3.11 support for both Wheels and Conda. Closing.