Skip to content

Commit f414455

Browse files
authored
[aarch64] cleanup mkldnn patching (#1630)
pytorch is moved to oneDNN v3.3.2 and some of the old patches are not applicable any more.
1 parent c10e254 commit f414455

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

aarch64_linux/aarch64_wheel_ci_build.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ def parse_arguments():
105105
else:
106106
print("build pytorch without mkldnn backend")
107107

108-
# work around to fix Raspberry pie crash
109-
print("Applying mkl-dnn patch to fix readdir crash")
110-
os.system("cd /pytorch/third_party/ideep/mkl-dnn && patch -p1 < /builder/mkldnn_fix/aarch64-fix-readdir-crash.patch")
111108
os.system(f"cd /pytorch; {build_vars} python3 setup.py bdist_wheel")
112109
pytorch_wheel_name = complete_wheel("pytorch")
113110
print(f"Build Compelete. Created {pytorch_wheel_name}..")

aarch64_linux/build_aarch64_wheel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ def start_build(host: RemoteHost, *,
554554
build_ArmComputeLibrary(host, git_clone_flags)
555555
print("build pytorch with mkldnn+acl backend")
556556
build_vars += " USE_MKLDNN=ON USE_MKLDNN_ACL=ON"
557-
host.run_cmd(f"cd $HOME && git clone https://github.com/pytorch/builder.git")
558557
host.run_cmd(f"cd $HOME/pytorch && export ACL_ROOT_DIR=$HOME/ComputeLibrary && {build_vars} python3 setup.py bdist_wheel{build_opts}")
559558
print('Repair the wheel')
560559
pytorch_wheel_name = host.list_dir("pytorch/dist")[0]

mkldnn_fix/aarch64-fix-readdir-crash.patch

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

0 commit comments

Comments
 (0)