diff --git a/script/install-pytorch-from-src/_cm.json b/script/install-pytorch-from-src/_cm.json index c864fa907b..057dbe681e 100644 --- a/script/install-pytorch-from-src/_cm.json +++ b/script/install-pytorch-from-src/_cm.json @@ -233,7 +233,7 @@ ], "ad": { "pytorch-src-repo": { - "tags": "_full-history" + "tags": "_no-recurse-submodules,_full-history" } } }, diff --git a/script/install-pytorch-from-src/run.sh b/script/install-pytorch-from-src/run.sh index ea54bca14c..3d76b8efd1 100644 --- a/script/install-pytorch-from-src/run.sh +++ b/script/install-pytorch-from-src/run.sh @@ -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