diff --git a/.circleci/scripts/binary_checkout.sh b/.circleci/scripts/binary_checkout.sh index f06eb8a80..b634f5c9a 100755 --- a/.circleci/scripts/binary_checkout.sh +++ b/.circleci/scripts/binary_checkout.sh @@ -41,8 +41,8 @@ echo "export BUILDER_ROOT=${BUILDER_ROOT}" >> ${BASH_ENV} retry git clone --depth 1 https://github.com/pytorch/pytorch.git "$PYTORCH_ROOT" # Removed checking out pytorch/pytorch using CIRCLE_PR_NUMBER and CIRCLE_SHA1 as # those environment variables are tied to the host repo where the build is being -# triggered. -retry git submodule update --init --recursive --jobs 0 +# triggered. +retry git submodule update --init --recursive pushd "$PYTORCH_ROOT" echo "Using Pytorch from " git --no-pager log --max-count 1 diff --git a/conda/build_pytorch.sh b/conda/build_pytorch.sh index ba09e3788..bb94560a8 100755 --- a/conda/build_pytorch.sh +++ b/conda/build_pytorch.sh @@ -190,7 +190,7 @@ if [[ ! -d "$pytorch_rootdir" ]]; then popd fi pushd "$pytorch_rootdir" -git submodule update --init --recursive --jobs 0 +git submodule update --init --recursive echo "Using Pytorch from " git --no-pager log --max-count 1 popd diff --git a/cron/nightly_defaults.sh b/cron/nightly_defaults.sh index 0f6532adc..d8b6f5ee0 100755 --- a/cron/nightly_defaults.sh +++ b/cron/nightly_defaults.sh @@ -120,7 +120,7 @@ if [[ ! -d "$NIGHTLIES_PYTORCH_ROOT" ]]; then export PYTORCH_BRANCH="$last_commit" fi git checkout "$PYTORCH_BRANCH" - git submodule update --jobs 0 + git submodule update popd fi @@ -229,7 +229,7 @@ if [[ "$DAYS_TO_KEEP" < '1' ]]; then fi # PYTORCH_NIGHTLIES_TIMEOUT -# Timeout in seconds. +# Timeout in seconds. # When full testing is enabled, condas builds often take up to 2 hours 20 # minutes, so the default is set to (2 * 60 + 20 + 40 [buffer]) * 60 == 10800 # seconds. diff --git a/wheel/build_wheel.sh b/wheel/build_wheel.sh index b8b663ac0..b41c5c11d 100755 --- a/wheel/build_wheel.sh +++ b/wheel/build_wheel.sh @@ -128,7 +128,7 @@ if [[ ! -d "$pytorch_rootdir" ]]; then popd fi pushd "$pytorch_rootdir" -git submodule update --init --recursive --jobs 0 +git submodule update --init --recursive popd ##########################