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

[onert/python] Allow calling compilation by infer session #14530

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

ragmani
Copy link
Contributor

@ragmani ragmani commented Jan 7, 2025

This commit allows calling compilation(prepare) by infer session.

  • Introduce recreating internal session(nnfw_session) into BaseSession
  • Introduce compile function that can recreate internal session
  • Modify getattr of BaseSession strictly

ONE-DCO-1.0-Signed-off-by: ragmani [email protected]

This commit allows calling compilation(prepare) by infer session.
  - Introduce recreating internal session(nnfw_session) into BaseSession
  - Introduce compile function that can recreate internal session
  - Modify __getattr__ of BaseSession strictly

ONE-DCO-1.0-Signed-off-by: ragmani <[email protected]>
@ragmani ragmani requested a review from a team January 7, 2025 04:35
@ragmani ragmani added the PR/ready for review It is ready to review. Please review it. label Jan 7, 2025
@ragmani
Copy link
Contributor Author

ragmani commented Jan 7, 2025

For #14505
Draft : #14492

@zetwhite zetwhite requested a review from a team January 8, 2025 02:17
hseok-oh
hseok-oh previously approved these changes Jan 8, 2025
Copy link
Contributor

@hseok-oh hseok-oh left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@zetwhite zetwhite left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@hseok-oh hseok-oh left a comment

Choose a reason for hiding this comment

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

LGTM

@hseok-oh hseok-oh merged commit 6905ebf into Samsung:master Jan 10, 2025
9 checks passed
@ragmani ragmani deleted the onert/python/allow_prepare_infer branch January 13, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR/ready for review It is ready to review. Please review it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants