fixed a few typos #3
This file contains 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 CMX | |
on: | |
pull_request: | |
branches: [ "main", "master", "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@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Configure git longpaths (Windows) | |
if: matrix.os == 'windows-latest' | |
run: | | |
git config --system core.longpaths true | |
- name: Install dependencies | |
run: | | |
python3 -m pip install cmx4mlops | |
- name: Test MLPerf Inference R-GAT using ${{ matrix.backend }} on ${{ matrix.os }} | |
run: | | |
cmx run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter="MLCommons" --adr.inference-src.tags=_branch.dev --pull_changes=yes --pull_inference_changes=yes --submitter="MLCommons" --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: "[email protected]" | |
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" | |
cmx run script --tags=push,github,mlperf,inference,submission --repo_url="https://github.com/ctuning/test_mlperf_inference_submissions" --repo_branch=main --commit_message="Results from R50 GH action on ${{ matrix.os }}" --quiet |