Skip to content

Commit

Permalink
build aarch64 linux cpu wheel with the linker script optimization (#1930
Browse files Browse the repository at this point in the history
)
  • Loading branch information
snadampal committed Jul 23, 2024
1 parent 7ca0b3b commit c6fcf2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aarch64_linux/aarch64_ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ pip install -r /pytorch/requirements.txt
pip install auditwheel
if [ "$DESIRED_CUDA" = "cpu" ]; then
echo "BASE_CUDA_VERSION is not set. Building cpu wheel."
python /builder/aarch64_linux/aarch64_wheel_ci_build.py --enable-mkldnn
#USE_PRIORITIZED_TEXT_FOR_LD for enable linker script optimization https://github.com/pytorch/pytorch/pull/121975/files
USE_PRIORITIZED_TEXT_FOR_LD=1 python /builder/aarch64_linux/aarch64_wheel_ci_build.py --enable-mkldnn
else
echo "BASE_CUDA_VERSION is set to: $DESIRED_CUDA"
#USE_PRIORITIZED_TEXT_FOR_LD for enable linker script optimization https://github.com/pytorch/pytorch/pull/121975/files
Expand Down

0 comments on commit c6fcf2d

Please sign in to comment.