SIGN IN SIGN UP

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
J
Johannes Gäßler committed
7254cdf7e8d6312840509ca8d766358c687c6266
Parent: cad341d
Committed by Georgi Gerganov <ggerganov@gmail.com> on 10/1/2024, 1:07:38 PM