From 6ce94834b6ae1ec16b9bfe42f61e8886e1cd4917 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 6 May 2025 10:00:50 +0200 Subject: [PATCH] fix(hipblas): do not build all cpu-specific flags (#5322) Signed-off-by: Ettore Di Giacinto --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 47f4c086..c6c426a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -303,7 +303,7 @@ RUN make prepare ## Build the binary ## If we're on arm64 AND using cublas/hipblas, skip some of the llama-compat backends to save space ## Otherwise just run the normal build -RUN if [ "${TARGETARCH}" = "arm64" ] && ( [ "${BUILD_TYPE}" = "cublas" ] || [ "${BUILD_TYPE}" = "hipblas" ] ); then \ +RUN if [ "${TARGETARCH}" = "arm64" ] || [ "${BUILD_TYPE}" = "hipblas" ]; then \ SKIP_GRPC_BACKEND="backend-assets/grpc/llama-cpp-avx512 backend-assets/grpc/llama-cpp-avx backend-assets/grpc/llama-cpp-avx2" make build; \ else \ make build; \