Explorar o código

ggml : fix bug in LBFGS optimizer (found by ggml tests)

Georgi Gerganov %!s(int64=2) %!d(string=hai) anos
pai
achega
18b35625c3
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      ggml.c

+ 0 - 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);
                 }