Skip to content

Commit

Permalink
Merge pull request #5 from mlcommons/arjunsuresh-patch-2
Browse files Browse the repository at this point in the history
Update run-mlperf-inference-submission-checker.yml
  • Loading branch information
anandhu-eng authored Feb 1, 2025
2 parents 5a57da9 + 6334836 commit 858cc92
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/run-mlperf-inference-submission-checker.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: MLPerf inference submission checker

on:
pull_request:
branches: [ "main", "v4.1" ]
branches: [ "main", "v5.0" ]

jobs:
build:

runs-on: ubuntu-latest
env:
CM_INDEX: "on"
strategy:
fail-fast: false
matrix:
Expand All @@ -25,7 +21,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install cm4mlops
python3 -m pip install mlc-scripts
- name: Run MLPerf Inference Submission Checker
run: |
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=./
mlcr run,mlperf,submission-checker,inference --adr.inference-src.tags=_branch.dev --quiet --extra_args=" --skip-extra-files-in-root-check" --submission_dir=./
16 changes: 6 additions & 10 deletions .github/workflows/update-results.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: MLPerf inference results updater


on:
push:
branches: [ "main", "v4.1" ]
branches: [ "main", "v5.0" ]

jobs:
build:

runs-on: ubuntu-latest
env:
CM_INDEX: "on"
strategy:
fail-fast: false
matrix:
Expand All @@ -27,15 +23,15 @@ jobs:

- name: Install dependencies
run: |
python3 -m pip install cm4mlops
python3 -m pip install mlc-scripts
- name: Run MLPerf Inference Submission Checker and generate results summary
run: |
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)
cm run script --tags=convert,from-csv,to-md --csv_file=summary.csv --md_file=README.md
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)
mlcr convert,from-csv,to-md --csv_file=summary.csv --md_file=README.md
USER="GitHub Action"
EMAIL=admin@gateoverflow.com
USER="mlcommons-bot"
EMAIL="[email protected].com"
git config --global user.name "$USER"
git config --global user.email "$EMAIL"
Expand Down

0 comments on commit 858cc92

Please sign in to comment.