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

Avoid calling patchelf #17365

Merged
merged 6 commits into from
Sep 8, 2023
Merged

Avoid calling patchelf #17365

merged 6 commits into from
Sep 8, 2023

Conversation

snnn
Copy link
Member

@snnn snnn commented Aug 31, 2023

Description

Resolve #9754

Motivation and Context

@snnn snnn requested a review from a team August 31, 2023 06:09
@snnn snnn closed this Sep 5, 2023
@snnn snnn reopened this Sep 5, 2023
@snnn snnn requested a review from askhade September 7, 2023 22:12
Copy link
Contributor

@askhade askhade left a comment

Choose a reason for hiding this comment

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

LGTM

@snnn snnn merged commit f51a765 into main Sep 8, 2023
103 of 122 checks passed
@snnn snnn deleted the snnn/remove_patchelf branch September 8, 2023 19:25
snnn added 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 added a commit that referenced this pull request Sep 15, 2023
### Description
Resolve #9754
snnn added 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 added 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.
jywu-msft pushed a commit that referenced this pull request Mar 16, 2024
### Description
<!-- Describe your changes. -->

Add `cann_dependencies`


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

The previous [PR](#17365)
avioded using patchelf but lost `cann_dependencies`, This PR adds
`cann_dependencies` to avoid require cann libraries when repairing
wheel.
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
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.
This pull request was closed.
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.

Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != NULL' failed!
2 participants