Skip to content

Remove invalid git option #1246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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