Skip to content

Commit

Permalink
Remove invalid git option (pytorch#1246)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Dec 19, 2022
1 parent ee59264 commit b0587d7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .circleci/scripts/binary_checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion conda/build_pytorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cron/nightly_defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion wheel/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

##########################
Expand Down

0 comments on commit b0587d7

Please sign in to comment.