Skip to content

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.

4 participants