Skip to content

Cherry-picks pipeline changes to 1.16.0 release branch - #17577

Merged
snnn merged 7 commits into
rel-1.16.0from
snnn/cr1
Sep 18, 2023
Merged

Cherry-picks pipeline changes to 1.16.0 release branch#17577
snnn merged 7 commits into
rel-1.16.0from
snnn/cr1

Conversation

@snnn

@snnn snnn commented Sep 15, 2023

Copy link
Copy Markdown
Contributor

Description

  1. Delete Prefast tasks (Delete all Prefast tasks #17522)
  2. Disable yum update (Remove dnf update from docker build scripts #17551)
  3. Avoid calling patchelf (Avoid calling patchelf #17365 and Update tensorrt_dependencies in setup.py #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.

Changming Sun added 7 commits September 15, 2023 16:47
Delete all Prefast tasks because the new VS 17.7 version crashes every
time when we run the task on our CI build servers. However, we cannot
reproduce it locally. And this problem blocks us installing security
patches to our CI build machines.

Will use [CodeQL](https://codeql.github.com/) instead.

Address some security alerts.
### Description
Resolve #9754
### 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 21:36
@snnn
snnn marked this pull request as draft September 15, 2023 21:36
@snnn

snnn commented Sep 15, 2023

Copy link
Copy Markdown
Contributor Author

I'm waiting for pipelines to finish.

@snnn
snnn marked this pull request as ready for review September 16, 2023 03:41
Comment thread setup.py
@snnn
snnn requested review from a team, jywu-mysoft and pranavsharma September 18, 2023 16:20

@pranavsharma pranavsharma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing on George's behalf.

@snnn
snnn merged commit e7a0495 into rel-1.16.0 Sep 18, 2023
@snnn
snnn deleted the snnn/cr1 branch September 18, 2023 22:03
@snnn snnn mentioned this pull request Oct 30, 2023
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.

4 participants