Skip to content
Open
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
3 changes: 2 additions & 1 deletion scripts/build_pytorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ function build_pytorch() {
else
echo "Detected $ARCH — building with OpenBLAS..."
export USE_MKL=0
export USE_MKLDNN=0
export BLAS=OpenBLAS
fi

Expand Down Expand Up @@ -186,7 +187,7 @@ function build_pytorch() {
cp $CONDA_PREFIX/lib/libomp* build/lib.linux-$ARCH-cpython-${PYTHON_MAJOR}${PYTHON_MINOR}/torch/lib/
fi

python3 setup.py bdist_wheel --python-tag "$PYTHON_TAG" --verbose 2>&1 | tee -a build.log
python3 setup.py bdist_wheel --python-tag "$PYTHON_TAG" --plat-name "manylinux_2_28_$ARCH" --verbose 2>&1 | tee -a build.log

echo "Build complete. Wheel is in: pytorch/dist/"
cd ..
Expand Down
Loading