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

Enable QNN EP weight sharing generation using public API #23702

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

Conversation

HectorSVC
Copy link
Contributor

Description

Enable QNN EP weight sharing generation using public API instead of internal interfaces, so that user can integrate into their own toolchain.
Change the tool name from onnxruntime_qnn_ctx_gen to ep_weight_sharing_ctx_gen, so that it can be shared for other EPs.

@HectorSVC HectorSVC added the ep:QNN issues related to QNN exeution provider label Feb 14, 2025
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.

Comment on lines 1352 to 1354
}

Ort::SessionOptions so;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
}
Ort::SessionOptions so;
}
Ort::SessionOptions so;

Comment on lines 1376 to 1378
EXPECT_TRUE(file_size_2 > file_size_1);

// clean up
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
EXPECT_TRUE(file_size_2 > file_size_1);
// clean up
EXPECT_TRUE(file_size_2 > file_size_1);
// clean up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:QNN issues related to QNN exeution provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant