|
1 | 1 | name: MLPerf inference bert (deepsparse, tf, onnxruntime, pytorch)
|
2 | 2 |
|
3 | 3 | on:
|
4 |
| - pull_request: |
| 4 | + pull_request_target: |
5 | 5 | branches: [ "main", "dev" ]
|
6 | 6 | paths:
|
7 | 7 | - '.github/workflows/test-mlperf-inference-bert-deepsparse-tf-onnxruntime-pytorch.yml'
|
@@ -47,17 +47,21 @@ jobs:
|
47 | 47 | if: matrix.os != 'windows-latest'
|
48 | 48 | run: |
|
49 | 49 | mlcr --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter="MLCommons" --hw_name=gh_${{ matrix.os }}_x86 --model=bert-99 --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=5 --precision=${{ matrix.precision }} --target_qps=1 -v --quiet
|
| 50 | + - name: Retrieve secrets from Keeper |
| 51 | + id: ksecrets |
| 52 | + uses: Keeper-Security/ksm-action@master |
| 53 | + with: |
| 54 | + keeper-secret-config: ${{ secrets.KSM_CONFIG }} |
| 55 | + secrets: |- |
| 56 | + ubwkjh-Ii8UJDpG2EoU6GQ/field/Access Token > env:PAT |
50 | 57 | - name: Push Results
|
51 |
| - if: github.repository_owner == 'gateoverflow' |
52 | 58 | env:
|
53 |
| - USER: "GitHub Action" |
54 |
| - EMAIL: "admin@gateoverflow.com" |
55 |
| - GITHUB_TOKEN: ${{ secrets.TEST_RESULTS_GITHUB_TOKEN }} |
| 59 | + GITHUB_TOKEN: ${{ env.PAT }} |
56 | 60 | run: |
|
57 |
| - git config --global user.name "${{ env.USER }}" |
58 |
| - git config --global user.email "${{ env.EMAIL }}" |
| 61 | + git config --global user.name "mlcommons-bot" |
| 62 | + git config --global user.email "mlcommons-bot@users.noreply.github.com" |
59 | 63 | git config --global credential.https://github.com.helper ""
|
60 | 64 | git config --global credential.https://github.com.helper "!gh auth git-credential"
|
61 | 65 | git config --global credential.https://gist.github.com.helper ""
|
62 | 66 | git config --global credential.https://gist.github.com.helper "!gh auth git-credential"
|
63 |
| - mlcr --tags=push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=dev --commit_message="Results from Bert GH action on ${{ matrix.os }}" --quiet |
| 67 | + 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