Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
3367b5f3
Unverified
Commit
3367b5f3
authored
Jan 05, 2024
by
Bruce MacDonald
Committed by
GitHub
Jan 05, 2024
Browse files
remove unused generate patches (#1810)
parent
46edbbc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
llm/generate/gen_common.sh
llm/generate/gen_common.sh
+0
-1
llm/generate/gen_windows.ps1
llm/generate/gen_windows.ps1
+0
-1
No files found.
llm/generate/gen_common.sh
View file @
3367b5f3
...
...
@@ -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
...
...
llm/generate/gen_windows.ps1
View file @
3367b5f3
...
...
@@ -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"
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment