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
a624e672
Unverified
Commit
a624e672
authored
Apr 03, 2024
by
Daniel Hiltgen
Committed by
GitHub
Apr 03, 2024
Browse files
Merge pull request #3479 from dhiltgen/ci_fixes
Fix CI release glitches
parents
a0a15cfd
e4a7e5b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
.github/workflows/release.yaml
.github/workflows/release.yaml
+7
-7
llm/generate/gen_darwin.sh
llm/generate/gen_darwin.sh
+1
-1
No files found.
.github/workflows/release.yaml
View file @
a624e672
...
@@ -99,7 +99,7 @@ jobs:
...
@@ -99,7 +99,7 @@ jobs:
-
uses
:
actions/upload-artifact@v4
-
uses
:
actions/upload-artifact@v4
with
:
with
:
name
:
generate-windows-cpu
name
:
generate-windows-cpu
path
:
llm/
llama.cpp/
build/**/lib/*
path
:
llm/build/**/lib/*
# ROCm generation step
# ROCm generation step
generate-windows-rocm
:
generate-windows-rocm
:
...
@@ -170,7 +170,7 @@ jobs:
...
@@ -170,7 +170,7 @@ jobs:
-
uses
:
actions/upload-artifact@v4
-
uses
:
actions/upload-artifact@v4
with
:
with
:
name
:
generate-windows-rocm
name
:
generate-windows-rocm
path
:
llm/
llama.cpp/
build/**/lib/*
path
:
llm/build/**/lib/*
-
uses
:
actions/upload-artifact@v4
-
uses
:
actions/upload-artifact@v4
with
:
with
:
name
:
windows-rocm-deps
name
:
windows-rocm-deps
...
@@ -250,7 +250,7 @@ jobs:
...
@@ -250,7 +250,7 @@ jobs:
-
uses
:
actions/upload-artifact@v4
-
uses
:
actions/upload-artifact@v4
with
:
with
:
name
:
generate-windows-cuda
name
:
generate-windows-cuda
path
:
llm/
llama.cpp/
build/**/lib/*
path
:
llm/build/**/lib/*
-
uses
:
actions/upload-artifact@v4
-
uses
:
actions/upload-artifact@v4
with
:
with
:
name
:
windows-cuda-deps
name
:
windows-cuda-deps
...
@@ -303,11 +303,11 @@ jobs:
...
@@ -303,11 +303,11 @@ jobs:
-
uses
:
actions/download-artifact@v4
-
uses
:
actions/download-artifact@v4
with
:
with
:
name
:
generate-windows-cpu
name
:
generate-windows-cpu
path
:
llm/
llama.cpp/
build
path
:
llm/build
-
uses
:
actions/download-artifact@v4
-
uses
:
actions/download-artifact@v4
with
:
with
:
name
:
generate-windows-cuda
name
:
generate-windows-cuda
path
:
llm/
llama.cpp/
build
path
:
llm/build
-
uses
:
actions/download-artifact@v4
-
uses
:
actions/download-artifact@v4
with
:
with
:
name
:
windows-cuda-deps
name
:
windows-cuda-deps
...
@@ -319,8 +319,8 @@ jobs:
...
@@ -319,8 +319,8 @@ jobs:
-
uses
:
actions/download-artifact@v4
-
uses
:
actions/download-artifact@v4
with
:
with
:
name
:
generate-windows-rocm
name
:
generate-windows-rocm
path
:
llm/
llama.cpp/
build
path
:
llm/build
-
run
:
dir llm/
llama.cpp/
build
-
run
:
dir llm/build
-
run
:
|
-
run
:
|
$gopath=(get-command go).source | split-path -parent
$gopath=(get-command go).source | split-path -parent
& "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\Launch-VsDevShell.ps1"
& "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\Launch-VsDevShell.ps1"
...
...
llm/generate/gen_darwin.sh
View file @
a624e672
...
@@ -74,7 +74,7 @@ case "${GOARCH}" in
...
@@ -74,7 +74,7 @@ case "${GOARCH}" in
# Static build for linking into the Go binary
# Static build for linking into the Go binary
init_vars
init_vars
CMAKE_TARGETS
=
"--target llama --target ggml"
CMAKE_TARGETS
=
"--target llama --target ggml"
CMAKE_DEFS
=
"-DCMAKE_OSX_DEPLOYMENT_TARGET=11.3 -DCMAKE_SYSTEM_NAME=Darwin -DBUILD_SHARED_LIBS=off -DLLAMA_METAL=off -DLLAMA_ACCELERATE=off -DLLAMA_AVX=off -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=off
${
CMAKE_DEFS
}
"
CMAKE_DEFS
=
"-DCMAKE_OSX_DEPLOYMENT_TARGET=11.3 -DCMAKE_SYSTEM_NAME=Darwin -DBUILD_SHARED_LIBS=off
-DCMAKE_SYSTEM_PROCESSOR=
${
ARCH
}
-DCMAKE_OSX_ARCHITECTURES=
${
ARCH
}
-DLLAMA_METAL=off -DLLAMA_ACCELERATE=off -DLLAMA_AVX=off -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=off
${
CMAKE_DEFS
}
"
BUILD_DIR
=
"../build/darwin/
${
ARCH
}
_static"
BUILD_DIR
=
"../build/darwin/
${
ARCH
}
_static"
echo
"Building static library"
echo
"Building static library"
build
build
...
...
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