]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ci : added kleidiai-server to server-self-hosted workflow (#22435)
authorMartin Klacer <redacted>
Mon, 18 May 2026 09:14:57 +0000 (10:14 +0100)
committerGitHub <redacted>
Mon, 18 May 2026 09:14:57 +0000 (11:14 +0200)
* kleidiai: added kleidiai-server to server-self-hosted workflow

 * Added KleidiAI-enabled Arm64 Linux llama-server CI/integration test
   workflow into the server-self-hosted.yml configuration file

Signed-off-by: Martin Klacer <redacted>
Change-Id: I032e33c525b7e26bc5d53719f638bee610cec1ee

* Added self-hosted executor for KleidiAI server workflow

Signed-off-by: Martin Klacer <redacted>
* Update .github/workflows/server-self-hosted.yml

Co-authored-by: Sigbjørn Skjæret <redacted>
---------

Signed-off-by: Martin Klacer <redacted>
Co-authored-by: Sigbjørn Skjæret <redacted>
.github/workflows/server-self-hosted.yml

index d3b3e4cc7e82f2d74ff485a8e3f409ec38d4547d..d06ad3d24c5576f4b5b8d0e4de142b511146f3c1 100644 (file)
@@ -130,3 +130,41 @@ jobs:
   #          pip install -r requirements.txt
   #          export ${{ matrix.extra_args }}
   #          pytest -v -x -m "not slow"
+
+  server-kleidiai:
+    runs-on: ah-ubuntu_22_04-c8g_8x
+
+    name: server-kleidiai (${{ matrix.wf_name }})
+    strategy:
+      matrix:
+        include:
+          - build_type: Release
+            extra_build_flags: "-DGGML_CPU_KLEIDIAI=ON"
+            extra_args: ""
+            wf_name:    "CPUx1, kleidiai"
+      fail-fast: false
+
+    steps:
+      - name: Clone
+        id: checkout
+        uses: actions/checkout@v6
+        with:
+          fetch-depth: 0
+          ref: ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha || github.head_ref || github.ref_name }}
+
+      - name: Build
+        id: cmake_build
+        run: |
+          cmake -B build -DGGML_SCHED_NO_REALLOC=ON ${{ matrix.extra_build_flags }}
+          cmake --build build --config ${{ matrix.build_type }} -j $(nproc) --target llama-server
+
+      - name: Tests
+        id: server_integration_tests
+        if: ${{ (!matrix.disabled_on_pr || !github.event.pull_request) }}
+        run: |
+          cd tools/server/tests
+          python3 -m venv venv
+          source venv/bin/activate
+          pip install -r requirements.txt
+          export ${{ matrix.extra_args }}
+          pytest -v -x -m "not slow"