Add bin subdirectory to updated llama.cpp path

By doing this, both the binary and the libs will be in the updated-inference directory.

Signed-off-by: Dorin Geman <dorin.geman@docker.com>
This commit is contained in:
Dorin Geman 2025-05-30 15:40:37 +03:00
parent 423e1d6d1b
commit 37cb60ff21
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ model-runner
model-runner.sock
# Default MODELS_PATH in Makefile
models-store/
# Directory where we store the updated llama.cpp
updated-inference/

View File

@ -64,7 +64,7 @@ func main() {
llamaServerPath,
func() string {
wd, _ := os.Getwd()
d := filepath.Join(wd, "updated-inference")
d := filepath.Join(wd, "updated-inference", "bin")
_ = os.MkdirAll(d, 0o755)
return d
}(),