From ab0668293cbfc2188b736d4c2b7dc0b7b997f5bf Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Fri, 6 Oct 2023 14:39:54 -0700 Subject: [PATCH] llm: fix build on `amd64` --- llm/llama.cpp/generate_darwin_amd64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm/llama.cpp/generate_darwin_amd64.go b/llm/llama.cpp/generate_darwin_amd64.go index ea976cb8..72ea715a 100644 --- a/llm/llama.cpp/generate_darwin_amd64.go +++ b/llm/llama.cpp/generate_darwin_amd64.go @@ -15,4 +15,4 @@ package llm //go:generate git -C gguf apply ../patches/0001-remove-warm-up-logging.patch //go:generate cmake -S gguf -B gguf/build/cpu -DLLAMA_ACCELERATE=on -DLLAMA_K_QUANTS=on -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 //go:generate cmake --build gguf/build/cpu --target server --config Release -//go:generate mv gguf/build/metal/bin/server gguf/build/metal/bin/ollama-runner +//go:generate mv gguf/build/cpu/bin/server gguf/build/cpu/bin/ollama-runner