]> git.djapps.eu Git - pkg/ggml/sources/whisper.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>
Thu, 3 Oct 2024 09:22:17 +0000 (12:22 +0300)
commit0ac6666cd22af83744ca777da3663da2865c7a25
treebba550e805a09756caff7312b1b00c1894a3c0a5
parent6c91da80b8088b005ab23d1e7d6d97d991b22907
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