Revert "Always initialize mm_addr and mm_length in llama_model"

This reverts commit ac184d5147.
This commit is contained in:
anzz1 2023-04-02 15:39:46 +03:00
parent c94f7e98c1
commit 9569171712

View file

@ -150,8 +150,8 @@ struct llama_model {
std::vector<uint8_t> buf;
// model memory mapped file
void * mm_addr = NULL;
size_t mm_length = 0;
void * mm_addr;
size_t mm_length;
// tensors
int n_loaded;