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
This commit is contained in:
parent
cad341d889
commit
7254cdf7e8
4 changed files with 490 additions and 1065 deletions
1464
ggml/src/ggml.c
1464
ggml/src/ggml.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue