-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improve setup.py * [Automated Commit] Format Codebase * Update test-mlperf-inference-resnet50.yml
- Loading branch information
1 parent
16f75ef
commit 5bcdfb5
Showing
2 changed files
with
16 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ jobs: | |
git config --system core.longpaths true | ||
- name: Install dependencies | ||
run: | | ||
pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm" | ||
CM_PULL_DEFAULT_MLOPS_REPO=no pip install cm4mlops | ||
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} | ||
- name: Test MLPerf Inference ResNet50 (Windows) | ||
if: matrix.os == 'windows-latest' | ||
|
@@ -59,14 +59,13 @@ jobs: | |
- name: Push Results | ||
if: github.repository_owner == 'mlcommons' | ||
env: | ||
USER: "GitHub Action" | ||
EMAIL: "[email protected]" | ||
GITHUB_TOKEN: ${{ env.PAT }} | ||
run: | | ||
git config --global user.name "${{ env.USER }}" | ||
git config --global user.email "${{ env.EMAIL }}" | ||
git config --global user.name mlcommons-bot | ||
git config --global user.email "[email protected]" | ||
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=gh,auth,cli --with_token=${{ env.PAT }} | ||
cm run script --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 |
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