From b2ff1cea2a57eb7574152a4eca290d296c47954b Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 7 Jan 2026 21:49:50 +0100 Subject: [PATCH] feat: enable Vulkan arm64 image builds (#7912) * Initial plan * Add arm64 support for Vulkan builds in Dockerfiles and workflows Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> 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 d856f536e..87392e815 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -908,7 +908,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' @@ -961,7 +961,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' @@ -1027,7 +1027,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 3e60f66d9..fe5236f16 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 73fbdb8cd..4fde110dc 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 4f1c12554..a4bd4fbb0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,24 +40,39 @@ RUN <