ggml: new optimization interface (ggml/988)

* ggml: new optimization interface

remove test2.c, test3.c

store adamw params in tensor

move grads from tensor to graph

* avoid segfault upon API misuse

* add ggml-opt.h to public headers

* remove dependence of ggml-opt.cpp on ggml-cpu.h
This commit is contained in:
Johannes Gäßler
2024-11-16 13:49:35 +01:00
committed by Georgi Gerganov
parent 6a55015dc4
commit c9541741e6
12 changed files with 1756 additions and 1471 deletions

File diff suppressed because it is too large Load Diff