]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml: fix gradient allocation logic (#966)
authorJohannes Gäßler <redacted>
Sun, 29 Sep 2024 21:18:02 +0000 (23:18 +0200)
committerGitHub <redacted>
Sun, 29 Sep 2024 21:18:02 +0000 (23:18 +0200)
commit6fe608e03109b7d895e3e496dcdfc10e0a0537b1
treec75aeab99736593df527eebd0e0fc4f2f88d869f
parent60ef0eeb17858ba0200ab8bb3fbc3de8b07b4f3b
ggml: fix gradient allocation logic (#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
examples/mnist/mnist-common.cpp
include/ggml.h
src/ggml.c
tests/test-backend-ops.cpp
tests/test-grad0.cpp
tests/test-mul-mat0.c
tests/test1.c