-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile Failed for llm-chain-llama-sys & llm-chain-llama #248
Comments
thread 'main' panicked at 'Failed to generate build script: Os { code: 2, kind: NotFound, message: "No such file or directory" }', crates/llm-chain-llama-sys/build.rs:105:30
thread 'main' panicked at 'Failed to generate build script: Os { code: 2, kind: NotFound, message: "No such file or directory" }', crates/llm-chain-llama-sys/build.rs:105:30
You are missing the git submodule, when you clone the repo add the |
I tried it again but the same result. I followed the instructions on llm-chain-llama-sys Contents of llama.cpp
Build Output
|
As a disclaimer, there may be a better way to fix this, but I'm not super familiar with git submodules... From within the llama.cpp submodule directory ( |
Still getting the same issue. |
@harshvishu I replicated this issue on my work Mac. If you are on a MacOS you should try running |
I submitted a PR for this. #270 |
Fix: Compile Failed for llm-chain-llama-sys & llm-chain-llama #248
When I tried to run an example or simply build. The code fails to compile with following output.
happening for both
llm-chain-llama-sys
&llm-chain-llama
env LLAMA_SAVE_BINDINGS=true RUST_BACKTRACE=full cargo build --release
System info: Darwin MacBook-Pro.local 23.1.0 Darwin Kernel Version 23.1.0; root:xnu-10002.41.9~6/RELEASE_ARM64_T6020 arm64
The text was updated successfully, but these errors were encountered: