common: fix cb_eval and user data not initialized
This commit is contained in:
parent
ca6f3ff4e0
commit
f3f0d1818f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue