Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-picks pipeline changes to 1.16.0 release branch #17577

Merged
merged 7 commits into from
Sep 18, 2023
Merged

Conversation

snnn
Copy link
Member

@snnn snnn commented Sep 15, 2023

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.

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 as a code owner September 15, 2023 21:36
@snnn snnn marked this pull request as draft September 15, 2023 21:36
@snnn
Copy link
Member Author

snnn commented Sep 15, 2023

I'm waiting for pipelines to finish.

@snnn snnn marked this pull request as ready for review September 16, 2023 03:41
setup.py Show resolved Hide resolved
@snnn snnn requested review from jywu-msft, a team and pranavsharma September 18, 2023 16:20
Copy link
Contributor

@pranavsharma pranavsharma left a comment

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