Skip to content

Conversation

@qti-hungjuiw
Copy link
Contributor

Description

  • This PR allow users to specify the environment variable QNN_SKIP_VERSION_CHECK to enable the skip_qnn_version_check flag in QNN unit tests.

Motivation and Context

  • Developers can run unit tests with different QNN SDK versions during development and debugging without rebuild
  • Developers can test new features that are compatible across multiple QNN versions without rebuild

- Allow QNN unit tests to skip version validation for improved
  test flexibility across different QNN SDK versions.
- Update README for the usage of the environment variable
  QNN_SKIP_VERSION_CHECK
onnxruntime::GraphViewer graph_viewer(graph);
std::unique_ptr<onnxruntime::IExecutionProvider> qnn_ep = QnnExecutionProviderWithOptions(
{{"backend_type", "htp"}, {"offload_graph_io_quantization", "0"}});
{{"backend_type", "htp"}, {"offload_graph_io_quantization", "0"}, {"skip_qnn_version_check", "1"}});
Copy link
Contributor

Choose a reason for hiding this comment

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

why is QNNTestEnvironment::GetInstance().skip_qnn_version_check() not checked here?

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