Skip to content

Commit

Permalink
Skip qnn tests in pipeline (#1592)
Browse files Browse the repository at this point in the history
## Describe your changes

Skip qnn tests in pipeline.

## Checklist before requesting a review
- [ ] Add unit tests for this change.
- [ ] Make sure all tests can pass.
- [ ] Update documents if necessary.
- [ ] Lint and apply fixes to your code by running `lintrunner -a`
- [ ] Is this a user-facing change? If yes, give a description of this
change to be included in the release notes.
- [ ] Is this PR including examples changes? If yes, please remember to
update [example
documentation](https://github.com/microsoft/Olive/blob/main/docs/source/examples.md)
in a follow-up PR.

## (Optional) Issue link
  • Loading branch information
xiaoyu-work authored Feb 2, 2025
1 parent f1fe7bf commit ea64800
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .azure_pipelines/olive-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,6 @@ jobs:
exampleFolder: super_resolution
exampleName: super_resolution

- template: job_templates/olive-example-linux-template.yaml
parameters:
name: Linux_Examples_Py38
pool: $(OLIVE_POOL_UBUNTU2004)
onnxruntime: onnxruntime
python_version: '3.8'
base_image: 'ubuntu:20.04'
examples:
mobilenet_qnn_toolkit:
exampleFolder: mobilenet
exampleName: qnn_tooklit
inception_snpe_toolkit:
exampleFolder: inception
exampleName: snpe_toolkit


# Windows examples test
- template: job_templates/olive-example-win-template.yaml
parameters:
Expand Down
1 change: 1 addition & 0 deletions examples/test/local/test_mobilenet_qnn_ep.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def setup():
retry_func(run_subprocess, kwargs={"cmd": "python download_files.py", "check": True})


# TODO(team): add test back to pipeline when update the qnn sdk to support python 3.10
def test_mobilenet_qnn_ep():
from olive.workflows import run as olive_run

Expand Down
1 change: 1 addition & 0 deletions examples/test/local/test_qnn_tooklit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
set_verbosity_debug()


# TODO(team): add test back to pipeline when update the qnn sdk to support python 3.10
class TestQnnToolkit:
@pytest.fixture(autouse=True)
def setup(self, tmp_path):
Expand Down

0 comments on commit ea64800

Please sign in to comment.