Skip to content

Update tensorrt_dependencies in setup.py - #17562

Merged
snnn merged 1 commit into
mainfrom
snnn/update_setup_py
Sep 15, 2023
Merged

Update tensorrt_dependencies in setup.py#17562
snnn merged 1 commit into
mainfrom
snnn/update_setup_py

Conversation

@snnn

@snnn snnn commented Sep 15, 2023

Copy link
Copy Markdown
Contributor

Description

The files should not have the minor version number. The names were added in #17365 by mistake.

Motivation and Context

We did not successfully exclude them out.

@snnn
snnn requested a review from a team September 15, 2023 05:53
@snnn
snnn merged commit 4d931ed into main Sep 15, 2023
@snnn
snnn deleted the snnn/update_setup_py branch September 15, 2023 15:20
snnn pushed a commit that referenced this pull request Sep 15, 2023
### Description
The files should not have the minor version number. The names were added
in #17365 by mistake.

### Motivation and Context
We did not successfully exclude them out.
snnn pushed a commit that referenced this pull request Sep 18, 2023
### Description
1. Delete Prefast tasks (#17522)
2. Disable yum update (#17551)
3. Avoid calling patchelf (#17365 and #17562) we that we can validate
the above fix

The main problem I'm trying to solve is: our GPU package depends on both
CUDA 11.x and CUDA 12.x . However, it's not easy to see the information
because ldd doesn't work with the shared libraries we generate(see issue
#9754) . So the patchelf change are useful for me to validate the
"Disabling yum update" was successful. As you can see we call "yum
update" from multiple places. Without some kind of validation it's hard
to say if I have covered all of them.
The Prefast change is needed because I'm going to update the VM images
in the next a few weeks. In case of we need to publish a patch release
after that.

### Motivation and Context
Without this fix we will mix using CUDA 11.x and CUDA 12.x. And it will
crash every time when we use TensorRT.
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
### Description
The files should not have the minor version number. The names were added
in microsoft#17365 by mistake.

### Motivation and Context
We did not successfully exclude them out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants