Merge from GO #1139
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 | |
on: | |
pull_request_target: | |
branches: [ "main", "dev" ] | |
paths: | |
- '.github/workflows/test-mlperf-inference-rgat.yml' | |
- '**' | |
- '!**.md' | |
jobs: | |
rgat-inference-run: | |
name: ${{ matrix.os }} - ${{ matrix.backend }} - ${{ matrix.implementation }} | |
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 mlcflow | |
run: | | |
pip install mlcflow | |
pip install tabulate | |
- name: Pull MLOps repository | |
run: | | |
mlc pull repo ${{ github.event.pull_request.head.repo.html_url }} --branch=${{ github.event.pull_request.head.ref }} | |
- name: Test MLPerf Inference R-GAT using ${{ matrix.backend }} on ${{ matrix.os }} | |
run: | | |
mlcr run,mlperf,inference,generate-run-cmds,_submission,_short --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 | |