]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ggml-cpu: Update KleidiAI to v1.6 and fix include directives (#13509)
authorDan Johansson <redacted>
Tue, 13 May 2025 15:02:28 +0000 (17:02 +0200)
committerGitHub <redacted>
Tue, 13 May 2025 15:02:28 +0000 (18:02 +0300)
Signed-off-by: Dan Johansson <redacted>
ggml/src/ggml-cpu/CMakeLists.txt
ggml/src/ggml-cpu/kleidiai/kernels.h
ggml/src/ggml-cpu/kleidiai/kleidiai.cpp

index bdaec2881ddc32b0eebf920bfecb17098829e04c..1d4259dae5ba7f4df5c646cc5b29326cd2d079f0 100644 (file)
@@ -385,9 +385,9 @@ function(ggml_add_cpu_backend_variant_impl tag_name)
 
         # Fetch KleidiAI sources:
         include(FetchContent)
-        set(KLEIDIAI_COMMIT_TAG "v1.5.0")
+        set(KLEIDIAI_COMMIT_TAG "v1.6.0")
         set(KLEIDIAI_DOWNLOAD_URL "https://github.com/ARM-software/kleidiai/archive/refs/tags/${KLEIDIAI_COMMIT_TAG}.tar.gz")
-        set(KLEIDIAI_ARCHIVE_MD5  "ea22e1aefb800e9bc8c74d91633cc58e")
+        set(KLEIDIAI_ARCHIVE_MD5  "75b4ad68f25ab673dcc01065e5a0b05f")
 
         if (POLICY CMP0135)
             cmake_policy(SET CMP0135 NEW)
index 5ac02bda7c0187ca3a5e9f4d90e82af3301cc605..3b268d4a22acad18d05b026881fface70ee0424a 100644 (file)
@@ -5,6 +5,7 @@
 #pragma once
 
 #include <functional>
+#include <variant>
 #include "ggml.h"
 
 enum cpu_feature {
index f3dffdd6bf5d3ab6f47472a037c599974b6cf75f..15f0cd15406860f88b9f5399e4244537e0bd79a6 100644 (file)
@@ -3,7 +3,9 @@
 //
 #include <arm_neon.h>
 #include <assert.h>
+#include <atomic>
 #include <cfloat>
+#include <stdexcept>
 #include <stdint.h>
 #include <string.h>
 #if defined(__linux__)