Skip to content

Update run-mlperf-inference-submission-checker.yml #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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="mlcommons-bot@users.noreply.github.com"

git config --global user.name "$USER"
git config --global user.email "$EMAIL"
Expand Down