Fix uninitialized var causing crash on Windows using MSVC.

This commit is contained in:
DAN™ 2023-06-16 19:16:30 -04:00
parent d411968e99
commit 8ec0d382d4

View file

@ -195,7 +195,7 @@ struct llama_model {
// key + value cache for the self attention
// TODO: move to llama_state
struct llama_kv_cache kv_self;
struct llama_kv_cache kv_self = {};
// the model memory buffer
llama_ctx_buffer buf;