Skip to content

Commit

Permalink
remove unused generate patches (ollama#1810)
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceMacD authored Jan 5, 2024
1 parent 46edbbc commit 3367b5f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion llm/generate/gen_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

init_vars() {
LLAMACPP_DIR=../llama.cpp
PATCHES="0001-Expose-callable-API-for-server.patch"
CMAKE_DEFS=""
CMAKE_TARGETS="--target ggml --target ggml_static --target llama --target build_info --target common --target ext_server --target llava_static"
if echo "${CGO_CFLAGS}" | grep -- '-g' >/dev/null; then
Expand Down
1 change: 0 additions & 1 deletion llm/generate/gen_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ $ErrorActionPreference = "Stop"

function init_vars {
$script:llamacppDir = "../llama.cpp"
$script:patches = @("0001-Expose-callable-API-for-server.patch")
$script:cmakeDefs = @("-DBUILD_SHARED_LIBS=on", "-DLLAMA_NATIVE=off", "-DLLAMA_F16C=off", "-DLLAMA_FMA=off", "-DLLAMA_AVX512=off", "-DLLAMA_AVX2=off", "-DLLAMA_AVX=on", "-A","x64")
$script:cmakeTargets = @("ggml", "ggml_static", "llama", "build_info", "common", "ext_server_shared", "llava_static")
if ($env:CGO_CFLAGS -contains "-g") {
Expand Down

0 comments on commit 3367b5f

Please sign in to comment.