Fix uninitialized var causing crash on Windows using MSVC.
This commit is contained in:
parent
d411968e99
commit
8ec0d382d4
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ struct llama_model {
|
||||||
|
|
||||||
// key + value cache for the self attention
|
// key + value cache for the self attention
|
||||||
// TODO: move to llama_state
|
// TODO: move to llama_state
|
||||||
struct llama_kv_cache kv_self;
|
struct llama_kv_cache kv_self = {};
|
||||||
|
|
||||||
// the model memory buffer
|
// the model memory buffer
|
||||||
llama_ctx_buffer buf;
|
llama_ctx_buffer buf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue