Skip to content

Epctx node base path fix and lint fix - #569

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

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

Conversation

@jatinwadhwa921

Copy link
Copy Markdown

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
Copy Markdown
Author

The internal ci seems to fail due to server connectivity issue , Jenkins internal ci pipeline passes
http://ai-frameworks-integration.mlops.iotg.sclab.intel.com:8080/view/ONNXRT/job/internal_ci/210/console

@preetha-intel

Copy link
Copy Markdown

LGTM
Internal CI and lint check passed. Merging

@preetha-intel
preetha-intel merged commit f3b6c56 into ovep-develop Feb 6, 2025
@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 <javier.e.martinez@intel.com>
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 <javier.e.martinez@intel.com>
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 <javier.e.martinez@intel.com>
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