Skip to content

CVS-188108 fix: OVIR EPContext Export regeneration resolve .xml against input model dir#1120

Merged
MayureshV1 merged 1 commit into
ovep-developfrom
ankit/ovir_epctx_fix
Jun 4, 2026
Merged

CVS-188108 fix: OVIR EPContext Export regeneration resolve .xml against input model dir#1120
MayureshV1 merged 1 commit into
ovep-developfrom
ankit/ovir_epctx_fix

Conversation

@ankitm3k

@ankitm3k ankitm3k commented Jun 4, 2026

Copy link
Copy Markdown

Description

EPCtxHandler::Initialize validated the EP_CACHE_CONTEXT against the output model dir. For OVIR-encapsulated models the .xml lives next to the input model, so PR microsoft#28725 's strict existence check failed when regenerating an EPContext model into a different dir. Validate .xml refs against GetModelPath() (consistent with BackendManager); native blobs keep GetOutputModelPath().

JIRA - https://jira.devtools.intel.com/browse/CVS-188108

…del dir

EPCtxHandler::Initialize validated the EP_CACHE_CONTEXT against the output
model dir. For OVIR-encapsulated models the .xml lives next to the input
model, so PR 28725's strict existence check failed when regenerating an
EPContext model into a different dir. Validate .xml refs against
GetModelPath() (consistent with BackendManager); native blobs keep
GetOutputModelPath().

@MayureshV1 MayureshV1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

@MayureshV1 MayureshV1 merged commit b2c6dcc into ovep-develop Jun 4, 2026
7 of 8 checks passed
@jnagi-intel

Copy link
Copy Markdown

Can you push it to onnxruntime/main?

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