Skip to content

Commit

Permalink
Exclude cuDNN 9 and CUDA 12 DLLs from manylinux wheel (#21738)
Browse files Browse the repository at this point in the history
### Description
Exclude cuDNN 9 and CUDA 12 DLLs from manylinux wheel to reduce python
package size.

### Motivation and Context

The 1.20.0 ort-nightly-gpu python wheels on linux are suddenly > 800 MB
in size. The wheels built on 1.19 release branch have a size of around
220 MB.

The size change is caused by
#19470.
  • Loading branch information
tianleiwu authored Aug 15, 2024
1 parent abdc31d commit 212bcc9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,16 @@ def run(self):
"libcufft.so.10",
"libcufft.so.11",
"libcurand.so.10",
"libcudnn_adv.so.9",
"libcudnn_cnn.so.9",
"libcudnn_engines_precompiled.so.9",
"libcudnn_engines_runtime_compiled.so.9",
"libcudnn_graph.so.9",
"libcudnn_heuristic.so.9",
"libcudnn_ops.so.9",
"libnvJitLink.so.12",
"libnvrtc.so.12",
"libnvrtc-builtins.so.12",

This comment has been minimized.

Copy link
@snnn

snnn Oct 10, 2024

Member

Should be "libnvrtc-builtins.so.11.8"

]
rocm_dependencies = [
"libamd_comgr.so.2",
Expand Down

0 comments on commit 212bcc9

Please sign in to comment.