Skip to content

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

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

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 <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.

4 participants