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/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() 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"