summaryrefslogtreecommitdiff
path: root/llama.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp')
-rw-r--r--llama.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llama.cpp b/llama.cpp
index f48a6ca7..7419b03b 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -194,8 +194,8 @@ struct llama_layer {
};
struct llama_kv_cache {
- struct ggml_tensor * k;
- struct ggml_tensor * v;
+ struct ggml_tensor * k = NULL;
+ struct ggml_tensor * v = NULL;
struct ggml_context * ctx = NULL;