From 6b90c090ebb01d86f65493d1d609d7fadc0feab8 Mon Sep 17 00:00:00 2001 From: snadampal <87143774+snadampal@users.noreply.github.com> Date: Thu, 2 May 2024 13:47:52 -0500 Subject: [PATCH] aarch64: upgrade ACL version to 24.04 (#1807) * aarch64: upgrade ACL version to 24.04 PyTorch is upgraded to oneDNN 3.4 and this requires ACL update too. * aarch64: Update the standalone wheel building scripts for ACL version This script is not used for CI or CD but exists to allow developers to trigger wheel building in one step --- aarch64_linux/aarch64_wheel_ci_build.py | 2 +- aarch64_linux/build_aarch64_wheel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aarch64_linux/aarch64_wheel_ci_build.py b/aarch64_linux/aarch64_wheel_ci_build.py index e0b34c24b..5df61facf 100755 --- a/aarch64_linux/aarch64_wheel_ci_build.py +++ b/aarch64_linux/aarch64_wheel_ci_build.py @@ -78,7 +78,7 @@ def build_ArmComputeLibrary() -> None: "clone", "https://github.com/ARM-software/ComputeLibrary.git", "-b", - "v23.08", + "v24.04", "--depth", "1", "--shallow-submodules", diff --git a/aarch64_linux/build_aarch64_wheel.py b/aarch64_linux/build_aarch64_wheel.py index 0ff286ad2..3956f0463 100755 --- a/aarch64_linux/build_aarch64_wheel.py +++ b/aarch64_linux/build_aarch64_wheel.py @@ -229,7 +229,7 @@ def build_ArmComputeLibrary(host: RemoteHost, git_clone_flags: str = "") -> None print('Building Arm Compute Library') acl_build_flags=" ".join(["debug=0", "neon=1", "opencl=0", "os=linux", "openmp=1", "cppthreads=0", "arch=armv8a", "multi_isa=1", "fixed_format_kernels=1", "build=native"]) - host.run_cmd(f"git clone https://github.com/ARM-software/ComputeLibrary.git -b v23.08 {git_clone_flags}") + host.run_cmd(f"git clone https://github.com/ARM-software/ComputeLibrary.git -b v24.04 {git_clone_flags}") host.run_cmd(f"cd ComputeLibrary && scons Werror=1 -j8 {acl_build_flags}")