mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2025-02-22 15:40:02 +00:00
ggml : fix bug in LBFGS optimizer (found by ggml tests)
This commit is contained in:
parent
ba4e85a833
commit
18b35625c3
1 changed files with 0 additions and 1 deletions
1
ggml.c
1
ggml.c
|
@ -18237,7 +18237,6 @@ GGML_API void ggml_opt_init(
|
|||
ggml_set_zero(opt->lbfgs.g);
|
||||
ggml_set_zero(opt->lbfgs.gp);
|
||||
ggml_set_zero(opt->lbfgs.d);
|
||||
ggml_set_zero(opt->lbfgs.pf);
|
||||
if (opt->lbfgs.pf) {
|
||||
ggml_set_zero(opt->lbfgs.pf);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue