From 3367b5f3df1a6e771253c224e0716a69379ab60c Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Fri, 5 Jan 2024 11:25:45 -0500 Subject: [PATCH] remove unused generate patches (#1810) --- llm/generate/gen_common.sh | 1 - llm/generate/gen_windows.ps1 | 1 - 2 files changed, 2 deletions(-) diff --git a/llm/generate/gen_common.sh b/llm/generate/gen_common.sh index 5ff37cff..ac91f1aa 100644 --- a/llm/generate/gen_common.sh +++ b/llm/generate/gen_common.sh @@ -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 diff --git a/llm/generate/gen_windows.ps1 b/llm/generate/gen_windows.ps1 index 8675ae43..9435fffa 100644 --- a/llm/generate/gen_windows.ps1 +++ b/llm/generate/gen_windows.ps1 @@ -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") {