diff --git a/common/common.h b/common/common.h index 03abb3b6e..d9a300271 100644 --- a/common/common.h +++ b/common/common.h @@ -80,8 +80,8 @@ struct gpt_params { int32_t yarn_orig_ctx = 0; // YaRN original context length float defrag_thold = -1.0f; // KV cache defragmentation threshold - ggml_backend_sched_eval_callback cb_eval; - void * cb_eval_user_data; + ggml_backend_sched_eval_callback cb_eval = nullptr; + void * cb_eval_user_data = nullptr; ggml_numa_strategy numa = GGML_NUMA_STRATEGY_DISABLED;