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

Use absolute paths for libraries loaded with LOAD_WITH_ALTERED_SEARCH_PATH #602

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

jnagi-intel
Copy link

Description

LoadLibrary behavior with relative paths when LOAD_WITH_ALTERED_SEARCH_PATH is used is unknown

image

Motivation and Context

Fixes the failures seen while running onnxruntime_test_python

@jnagi-intel jnagi-intel marked this pull request as draft March 3, 2025 19:40
Copy link

@MayureshV1 MayureshV1 left a comment

Choose a reason for hiding this comment

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

Verified. Resolves the failure we were seeing while running tests with --build_wheel enabled.

@MayureshV1
Copy link

@sfatimar , Can we please merge to ovep-develop and make sure it goes through nightly validation.

@jnagi-intel
Copy link
Author

@sfatimar , Can we please merge to ovep-develop and make sure it goes through nightly validation.

@MayureshV1 I think we should propose this change to MSFT and have them make the final change. They may want to make the change in onnxruntime source to handle more cases where relative path was passed to load the library.

@sfatimar
Copy link

sfatimar commented Mar 4, 2025

LGTM

@sfatimar sfatimar marked this pull request as ready for review March 4, 2025 03:33
@sfatimar sfatimar merged commit ec62bf3 into ovep-develop Mar 4, 2025
6 of 12 checks passed
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.

3 participants