Add tp-size and pp-size variations to GPT-J model script #638
Workflow file for this run
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: Test MLPerf automotive | |
| on: | |
| pull_request_target: | |
| branches: [ "main", "dev" ] | |
| paths: | |
| - 'script/**meta.yaml' | |
| jobs: | |
| run-mlperf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - name: Load secrets | |
| id: op-load-secrets | |
| uses: 1password/load-secrets-action@v3 | |
| env: | |
| OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
| GDRIVE_SERVICE_ACCOUNT_KEY: op://7basd2jirojjckncf6qnq3azai/bzbaco3uxoqs2rcyu42rvuccga/credential | |
| - name: Set RCLONE Service account env var from secret | |
| shell: bash | |
| run: | | |
| echo "RCLONE_CONFIG_MLC_COGNATA_SERVICE_ACCOUNT_CREDENTIALS=${{ steps.op-load-secrets.outputs.GDRIVE_SERVICE_ACCOUNT_KEY }}" >> $GITHUB_ENV | |
| echo "RCLONE_CONFIG_MLC_NUSCENES_SERVICE_ACCOUNT_CREDENTIALS=${{ steps.op-load-secrets.outputs.GDRIVE_SERVICE_ACCOUNT_KEY }}" >> $GITHUB_ENV | |
| - name: Run MLPerf | |
| shell: bash | |
| env: | |
| REPO: ${{ github.event.pull_request.head.repo.html_url }} | |
| BRANCH: ${{ github.event.pull_request.head.ref }} | |
| run: | | |
| pip install mlcflow | |
| mlc pull repo "$REPO" --branch="$BRANCH" | |
| mlc test script app,mlperf,automotive |