Skip to content

Commit

Permalink
Support --pull in addition to --update while updated git repo in CM c…
Browse files Browse the repository at this point in the history
…ache
  • Loading branch information
arjunsuresh committed May 21, 2024
1 parent 5fc8591 commit 378b0b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions script/app-mlperf-inference/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,7 @@ docker:
- tags: get,mlperf,inference,results,dir
- tags: get,mlperf,inference,submission,dir
pre_run_cmds:
#- cm pull repo && cm run script --tags=get,git,repo,_repo.https://github.com/GATEOverflow/inference_results_v4.0.git --update
- cm pull repo
mounts:
- "${{ CM_DATASET_IMAGENET_PATH }}:${{ CM_DATASET_IMAGENET_PATH }}"
Expand Down
1 change: 1 addition & 0 deletions script/get-git-repo/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"folder": "CM_GIT_CHECKOUT_FOLDER",
"patch": "CM_GIT_PATCH",
"update": "CM_GIT_REPO_PULL",
"pull": "CM_GIT_REPO_PULL",
"env_key": "CM_GIT_ENV_KEY",
"submodules": "CM_GIT_RECURSE_SUBMODULES"
},
Expand Down

0 comments on commit 378b0b4

Please sign in to comment.