-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #335 from GATEOverflow/mlperf-inference
Merge from go
- Loading branch information
Showing
2 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
name: MLPerf inference ResNet50 | ||
|
||
on: | ||
pull_request: | ||
pull_request_target: | ||
branches: [ "main", "dev", "mlperf-inference" ] | ||
paths: | ||
- '.github/workflows/test-mlperf-inference-resnet50.yml' | ||
|
@@ -43,9 +43,23 @@ jobs: | |
- name: Test MLPerf Inference ResNet50 (Windows) | ||
if: matrix.os == 'windows-latest' | ||
run: | | ||
cm run script --tags=run-mlperf,inference,_submission,_short --submitter="MLCommons" --hw_name=default --model=resnet50 --adr.loadgen.tags=_from-pip --pip_loadgen=yes --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --target_qps=1 -v --quiet | ||
cm run script --tags=run-mlperf,inference,_submission,_short --submitter="MLCommons" --hw_name=gh_windows --model=resnet50 --adr.loadgen.tags=_from-pip --pip_loadgen=yes --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --target_qps=1 -v --quiet | ||
- name: Test MLPerf Inference ResNet50 (Linux/macOS) | ||
if: matrix.os != 'windows-latest' | ||
run: | | ||
cm run script --tags=run-mlperf,inference,_submission,_short --submitter="MLCommons" --hw_name=default --model=resnet50 --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --target_qps=1 -v --quiet | ||
cm run script --tags=run-mlperf,inference,_submission,_short --submitter="MLCommons" --hw_name=gh_${{ matrix.os }}_x86 --model=resnet50 --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --target_qps=1 -v --quiet | ||
- name: Push Results | ||
if: github.repository_owner == 'gateoverflow' | ||
env: | ||
USER: "GitHub Action" | ||
EMAIL: "[email protected]" | ||
run: | | ||
git config --global user.name "$USER" | ||
git config --global user.email "$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" | ||
cm run script --tags=auth,gh,cli --with_token="${{ secrets.TEST_RESULTS_GITHUB_TOKEN }}" | ||
cm run script --tags=push,github,mlperf,inference,submission --repo_url=https://github.com/gateoverflow/mlperf_inference_test_submissions_v5.0 --repo_branch=main --commit_message="Results from R50 GH action" --quiet |