Skip to content

Commit b9d33ec

Browse files
committed
remove the mkldnn build flag patching
the changes are upstreamed, so no need for patching the wheel builder.
1 parent 18725f9 commit b9d33ec

File tree

3 files changed

+0
-32
lines changed

3 files changed

+0
-32
lines changed

aarch64_linux/aarch64_wheel_ci_build.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ def parse_arguments():
106106
print("build pytorch without mkldnn backend")
107107

108108
# work around to fix Raspberry pie crash
109-
print("Applying mkl-dnn patch to fix Raspberry pie crash")
110-
os.system("cd /pytorch/third_party/ideep/mkl-dnn && patch -p1 < /builder/mkldnn_fix/aarch64-fix-default-build-flags-to-armv8-a.patch")
111109
print("Applying mkl-dnn patch to fix readdir crash")
112110
os.system("cd /pytorch/third_party/ideep/mkl-dnn && patch -p1 < /builder/mkldnn_fix/aarch64-fix-readdir-crash.patch")
113111
os.system(f"cd /pytorch; {build_vars} python3 setup.py bdist_wheel")

aarch64_linux/build_aarch64_wheel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,6 @@ def start_build(host: RemoteHost, *,
555555
print("build pytorch with mkldnn+acl backend")
556556
build_vars += " USE_MKLDNN=ON USE_MKLDNN_ACL=ON"
557557
host.run_cmd(f"cd $HOME && git clone https://github.com/pytorch/builder.git")
558-
host.run_cmd(f"cd $HOME/pytorch/third_party/ideep/mkl-dnn && patch -p1 < $HOME/builder/mkldnn_fix/aarch64-fix-default-build-flags-to-armv8-a.patch")
559558
host.run_cmd(f"cd $HOME/pytorch && export ACL_ROOT_DIR=$HOME/ComputeLibrary && {build_vars} python3 setup.py bdist_wheel{build_opts}")
560559
print('Repair the wheel')
561560
pytorch_wheel_name = host.list_dir("pytorch/dist")[0]

mkldnn_fix/aarch64-fix-default-build-flags-to-armv8-a.patch

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)