releases : use dl backend for linux release, remove arm64 linux release (#13996)

This commit is contained in:
Diego Devesa
2025-06-04 04:15:54 -07:00
committed by GitHub
parent 3ac67535c8
commit 482548716f
2 changed files with 11 additions and 4 deletions

View File

@ -131,8 +131,9 @@ jobs:
include: include:
- build: 'x64' - build: 'x64'
os: ubuntu-22.04 os: ubuntu-22.04
- build: 'arm64' # GGML_BACKEND_DL and GGML_CPU_ALL_VARIANTS are not currently supported on arm
os: ubuntu-22.04-arm # - build: 'arm64'
# os: ubuntu-22.04-arm
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -159,6 +160,9 @@ jobs:
id: cmake_build id: cmake_build
run: | run: |
cmake -B build \ cmake -B build \
-DGGML_BACKEND_DL=ON \
-DGGML_NATIVE=OFF \
-DGGML_CPU_ALL_VARIANTS=ON \
-DLLAMA_FATAL_WARNINGS=ON \ -DLLAMA_FATAL_WARNINGS=ON \
${{ env.CMAKE_ARGS }} ${{ env.CMAKE_ARGS }}
cmake --build build --config Release -j $(nproc) cmake --build build --config Release -j $(nproc)
@ -207,6 +211,9 @@ jobs:
id: cmake_build id: cmake_build
run: | run: |
cmake -B build \ cmake -B build \
-DGGML_BACKEND_DL=ON \
-DGGML_NATIVE=OFF \
-DGGML_CPU_ALL_VARIANTS=ON \
-DGGML_VULKAN=ON \ -DGGML_VULKAN=ON \
${{ env.CMAKE_ARGS }} ${{ env.CMAKE_ARGS }}
cmake --build build --config Release -j $(nproc) cmake --build build --config Release -j $(nproc)

View File

@ -8132,8 +8132,8 @@ static void ggml_compute_forward_rwkv_wkv6_f32(
#define WKV_VECTOR_SIZE 4 #define WKV_VECTOR_SIZE 4
#endif #endif
int wkv_vector_size;
#ifdef WKV_VECTOR_SIZE #ifdef WKV_VECTOR_SIZE
int wkv_vector_size;
#if defined(__ARM_FEATURE_SVE) #if defined(__ARM_FEATURE_SVE)
wkv_vector_size = svcntw(); wkv_vector_size = svcntw();
#else #else
@ -8348,8 +8348,8 @@ static void ggml_compute_forward_gla_f32(
#define GLA_VECTOR_SIZE 4 #define GLA_VECTOR_SIZE 4
#endif #endif
int gla_vector_size;
#ifdef GLA_VECTOR_SIZE #ifdef GLA_VECTOR_SIZE
int gla_vector_size;
#if defined(__ARM_FEATURE_SVE) #if defined(__ARM_FEATURE_SVE)
gla_vector_size = svcntw(); gla_vector_size = svcntw();
#else #else