Skip to content

Commit

Permalink
improving GitHub tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Apr 28, 2024
1 parent 89f923a commit ac86a50
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 102 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-cm-script-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test CM Script Features
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-cm-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test CM Script Automation
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-cm-tutorial-retinanet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test CM Tutorial Retinanet
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-cm-tutorial-tvm-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test CM Tutorial TVM pip install with VirtualMachine Runtime
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-cm-tutorial-tvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test CM Tutorial TVM
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-cm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
cd cm
python setup.py install
python -m cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-image-classification-onnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test image classification with ONNX
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test MLPerf Inference Bert (DeepSparse, TF, ONNX, PyTorch)
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-mlperf-inference-gptj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test MLPerf Inference GPTJ
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
cm run script --quiet --tags=install,prebuilt,llvm --version=${{ matrix.llvm-version }}
- name: Test MLPerf Inference MLCommons C++ ResNet50
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-mlperf-inference-resnet50.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test MLPerf Inference ResNet50
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-mlperf-inference-retinanet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test MLPerf Inference Retinanet using ${{ matrix.backend }}
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-mlperf-inference-rnnt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test MLPerf Inference RNNT
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-mlperf-inference-tvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: MLPerf Inference ResNet50 using TVM
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install cmind
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test MLPerf loadgen with HuggingFace bert onnx fp32 squad model
run: |
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/update-script-dockerfiles.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/update-script-readme.yml

This file was deleted.

0 comments on commit ac86a50

Please sign in to comment.