Merged
Conversation
snnn
approved these changes
Feb 12, 2025
guschmue
pushed a commit
that referenced
this pull request
Mar 6, 2025
### Description Do not link cuDNN sub libs. Before: ``` objdump -p libonnxruntime_providers_cuda.so | grep NEEDED NEEDED libcublasLt.so.12 NEEDED libcublas.so.12 NEEDED libcurand.so.10 NEEDED libcufft.so.11 NEEDED libcudart.so.12 NEEDED libcudnn.so.9 NEEDED libcudnn_adv.so.9 NEEDED libcudnn_ops.so.9 NEEDED libcudnn_cnn.so.9 NEEDED libcudnn_graph.so.9 NEEDED libcudnn_engines_runtime_compiled.so.9 NEEDED libcudnn_engines_precompiled.so.9 NEEDED libcudnn_heuristic.so.9 NEEDED libdl.so.2 NEEDED librt.so.1 NEEDED libnvrtc.so.12 NEEDED libpthread.so.0 NEEDED libstdc++.so.6 NEEDED libm.so.6 NEEDED libgcc_s.so.1 NEEDED libc.so.6 NEEDED ld-linux-x86-64.so.2 ``` After: ``` $ objdump -p libonnxruntime_providers_cuda.so | grep NEEDED NEEDED libcublasLt.so.12 NEEDED libcublas.so.12 NEEDED libcurand.so.10 NEEDED libcufft.so.11 NEEDED libcudart.so.12 NEEDED libcudnn.so.9 NEEDED libnvrtc.so.12 NEEDED libstdc++.so.6 NEEDED libm.so.6 NEEDED libgcc_s.so.1 NEEDED libc.so.6 NEEDED ld-linux-x86-64.so.2 ``` ### Motivation and Context Avoid direct dependency on cuDNN sub libraries, which were introduced in #19470. #23643
ashrit-ms
pushed a commit
that referenced
this pull request
Mar 17, 2025
### Description Do not link cuDNN sub libs. Before: ``` objdump -p libonnxruntime_providers_cuda.so | grep NEEDED NEEDED libcublasLt.so.12 NEEDED libcublas.so.12 NEEDED libcurand.so.10 NEEDED libcufft.so.11 NEEDED libcudart.so.12 NEEDED libcudnn.so.9 NEEDED libcudnn_adv.so.9 NEEDED libcudnn_ops.so.9 NEEDED libcudnn_cnn.so.9 NEEDED libcudnn_graph.so.9 NEEDED libcudnn_engines_runtime_compiled.so.9 NEEDED libcudnn_engines_precompiled.so.9 NEEDED libcudnn_heuristic.so.9 NEEDED libdl.so.2 NEEDED librt.so.1 NEEDED libnvrtc.so.12 NEEDED libpthread.so.0 NEEDED libstdc++.so.6 NEEDED libm.so.6 NEEDED libgcc_s.so.1 NEEDED libc.so.6 NEEDED ld-linux-x86-64.so.2 ``` After: ``` $ objdump -p libonnxruntime_providers_cuda.so | grep NEEDED NEEDED libcublasLt.so.12 NEEDED libcublas.so.12 NEEDED libcurand.so.10 NEEDED libcufft.so.11 NEEDED libcudart.so.12 NEEDED libcudnn.so.9 NEEDED libnvrtc.so.12 NEEDED libstdc++.so.6 NEEDED libm.so.6 NEEDED libgcc_s.so.1 NEEDED libc.so.6 NEEDED ld-linux-x86-64.so.2 ``` ### Motivation and Context Avoid direct dependency on cuDNN sub libraries, which were introduced in #19470. #23643
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Do not link cuDNN sub libs.
Before:
After:
Motivation and Context
Avoid direct dependency on cuDNN sub libraries, which were introduced in #19470.
#23643