Skip to content

Commit 98c37c2

Browse files
committed
update cuda/cudnn installtion notes
1 parent 39c4083 commit 98c37c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/install/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ under [Compatibility](../reference/compatibility).
3434

3535
For ONNX Runtime GPU package, it is required to install [CUDA](https://developer.nvidia.com/cuda-toolkit) and [cuDNN](https://developer.nvidia.com/cudnn). Check [CUDA execution provider requirements](../execution-providers/CUDA-ExecutionProvider.md#requirements) for compatible version of CUDA and cuDNN.
3636

37-
* cuDNN 8.x requires ZLib. Follow the [cuDNN 8.9 installation guide](https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-890/install-guide/index.html) to install zlib in Linux or Windows. Note that the official gpu package does not support cuDNN 9.x.
38-
* The path of CUDA bin directory must be added to the PATH environment variable.
39-
* In Windows, the path of cuDNN bin directory must be added to the PATH environment variable.
37+
* ZLib is required by cuDNN 9.x for Linux only (Zlib is statically linked into the cuDNN 9.x Windows dynamic libraries), or cuDNN 8.x for Linux and Windows. Follow the [cuDNN 8.9 installation guide](https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-890/install-guide/index.html) to install zlib in Linux or Windows.
38+
* In Windows, the path of CUDA `bin` and cuDNN `bin` directories must be added to the `PATH` environment variable.
39+
* In Linux, the path of CUDA `lib64` and cuDNN `lib` directories must be added to the `LD_LIBRARY_PATH` environment variable.
4040

4141
## Python Installs
4242

0 commit comments

Comments
 (0)