Skip to content

Commit

Permalink
Restore git no-recurse-submodule for pytorch install-from-src
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed May 3, 2024
1 parent 094973f commit 53e8587
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/install-pytorch-from-src/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
],
"ad": {
"pytorch-src-repo": {
"tags": "_full-history"
"tags": "_no-recurse-submodules,_full-history"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion script/install-pytorch-from-src/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [[ ! -e pytorch/dist/torch*.whl ]]; then
cp -r ${CM_PYTORCH_SRC_REPO_PATH} pytorch
cd pytorch
git submodule sync
#git submodule update --init --recursive
git submodule update --init --recursive
rm -rf build

${CM_PYTHON_BIN_WITH_PATH} -m pip install -r requirements.txt
Expand Down

0 comments on commit 53e8587

Please sign in to comment.