We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 662da35 commit 465380dCopy full SHA for 465380d
.github/scripts/ppc64le-build.sh
@@ -6,10 +6,14 @@ PACKAGE_VERSION=${PACKAGE_VERSION:-v2.4.0}
6
export PYTORCH_BUILD_VERSION=2.6.0
7
export PYTORCH_BUILD_NUMBER=1
8
9
+# Clean up old artifacts (even though it's a new container)
10
+rm -rf build/ dist/ torch.egg-info/
11
+
12
cd /workspace/$PACKAGE_NAME
13
14
15
# Build and install PyTorch wheel
-if ! (MAX_JOBS=4 python setup.py bdist_wheel --version=$PYTORCH_BUILD_VERSION); then
16
+if ! (MAX_JOBS=4 python setup.py bdist_wheel ); then
17
echo "------------------$PACKAGE_NAME:install_fails-------------------------------------"
18
exit 1
19
fi
0 commit comments