Skip to content

LLM inference in C/C++

C++ ggml

tests(s390x): add non-vxe build to tests (#28776)

Aaron Teobe2c6d7d1ff0
diff --git a/.github/workflows/build-ibm.yml b/.github/workflows/build-ibm.yml
index d2e4f3cdae..355487e97b 100644
--- a/.github/workflows/build-ibm.yml
+++ b/.github/workflows/build-ibm.yml
@@ -34,10 +34,15 @@ env:
LLAMA_ARG_LOG_TIMESTAMPS: 1
jobs:
-
ubuntu-24-s390x:
+ name: ubuntu-24-s390x (VXE ${{ matrix.vxe }})
runs-on: ubuntu-24.04-s390x
+ strategy:
+ fail-fast: false
+ matrix:
+ vxe: ["ON", "OFF"] # `-DGGML_VXE=ON/OFF`
+
steps:
- name: Clone
id: checkout
@@ -77,7 +82,8 @@ jobs:
run: |
cmake -B build \
-DLLAMA_FATAL_WARNINGS=ON \
- -DGGML_RPC=ON
+ -DGGML_RPC=ON \
+ -DGGML_VXE=${{ matrix.vxe }}
time cmake --build build --config Release -j $(nproc)
- name: Test
diff --git a/ggml/src/ggml-cpu/arch/s390/quants.c b/ggml/src/ggml-cpu/arch/s390/quants.c
index 70f2882d83..52344828e3 100644
--- a/ggml/src/ggml-cpu/arch/s390/quants.c
+++ b/ggml/src/ggml-cpu/arch/s390/quants.c
@@ -417,6 +417,7 @@ void ggml_vec_dot_mxfp4_q8_0(int n, float * GGML_RESTRICT s, size_t bs, const vo
sumf = vec_hsum_f32x4(v_acc);
*s = sumf;
#else
+ UNUSED(nb);
UNUSED(x);
UNUSED(y);
UNUSED(ib);