From e5e346709176bdb1a6b8da4a9686d68937d6bc82 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 7 Jan 2026 16:21:25 +0000 Subject: [PATCH 1/2] Initial plan From 6875e25afcc5c635d7f6b92200634782867fa82a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 7 Jan 2026 16:26:26 +0000 Subject: [PATCH 2/2] Add arm64 support for Vulkan builds in Dockerfiles and workflows Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> --- .github/workflows/backend.yml | 6 ++-- .github/workflows/image-pr.yml | 2 +- .github/workflows/image.yml | 2 +- Dockerfile | 51 ++++++++++++++++++++++------------ backend/Dockerfile.golang | 51 ++++++++++++++++++++++------------ backend/Dockerfile.llama-cpp | 51 ++++++++++++++++++++++------------ backend/Dockerfile.python | 51 ++++++++++++++++++++++------------ 7 files changed, 137 insertions(+), 77 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 8b6c38b9c7ca..b5cdbd545f0b 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -869,7 +869,7 @@ jobs: - build-type: 'vulkan' cuda-major-version: "" cuda-minor-version: "" - platforms: 'linux/amd64' + platforms: 'linux/amd64,linux/arm64' tag-latest: 'auto' tag-suffix: '-gpu-vulkan-llama-cpp' runs-on: 'ubuntu-latest' @@ -922,7 +922,7 @@ jobs: - build-type: 'vulkan' cuda-major-version: "" cuda-minor-version: "" - platforms: 'linux/amd64' + platforms: 'linux/amd64,linux/arm64' tag-latest: 'auto' tag-suffix: '-gpu-vulkan-stablediffusion-ggml' runs-on: 'ubuntu-latest' @@ -988,7 +988,7 @@ jobs: - build-type: 'vulkan' cuda-major-version: "" cuda-minor-version: "" - platforms: 'linux/amd64' + platforms: 'linux/amd64,linux/arm64' tag-latest: 'auto' tag-suffix: '-gpu-vulkan-whisper' runs-on: 'ubuntu-latest' diff --git a/.github/workflows/image-pr.yml b/.github/workflows/image-pr.yml index 3e60f66d907d..fe5236f1699a 100644 --- a/.github/workflows/image-pr.yml +++ b/.github/workflows/image-pr.yml @@ -74,7 +74,7 @@ makeflags: "--jobs=3 --output-sync=target" ubuntu-version: '2404' - build-type: 'vulkan' - platforms: 'linux/amd64' + platforms: 'linux/amd64,linux/arm64' tag-latest: 'false' tag-suffix: '-vulkan-core' runs-on: 'ubuntu-latest' diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 73fbdb8cdfeb..4fde110dc238 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -113,7 +113,7 @@ ubuntu-version: '2404' ubuntu-codename: 'noble' - build-type: 'vulkan' - platforms: 'linux/amd64' + platforms: 'linux/amd64,linux/arm64' tag-latest: 'auto' tag-suffix: '-gpu-vulkan' runs-on: 'ubuntu-latest' diff --git a/Dockerfile b/Dockerfile index 4f1c125548f0..a4bd4fbb09ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,24 +40,39 @@ RUN <