|
1 |
| -# Run MLPerf inference Retinanet |
2 |
| - |
3 | 1 | name: MLPerf inference retinanet
|
4 | 2 |
|
5 | 3 | on:
|
6 |
| - pull_request: |
| 4 | + pull_request_target: |
7 | 5 | branches: [ "main", "dev" ]
|
8 | 6 | paths:
|
9 | 7 | - '.github/workflows/test-mlperf-inference-retinanet.yml'
|
@@ -54,17 +52,21 @@ jobs:
|
54 | 52 | if: matrix.os != 'windows-latest'
|
55 | 53 | run: |
|
56 | 54 | mlcr --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter="MLCommons" --pull_changes=yes --pull_inference_changes=yes --hw_name=gh_${{ matrix.os }}_x86 --model=retinanet --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=5 --quiet -v --target_qps=1
|
| 55 | + - name: Retrieve secrets from Keeper |
| 56 | + id: ksecrets |
| 57 | + uses: Keeper-Security/ksm-action@master |
| 58 | + with: |
| 59 | + keeper-secret-config: ${{ secrets.KSM_CONFIG }} |
| 60 | + secrets: |- |
| 61 | + ubwkjh-Ii8UJDpG2EoU6GQ/field/Access Token > env:PAT |
57 | 62 | - name: Push Results
|
58 |
| - if: github.repository_owner == 'gateoverflow' |
59 | 63 | env:
|
60 |
| - USER: "GitHub Action" |
61 |
| - EMAIL: "admin@gateoverflow.com" |
62 |
| - GITHUB_TOKEN: ${{ secrets.TEST_RESULTS_GITHUB_TOKEN }} |
| 64 | + GITHUB_TOKEN: ${{ env.PAT }} |
63 | 65 | run: |
|
64 |
| - git config --global user.name "${{ env.USER }}" |
65 |
| - git config --global user.email "${{ env.EMAIL }}" |
| 66 | + git config --global user.name "mlcommons-bot" |
| 67 | + git config --global user.email "mlcommons-bot@users.noreply.github.com" |
66 | 68 | git config --global credential.https://github.com.helper ""
|
67 | 69 | git config --global credential.https://github.com.helper "!gh auth git-credential"
|
68 | 70 | git config --global credential.https://gist.github.com.helper ""
|
69 | 71 | git config --global credential.https://gist.github.com.helper "!gh auth git-credential"
|
70 |
| - mlcr --tags=push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=auto-update --commit_message="Results from Retinanet GH action on ${{ matrix.os }}" --quiet |
| 72 | + mlcr --tags=push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=auto-update --commit_message="Results from R50 GH action on ${{ matrix.os }}" --quiet |
0 commit comments