Skip to content

Epctx node base path fix and lint fix#569

Merged
preetha-intel merged 2 commits intoovep-developfrom
jatin_javier_fix_with_lint
Feb 6, 2025
Merged

Epctx node base path fix and lint fix#569
preetha-intel merged 2 commits intoovep-developfrom
jatin_javier_fix_with_lint

Conversation

@jatinwadhwa921
Copy link

Description
When creating EpContext nodes any external dependencies such as blobs are located relative to the model that contains the node. This PR fixes an issue where external dependencies were not found if session was created with a model passed from memory. In that case since the model name is empty the EP should use the session option ep.context_file_path to locate the base path.

Motivation and Context
Fix internal bug.

HAFP-2993

@jatinwadhwa921
Copy link
Author

@preetha-intel
Copy link

LGTM
Internal CI and lint check passed. Merging

@preetha-intel preetha-intel merged commit f3b6c56 into ovep-develop Feb 6, 2025
6 of 13 checks passed
@preetha-intel preetha-intel deleted the jatin_javier_fix_with_lint branch February 6, 2025 12:44
sfatimar pushed a commit that referenced this pull request Feb 6, 2025
* Use ep.context_file_path to get base path when creating session from memory

* Fixed lint issues

---------

Co-authored-by: Javier E. Martinez <[email protected]>
sfatimar pushed a commit that referenced this pull request Feb 6, 2025
* Use ep.context_file_path to get base path when creating session from memory

* Fixed lint issues

---------

Co-authored-by: Javier E. Martinez <[email protected]>
ankitm3k pushed a commit that referenced this pull request Feb 6, 2025
* Use ep.context_file_path to get base path when creating session from memory

* Fixed lint issues

---------

Co-authored-by: Javier E. Martinez <[email protected]>
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