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

Validate CreateSessionFromArray with ep.context_enable enabled #24176

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

HectorSVC
Copy link
Contributor

Description

Add validation in path that user CreateSessionFromArray: if ep.context_enable is set, then ep.context_file_path is expected, otherwise report error because ORT don't know where to generate the _ctx.onnx file

…ontext_enable is set, then ep.context_file_path is expected, otherwise report error because ORT don't know where to generate the _ctx.onnx file
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.

HectorSVC and others added 4 commits March 25, 2025 17:01
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@HectorSVC HectorSVC changed the title Validation CreateSessionFromArray with ep.context_enable enabled Validate CreateSessionFromArray with ep.context_enable enabled Mar 31, 2025
@HectorSVC HectorSVC closed this Apr 11, 2025
@HectorSVC HectorSVC reopened this Apr 11, 2025
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.

1 participant