Skip to content

Commit b0587d7

Browse files
authored
Remove invalid git option (#1246)
1 parent ee59264 commit b0587d7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.circleci/scripts/binary_checkout.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ echo "export BUILDER_ROOT=${BUILDER_ROOT}" >> ${BASH_ENV}
4141
retry git clone --depth 1 https://github.com/pytorch/pytorch.git "$PYTORCH_ROOT"
4242
# Removed checking out pytorch/pytorch using CIRCLE_PR_NUMBER and CIRCLE_SHA1 as
4343
# those environment variables are tied to the host repo where the build is being
44-
# triggered.
45-
retry git submodule update --init --recursive --jobs 0
44+
# triggered.
45+
retry git submodule update --init --recursive
4646
pushd "$PYTORCH_ROOT"
4747
echo "Using Pytorch from "
4848
git --no-pager log --max-count 1

conda/build_pytorch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ if [[ ! -d "$pytorch_rootdir" ]]; then
190190
popd
191191
fi
192192
pushd "$pytorch_rootdir"
193-
git submodule update --init --recursive --jobs 0
193+
git submodule update --init --recursive
194194
echo "Using Pytorch from "
195195
git --no-pager log --max-count 1
196196
popd

cron/nightly_defaults.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ if [[ ! -d "$NIGHTLIES_PYTORCH_ROOT" ]]; then
120120
export PYTORCH_BRANCH="$last_commit"
121121
fi
122122
git checkout "$PYTORCH_BRANCH"
123-
git submodule update --jobs 0
123+
git submodule update
124124
popd
125125
fi
126126

@@ -229,7 +229,7 @@ if [[ "$DAYS_TO_KEEP" < '1' ]]; then
229229
fi
230230

231231
# PYTORCH_NIGHTLIES_TIMEOUT
232-
# Timeout in seconds.
232+
# Timeout in seconds.
233233
# When full testing is enabled, condas builds often take up to 2 hours 20
234234
# minutes, so the default is set to (2 * 60 + 20 + 40 [buffer]) * 60 == 10800
235235
# seconds.

wheel/build_wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if [[ ! -d "$pytorch_rootdir" ]]; then
128128
popd
129129
fi
130130
pushd "$pytorch_rootdir"
131-
git submodule update --init --recursive --jobs 0
131+
git submodule update --init --recursive
132132
popd
133133

134134
##########################

0 commit comments

Comments
 (0)