Skip to content

Commit 593d1d5

Browse files
Update ggml/src/ggml-opt.cpp
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent ea20ed8 commit 593d1d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-opt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ void ggml_opt_fit(
10501050
params.opt_period = opt_period;
10511051
params.get_opt_pars = get_opt_pars;
10521052
params.get_opt_pars_ud = &epoch;
1053-
ggml_opt_context_t opt_ctx = ggml_opt_init(params); // sets params.opt_pars
1053+
ggml_opt_context_t opt_ctx = ggml_opt_init(params);
10541054

10551055
// Shuffling the data is generally useful but there is only a point if not all data is used in a single batch.
10561056
if (nbatch_logical < ndata) {

0 commit comments

Comments
 (0)