You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(docker): build llama-mtmd-cli from source to fix glibc ABI mismatch
Pre-built Ubuntu release binaries for llama.cpp require GLIBC_2.38 /
GLIBCXX_3.4.32, but Debian Bookworm ships glibc 2.36 / GLIBCXX_3.4.30,
causing "missing shared library" failures at runtime.
Fix: compile llama-mtmd-cli from source inside the same debian:bookworm-slim
base as the runtime stage, with BUILD_SHARED_LIBS=OFF (statically links
llama's internal libs) and GGML_OPENMP=OFF (no libgomp dependency, mirrors
the whisper stage). The resulting binary depends only on standard Bookworm
system libraries which are present in the runtime image.
Also adds --retry-all-errors to the model download curl commands so transient
CDN drops (curl error 18: partial file) are automatically retried.
Locally tested: ldd shows only libstdc++/libm/libgcc_s/libc; live inference
against a test image produces a correct description.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments