From ddc0d15bde47a2dd7ae03546447ae73dc681a698 Mon Sep 17 00:00:00 2001 From: Andrei Date: Sat, 13 Jun 2026 12:36:30 -0700 Subject: [PATCH 1/2] chore: bump version to 0.3.29 (#2302) --- CHANGELOG.md | 2 ++ llama_cpp/__init__.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 905245e8a..56c5ffb55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.29] + - feat(example): use MTMD batch encoding by @abetlen in #2301 - feat(example): support server video inputs and Gemma text tool calls by @abetlen in #2291 - feat: update llama.cpp to ggml-org/llama.cpp@f05cf4676 diff --git a/llama_cpp/__init__.py b/llama_cpp/__init__.py index 13668893f..42f807ef6 100644 --- a/llama_cpp/__init__.py +++ b/llama_cpp/__init__.py @@ -1,4 +1,4 @@ from .llama_cpp import * from .llama import * -__version__ = "0.3.28" +__version__ = "0.3.29" From e8070920c165b678ed0fb5255fbcc7e81bf8f5db Mon Sep 17 00:00:00 2001 From: Andrei Date: Sat, 13 Jun 2026 13:19:32 -0700 Subject: [PATCH 2/2] fix(ci): skip mtmd CLI wrappers in package builds (#2303) --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b2744cdc..623ab2162 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -176,6 +176,15 @@ if (LLAMA_BUILD) # Building llava add_subdirectory(vendor/llama.cpp/tools/mtmd) + # The Python package only ships mtmd as a shared library. + # Upstream mtmd also defines CLI compatibility wrappers, but those are + # not installed here and can fail to link in minimal Docker toolchains. + foreach(target llama-llava-cli llama-gemma3-cli llama-minicpmv-cli llama-qwen2vl-cli llama-mtmd-debug) + if (TARGET ${target}) + set_target_properties(${target} PROPERTIES EXCLUDE_FROM_ALL TRUE) + endif() + endforeach() + if (WIN32) set_target_properties(mtmd PROPERTIES CUDA_ARCHITECTURES OFF) endif()