flexbench sync #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: MLPerf inference R-GAT via CMLCR | |
| on: | |
| pull_request_target: | |
| branches: [ "master", "main", "dev" ] | |
| paths: | |
| - '.github/workflows/test-mlperf-inference-rgat.yml' | |
| - '**' | |
| - '!**.md' | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: [ "3.12" ] | |
| backend: [ "pytorch" ] | |
| implementation: [ "python" ] | |
| 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 CMX | |
| run: | | |
| pip install cmind | |
| - name: Install mlcflow | |
| run: | | |
| pip install mlcflow | |
| pip install tabulate | |
| - name: Pull MLOps repository | |
| run: | | |
| cmlc pull repo mlcommons@mlperf-automations --branch=main | |
| - name: Test MLPerf Inference R-GAT using ${{ matrix.backend }} on ${{ matrix.os }} | |
| run: | | |
| cmlcr run,mlperf,inference,generate-run-cmds,_submission,_short --adr.inference-src.tags=_branch.dev --pull_changes=yes --pull_inference_changes=yes --submitter="MLC" --hw_name=gh_${{ matrix.os }}_x86 --model=rgat --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --adr.compiler.tags=gcc --category=datacenter --quiet -v --target_qps=1 | |
| - name: Push Test MLPerf Results (only for cTuning dev branches) | |
| if: github.repository_owner == 'ctuning' | |
| env: | |
| USER: "GitHub Action" | |
| EMAIL: "admin@cTuning.org" | |
| GITHUB_TOKEN: ${{ secrets.TEST_RESULTS_GITHUB_TOKEN }} | |
| run: | | |
| git config --global user.name "${{ env.USER }}" | |
| git config --global user.email "${{ env.EMAIL }}" | |
| git config --global credential.https://github.com.helper "" | |
| git config --global credential.https://github.com.helper "!gh auth git-credential" | |
| git config --global credential.https://gist.github.com.helper "" | |
| git config --global credential.https://gist.github.com.helper "!gh auth git-credential" | |
| cmlcr push,github,mlperf,inference,submission --repo_url="https://github.com/ctuning/test_mlperf_inference_submissions" --repo_branch=main --commit_message="Results from R-Gat GH action on ${{ matrix.os }}" --quiet |