Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the logic to generate the default ep context file name #23788

Merged
merged 4 commits into from
Mar 3, 2025

Conversation

HectorSVC
Copy link
Contributor

Change the logic to generate the default ep context file name

Description

Applies to all EPs: replace the .onnx to _ctx.onnx, instead of directly append extra string ctx.onnx to existing model path.
In QNN EP, also make the context binary .bin file shorter by removing QNNExecutionProvider
from the file name

…x to _ctx.onnx, instead of directly append extra string _ctx.onnx

In QNN EP, also make the context binary .bin file shorter by removing QNNExecutionProvider_ from the file name
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You can commit the suggested changes from lintrunner.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@HectorSVC HectorSVC merged commit 99c51a3 into main Mar 3, 2025
97 of 99 checks passed
@HectorSVC HectorSVC deleted the ep_ctx_file_name branch March 3, 2025 04:57
guschmue pushed a commit that referenced this pull request Mar 6, 2025
Change the logic to generate the default ep context file name

### Description
Applies to all EPs: replace the .onnx to _ctx.onnx, instead of directly append extra string _ctx.onnx to existing model path. In QNN EP, also make the context binary .bin file shorter by removing QNNExecutionProvider_ from the file name.
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.

2 participants