Skip to content

Conversation

@adrianlizarraga
Copy link
Contributor

@adrianlizarraga adrianlizarraga commented Oct 29, 2025

Description

Fixes #26294

When using the old model compilation approach (session option configuration), ORT should verify that the generated output model does not already exist. Importantly, this check should be done before calling an EP's compile() method. This PR fixes this check, which was unintentionally disabled by a previous PR..

Note that this check also (correctly) happens after calling the EP's compile() method, but it is better to catch it early if we can.

Motivation and Context

Fixes a regression in the older compilation workflow.

@adrianlizarraga
Copy link
Contributor Author

Close and re-open to re-run checks

@MayureshV1
Copy link
Contributor

Thanks Adrian. This PR resolves issue:26294

chilo-ms
chilo-ms previously approved these changes Oct 31, 2025
@adrianlizarraga adrianlizarraga merged commit ec9b8fe into main Oct 31, 2025
92 checks passed
@adrianlizarraga adrianlizarraga deleted the adrianl/fix-old-compile-default-output-path-check branch October 31, 2025 21:43
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.

[Performance] EPCTX file check doesn't happen for default model path

5 participants