Skip to content

Commit 4825487

Browse files
authored
releases : use dl backend for linux release, remove arm64 linux release (#13996)
1 parent 3ac6753 commit 4825487

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,9 @@ jobs:
131131
include:
132132
- build: 'x64'
133133
os: ubuntu-22.04
134-
- build: 'arm64'
135-
os: ubuntu-22.04-arm
134+
# GGML_BACKEND_DL and GGML_CPU_ALL_VARIANTS are not currently supported on arm
135+
# - build: 'arm64'
136+
# os: ubuntu-22.04-arm
136137

137138
runs-on: ${{ matrix.os }}
138139

@@ -159,6 +160,9 @@ jobs:
159160
id: cmake_build
160161
run: |
161162
cmake -B build \
163+
-DGGML_BACKEND_DL=ON \
164+
-DGGML_NATIVE=OFF \
165+
-DGGML_CPU_ALL_VARIANTS=ON \
162166
-DLLAMA_FATAL_WARNINGS=ON \
163167
${{ env.CMAKE_ARGS }}
164168
cmake --build build --config Release -j $(nproc)
@@ -207,6 +211,9 @@ jobs:
207211
id: cmake_build
208212
run: |
209213
cmake -B build \
214+
-DGGML_BACKEND_DL=ON \
215+
-DGGML_NATIVE=OFF \
216+
-DGGML_CPU_ALL_VARIANTS=ON \
210217
-DGGML_VULKAN=ON \
211218
${{ env.CMAKE_ARGS }}
212219
cmake --build build --config Release -j $(nproc)

ggml/src/ggml-cpu/ops.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8132,8 +8132,8 @@ static void ggml_compute_forward_rwkv_wkv6_f32(
81328132
#define WKV_VECTOR_SIZE 4
81338133
#endif
81348134

8135-
int wkv_vector_size;
81368135
#ifdef WKV_VECTOR_SIZE
8136+
int wkv_vector_size;
81378137
#if defined(__ARM_FEATURE_SVE)
81388138
wkv_vector_size = svcntw();
81398139
#else
@@ -8348,8 +8348,8 @@ static void ggml_compute_forward_gla_f32(
83488348
#define GLA_VECTOR_SIZE 4
83498349
#endif
83508350

8351-
int gla_vector_size;
83528351
#ifdef GLA_VECTOR_SIZE
8352+
int gla_vector_size;
83538353
#if defined(__ARM_FEATURE_SVE)
83548354
gla_vector_size = svcntw();
83558355
#else

0 commit comments

Comments
 (0)