aboutsummaryrefslogtreecommitdiff
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 0c220e4..aaf5f0a 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -150,8 +150,8 @@ struct llama_model {
std::vector<uint8_t> buf;
// model memory mapped file
- void * mm_addr;
- size_t mm_length;
+ void * mm_addr = NULL;
+ size_t mm_length = 0;
// tensors
int n_loaded;