CI: Fix docker multiarch overwrite#21144
Closed
Ts-sound wants to merge 14 commits intoggml-org:masterfrom
Closed
Conversation
Co-authored-by: Aaron Teo <taronaeo@gmail.com>
Co-authored-by: Aaron Teo <taronaeo@gmail.com>
…ntu_version: "24.04")
Co-authored-by: Aaron Teo <taronaeo@gmail.com>
Contributor
Author
Member
|
Ah, yes, forgot about this, please test that the resulting entry works correctly for both. Also, please bump the runner on the |
Contributor
Author
|
Testing docker images run - amd64/arm64 amd6402c2cfbd8118 : --platform linux/amd64 ghcr.io/ts-sound/llama.cpp:server-fix-ci-docker-multiarch-overwrite-b8588-4e634fa docker run -it --rm 02c2cfbd8118
load_backend: loaded CPU backend from /app/libggml-cpu-haswell.so
main: n_parallel is set to auto, using n_parallel = 4 and kv_unified = true
build: 8588 (4e634fa62) with GNU 14.2.0 for Linux x86_64
system info: n_threads = 1, n_threads_batch = 1, total_threads = 2
system_info: n_threads = 1 (n_threads_batch = 1) / 2 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
...arm64docker run --privileged --rm tonistiigi/binfmt --install all
installing: ppc64le OK
installing: riscv64 OK
installing: mips64 OK
installing: loong64 OK
installing: arm64 OK
installing: arm OK
installing: s390x OK
installing: mips64le OK
...
@Ts-sound ➜ /workspaces/llama.cpp (master) $ docker run -it --rm --platform linux/arm64 ghcr.io/ts-sound/llama.cpp:server-fix-ci-docker-multiarch-overwrite-b8588-4e634fa
load_backend: loaded CPU backend from /app/libggml-cpu-armv9.2_2.so
main: n_parallel is set to auto, using n_parallel = 4 and kv_unified = true
build: 8588 (4e634fa62) with GNU 14.2.0 for Linux aarch64
system info: n_threads = 1, n_threads_batch = 1, total_threads = 2
system_info: n_threads = 1 (n_threads_batch = 1) / 2 | CPU : NEON = 1 | ARM_FMA = 1 | FP16_VA = 1 | MATMUL_INT8 = 1 | SVE = 1 | DOTPROD = 1 | SVE_CNT = 64 | SME = 1 | OPENMP = 1 | REPACK = 1 |
... |
taronaeo
approved these changes
Mar 29, 2026
CISC
approved these changes
Mar 29, 2026
Contributor
Contributor
|
Superseded by #21122. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Fix Docker multi-arch build issue where
linux/amd64andlinux/arm64images were being overwritten.Changes:
linux/amd64,linux/arm64together in a single build stepAdditional Information
Related Issues:
Verified Build: https://github.com/Ts-sound/llama.cpp/actions/runs/23698614431
Test Log
Verified both architectures can be pulled correctly:
Requirements