]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml: new optimization interface (ggml/988)
authorJohannes Gäßler <redacted>
Sat, 16 Nov 2024 12:49:35 +0000 (13:49 +0100)
committerGeorgi Gerganov <redacted>
Wed, 20 Nov 2024 19:00:08 +0000 (21:00 +0200)
commitc9541741e6f4efad21f92c330cc814abdb8828f2
tree1bf2b560914686e97f183d2985c06e0c5b895beb
parent6a55015dc44afdbbf386532ca4bcc1973a1faa8f
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
12 files changed:
ggml/include/ggml-backend.h
ggml/include/ggml-opt.h [new file with mode: 0644]
ggml/include/ggml.h
ggml/src/CMakeLists.txt
ggml/src/ggml-alloc.c
ggml/src/ggml-backend.cpp
ggml/src/ggml-cpu/ggml-cpu.c
ggml/src/ggml-cuda/opt-step-adamw.cu
ggml/src/ggml-impl.h
ggml/src/ggml-metal/ggml-metal.m
ggml/src/ggml-opt.cpp [new file with mode: 0644]
ggml/src/ggml.c