-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
When attempting to use the multimodal bindings to run vision models, the build fails.
With Cargo.toml as below:
llama-cpp-2 = { version = "0.1.121", features = ["mtmd"] }
cargo build
fails with the following stderr output
--- stderr
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
CMake Warning at common/CMakeLists.txt:32 (message):
Git repository not found; to enable automatic generation of build info,
make sure Git is installed and the project is a Git repository.
CMake Error at CMakeLists.txt:206 (add_subdirectory):
The source directory
/home/tobias/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/llama-cpp-sys-2-0.1.121/llama.cpp/tools
does not contain a CMakeLists.txt file.
thread 'main' panicked at /home/tobias/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119:5:
command did not execute successfully, got: exit status: 1
build script failed, must exit now
Git is installed, and the build succeeds as expected without the "mtmd" feature flag
Metadata
Metadata
Assignees
Labels
No labels