From: Georgi Gerganov Date: Mon, 19 Jun 2023 17:43:12 +0000 (+0300) Subject: ggml : fix bug in LBFGS optimizer X-Git-Tag: upstream/0.0.1642~1400 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=169ff7b6c0cd6e9ba3dce65423c8fc1a1216e948;p=pkg%2Fggml%2Fsources%2Fggml ggml : fix bug in LBFGS optimizer --- diff --git a/src/ggml.c b/src/ggml.c index 14e08f9d..4319683f 100644 --- a/src/ggml.c +++ b/src/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); }