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; \