Skip to content

Commit 69805cf

Browse files
committed
kv-cache : split implementation in separate sources
ggml-ci
1 parent e15898d commit 69805cf

11 files changed

+3714
-3674
lines changed

src/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ add_library(llama
2121
llama-impl.cpp
2222
llama-io.cpp
2323
llama-kv-cache.cpp
24+
llama-kv-cache-unified.cpp
25+
llama-kv-cache-unified-iswa.cpp
26+
llama-kv-cache-recurrent.cpp
2427
llama-memory.cpp
2528
llama-mmap.cpp
2629
llama-model-loader.cpp

src/llama-graph.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
#include "llama-impl.h"
44
#include "llama-batch.h"
55
#include "llama-cparams.h"
6-
#include "llama-kv-cache.h"
6+
7+
#include "llama-kv-cache-unified.h"
8+
#include "llama-kv-cache-unified-iswa.h"
9+
#include "llama-kv-cache-recurrent.h"
710

811
#include <cassert>
912
#include <cmath>

0 commit comments

Comments
 (0)