Skip to content

Commit 0e1f9de

Browse files
committed
note about cuda-bindings and -U
1 parent 951e888 commit 0e1f9de

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

cuda_bindings/docs/source/install.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,33 @@
1111
Only the NVRTC and nvJitLink redistributable components are required from the CUDA Toolkit, which can be obtained via PyPI, Conda, or local installers (as described in the CUDA Toolkit [Windows](https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html) and [Linux](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html) Installation Guides).
1212
```
1313

14+
Starting from v12.8.0, `cuda-python` becomes a meta package which currently depends only on `cuda-bindings`; in the future more sub-packages will be added to `cuda-python`. In the instructions below, we still use `cuda-python` as example to serve existing users, but everything is applicable to `cuda-bindings` as well.
15+
16+
1417
## Installing from PyPI
1518

1619
```console
17-
$ pip install cuda-python
20+
$ pip install -U cuda-python
1821
```
1922

23+
Install all optional dependencies with:
24+
```{code-block} shell
25+
pip install -U cuda-python[all]
26+
```
27+
28+
Where the optional dependencies are:
29+
30+
* nvidia-cuda-nvrtc-cu12 (Provides NVRTC shared library)
31+
* nvidia-nvjitlink-cu12>=12.3 (Provides nvJitLink shared library)
32+
33+
2034
## Installing from Conda
2135

2236
```console
2337
$ conda install -c conda-forge cuda-python
2438
```
2539

40+
2641
## Installing from Source
2742

2843
### Requirements
@@ -43,6 +58,7 @@ See [Environment Variables](environment_variables.md) for a description of other
4358
Only `cydriver`, `cyruntime` and `cynvrtc` are impacted by the header requirement.
4459
```
4560

61+
4662
### Editable Install
4763

4864
You can use

0 commit comments

Comments
 (0)