File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 33
33
- aarch64-apple-darwin
34
34
- x86_64-manylinux_2_28
35
35
- x86_64-manylinux_2_28-cuda123
36
- - x86_64-windows-msvc
37
36
include :
38
37
- os : macos-latest
39
38
target : aarch64-apple-darwin
49
48
binary : x86_64-manylinux_2_28-cuda123
50
49
container : sameli/manylinux_2_28_x86_64_cuda_12.3@sha256:e12416bf249ab312f9dcfdebd7939b968dd6f1b6f810abbede818df875e86a7c
51
50
build_args : --features binary,cuda
52
- - os : windows-2022
53
- target : x86_64-pc-windows-msvc
54
- binary : x86_64-windows-msvc
55
- build_args : --features binary
56
- ext : .exe
57
51
58
52
env :
59
53
SCCACHE_GHA_ENABLED : true
@@ -235,13 +229,13 @@ jobs:
235
229
- name : Display structure of downloaded files
236
230
run : ls -R
237
231
238
- - name : Package CUDA 11.7 for Windows
232
+ - name : Package CPU for Windows
239
233
run : >
240
- LLAMA_CPP_PLATFORM=win-cuda-cu11.7- x64 OUTPUT_NAME=tabby_x86_64-windows-msvc-cuda117 ./ci/package-from-upstream.sh
234
+ LLAMA_CPP_PLATFORM=win-cpu- x64 OUTPUT_NAME=tabby_x86_64-windows-msvc ./ci/package-from-upstream.sh
241
235
242
236
- name : Package CUDA 12.4 for Windows
243
237
run : >
244
- LLAMA_CPP_PLATFORM=win-cuda-cu12 .4-x64 OUTPUT_NAME=tabby_x86_64-windows-msvc-cuda124 ./ci/package-from-upstream.sh
238
+ LLAMA_CPP_PLATFORM=win-cuda-12 .4-x64 OUTPUT_NAME=tabby_x86_64-windows-msvc-cuda124 ./ci/package-from-upstream.sh
245
239
246
240
- name : Package Vulkan for Windows
247
241
run : >
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ set -e
4
+
3
5
# get current bash file directory
4
6
PROJECT_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
5
7
LLAMA_CPP_PATH=" ${PROJECT_ROOT} /crates/llama-cpp-server/llama.cpp"
6
8
7
9
# Input variables
8
10
LLAMA_CPP_VERSION=${LLAMA_CPP_VERSION:- $(cd ${LLAMA_CPP_PATH} && git fetch --tags origin >/ dev/ null && git describe --tags --abbrev=0)}
9
11
echo " LLAMA_CPP_VERSION=${LLAMA_CPP_VERSION} "
10
- LLAMA_CPP_PLATFORM=${LLAMA_CPP_PLATFORM:- win-cuda-cu11.7-x64}
11
- OUTPUT_NAME=${OUTPUT_NAME:- tabby_x86_64-windows-msvc-cuda117}
12
+ LLAMA_CPP_PLATFORM=${LLAMA_CPP_PLATFORM:- win-cuda-cu12.4-x64}
12
13
13
- NAME=llama-${LLAMA_CPP_VERSION} -bin-${LLAMA_CPP_PLATFORM}
14
+ if [[ $LLAMA_CPP_PLATFORM == * cuda* ]]; then
15
+ NAME=cudart-llama-bin-${LLAMA_CPP_PLATFORM}
16
+ else
17
+ NAME=llama-${LLAMA_CPP_VERSION} -bin-${LLAMA_CPP_PLATFORM}
18
+ fi
14
19
ZIP_FILE=${NAME} .zip
15
20
21
+ OUTPUT_NAME=${OUTPUT_NAME:- tabby_x86_64-windows-msvc-cuda124}
22
+
16
23
if [[ ${LLAMA_CPP_PLATFORM} == win* ]]; then
17
24
TABBY_BINARY=${TABBY_BINARY:- tabby_x86_64-windows-msvc.exe}
18
25
TABBY_EXTENSION=.exe
You can’t perform that action at this time.
0 commit comments