]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml: fix gradient allocation logic (ggml/966)
authorJohannes Gäßler <redacted>
Sun, 29 Sep 2024 21:18:02 +0000 (23:18 +0200)
committerGeorgi Gerganov <redacted>
Tue, 1 Oct 2024 13:07:38 +0000 (16:07 +0300)
commit7254cdf7e8d6312840509ca8d766358c687c6266
tree9c355f90960425e72d23ee8fe844c7791cba4f7a
parentcad341d88924788b940997c55e7bef000c99e784
ggml: fix gradient allocation logic (ggml/966)

* ggml: fix gradient allocation logic

* gradient allocation in ggml_build_backward_expand

* fixup

* fix test-backend-ops grad

* suggestions by slaren

* fix test1.c

* fix legacy opt API

* fix test-grad0

* remove keep arg
ggml/include/ggml.h
ggml/src/ggml.c
tests/test-backend-ops.cpp
tests/test-grad0.cpp