diff --git a/CHANGELOG.md b/CHANGELOG.md index ba3f748f56..db9c0bcabd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- fix: use env var configured multimodal library override paths when loading shared libraries by @navratil-matej in #1782 - feat: add Jinja2 loop controls to chat templates by @handshape in #2018 - fix: avoid cleanup errors for partially initialized `LlamaModel` objects by @usernames122 in #2173 - fix: suppress stdout and stderr in Jupyter notebooks by @Anai-Guo in #2181 diff --git a/llama_cpp/llava_cpp.py b/llama_cpp/llava_cpp.py index 3dc96d2f25..ea9b216f7d 100644 --- a/llama_cpp/llava_cpp.py +++ b/llama_cpp/llava_cpp.py @@ -39,7 +39,7 @@ _libllava_base_path = ( pathlib.Path(os.path.abspath(os.path.dirname(__file__))) / "lib" if _libllava_override_path is None - else pathlib.Path() + else pathlib.Path(_libllava_override_path) ) # Load the library diff --git a/llama_cpp/mtmd_cpp.py b/llama_cpp/mtmd_cpp.py index f2b0ed2dea..8c2ebbfef4 100644 --- a/llama_cpp/mtmd_cpp.py +++ b/llama_cpp/mtmd_cpp.py @@ -43,7 +43,7 @@ _libmtmd_base_path = ( pathlib.Path(os.path.abspath(os.path.dirname(__file__))) / "lib" if _libmtmd_override_path is None - else pathlib.Path() + else pathlib.Path(_libmtmd_override_path) ) # Load the library