Skip to content

Epctx node base path fix - #559

Closed
javier-intel wants to merge 1 commit into
ovep-developfrom
jemartin/epctx_base_path_fix
Closed

Epctx node base path fix#559
javier-intel wants to merge 1 commit into
ovep-developfrom
jemartin/epctx_base_path_fix

Conversation

@javier-intel

@javier-intel javier-intel commented Feb 4, 2025

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

@javier-intel
javier-intel force-pushed the jemartin/epctx_base_path_fix branch from 64a567d to 21d9478 Compare February 4, 2025 22:56
Comment thread cmake/onnxruntime_providers_openvino.cmake Outdated
@javier-intel
javier-intel force-pushed the jemartin/epctx_base_path_fix branch from 21d9478 to fb9ea15 Compare February 5, 2025 00:02
@sfatimar

sfatimar commented Feb 5, 2025

Copy link
Copy Markdown

Are we ok to merge this ?

@MayureshV1

Copy link
Copy Markdown

I have verified this fix. Can be merged!

@jatinwadhwa921

Copy link
Copy Markdown

@javier-intel there were some lint issues, i have raised another pr including your commit and lint fixes to ovep-develop
#569. We can close down this pr

@sfatimar

sfatimar commented Feb 7, 2025

Copy link
Copy Markdown

Why is this not yet merged ?

@sfatimar sfatimar closed this Feb 7, 2025
@MayureshV1

Copy link
Copy Markdown

@sfatimar Its merged PR: 569 & 571.

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