Skip to content

Commit 2a456e4

Browse files
driazatifacebook-github-bot
authored andcommitted
[skip ci] Move debug wheels out of package dir before test (pytorch#58685)
Summary: Pull Request resolved: pytorch#58685 This moves debug packages out of the artifacts dir before running tests (as a counterpart to pytorch/builder#770). Doing it this way allows us to keep the CI configs simple since there's one directory to use for artifacts / upload to S3. See pytorch#58684 for actual CI signals (the ones on this PR are all cancelled since it depends on the builder branch set in the next PR up the stack) Test Plan: Imported from OSS Reviewed By: nikithamalgifb Differential Revision: D28646995 Pulled By: driazati fbshipit-source-id: 965265861968906770a6e6eeecfe7c9458631b5a
1 parent 2733555 commit 2a456e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.circleci/scripts/binary_linux_test.sh

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ if [[ "$DESIRED_CUDA" == "cu112" ]]; then
3838
EXTRA_CONDA_FLAGS="-c=conda-forge"
3939
fi
4040
41+
# Move debug wheels out of the the package dir so they don't get installed
42+
mkdir -p /tmp/debug_final_pkgs
43+
mv /final_pkgs/debug-*.zip /tmp/debug_final_pkgs || echo "no debug packages to move"
44+
4145
# Install the package
4246
# These network calls should not have 'retry's because they are installing
4347
# locally and aren't actually network calls

0 commit comments

Comments
 (0)