mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-09 15:29:43 +00:00
Always initialize mm_addr and mm_length in llama_model
This commit is contained in:
parent
276e5b7811
commit
ac184d5147
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue