From a9a8224641e04e8232357e208c3528f9a6f6efee Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Tue, 24 Sep 2024 14:05:14 +0100 Subject: [PATCH] Added submission checker gh action --- ...un-mlperf-inference-submission-checker.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/run-mlperf-inference-submission-checker.yml diff --git a/.github/workflows/run-mlperf-inference-submission-checker.yml b/.github/workflows/run-mlperf-inference-submission-checker.yml new file mode 100644 index 0000000..f399015 --- /dev/null +++ b/.github/workflows/run-mlperf-inference-submission-checker.yml @@ -0,0 +1,31 @@ +# 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", "mlperf-inference-results-scc24" ] + +jobs: + build: + + runs-on: ubuntu-latest + env: + CM_INDEX: "on" + strategy: + fail-fast: false + matrix: + python-version: [ "3.10" ] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python3 -m pip install cm4mlops + - name: Run MLPerf Inference Submission Checker + run: | + cm run script --tags=run,mlperf,inference,submission,checker,_short-run --adr.submission-checker-src.tags=_repo.https://github.com/gateoverflow/inference --version=r4.1 --quiet --extra_args=" --skip-extra-files-in-root-check" --submission_dir=./