Skip to content

Commit 858cc92

Browse files
authored
Merge pull request #5 from mlcommons/arjunsuresh-patch-2
Update run-mlperf-inference-submission-checker.yml
2 parents 5a57da9 + 6334836 commit 858cc92

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed
Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
2-
31
name: MLPerf inference submission checker
42

53
on:
64
pull_request:
7-
branches: [ "main", "v4.1" ]
5+
branches: [ "main", "v5.0" ]
86

97
jobs:
108
build:
119

1210
runs-on: ubuntu-latest
13-
env:
14-
CM_INDEX: "on"
1511
strategy:
1612
fail-fast: false
1713
matrix:
@@ -25,7 +21,7 @@ jobs:
2521
python-version: ${{ matrix.python-version }}
2622
- name: Install dependencies
2723
run: |
28-
python3 -m pip install cm4mlops
24+
python3 -m pip install mlc-scripts
2925
- name: Run MLPerf Inference Submission Checker
3026
run: |
31-
cmr "run mlc mlcommons mlperf inference mlperf-inference submission checker submission-checker mlc-submission-checker" --adr.inference-src.tags=_repo.https://github.com/GATEOverflow/inference --quiet --extra_args=" --skip-extra-files-in-root-check" --submission_dir=./
27+
mlcr run,mlperf,submission-checker,inference --adr.inference-src.tags=_branch.dev --quiet --extra_args=" --skip-extra-files-in-root-check" --submission_dir=./

.github/workflows/update-results.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
1-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
2-
31
name: MLPerf inference results updater
42

53

64
on:
75
push:
8-
branches: [ "main", "v4.1" ]
6+
branches: [ "main", "v5.0" ]
97

108
jobs:
119
build:
1210

1311
runs-on: ubuntu-latest
14-
env:
15-
CM_INDEX: "on"
1612
strategy:
1713
fail-fast: false
1814
matrix:
@@ -27,15 +23,15 @@ jobs:
2723

2824
- name: Install dependencies
2925
run: |
30-
python3 -m pip install cm4mlops
26+
python3 -m pip install mlc-scripts
3127
3228
- name: Run MLPerf Inference Submission Checker and generate results summary
3329
run: |
34-
cm run script --tags=run,mlperf,inference,submission-checker --adr.inference-src.tags=_branch.dev --quiet --extra_args=" --skip-extra-files-in-root-check" --submission_dir=./ > >(tee -a out.txt) 2> >(tee -a checker_log.txt >&2)
35-
cm run script --tags=convert,from-csv,to-md --csv_file=summary.csv --md_file=README.md
30+
mlcr run,mlperf,inference,submission-checker --adr.inference-src.tags=_branch.dev --quiet --extra_args=" --skip-extra-files-in-root-check" --submission_dir=./ > >(tee -a out.txt) 2> >(tee -a checker_log.txt >&2)
31+
mlcr convert,from-csv,to-md --csv_file=summary.csv --md_file=README.md
3632
37-
USER="GitHub Action"
38-
EMAIL=admin@gateoverflow.com
33+
USER="mlcommons-bot"
34+
EMAIL="mlcommons-bot@users.noreply.github.com"
3935
4036
git config --global user.name "$USER"
4137
git config --global user.email "$EMAIL"

0 commit comments

Comments
 (0)