]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
tests: add gradient tests for all backends (ggml/932)
authorJohannes Gäßler <redacted>
Tue, 3 Sep 2024 15:21:46 +0000 (17:21 +0200)
committerGeorgi Gerganov <redacted>
Tue, 24 Sep 2024 16:45:08 +0000 (19:45 +0300)
commit5d6dc19f04bafa27bb4804d3d2d6c1ec51e2935f
treef0d14a9032ca01446afd380c824c38e4b80b247b
parent34972dbe221709323714fc8402f2e24041d48213
tests: add gradient tests for all backends (ggml/932)

* tests: add gradient checking to test-backend-ops

* remove old comment

* reorder includes

* adjust SIN/COS parameters

* add documentation, use supports_op if possible
ggml/include/ggml.h
ggml/src/ggml-backend.c
ggml/src/ggml-cuda.cu
ggml/src/ggml-cuda/cross-entropy-loss.cu
ggml/src/ggml-cuda/sum.cu [new file with mode: 0644]
ggml/src/ggml-cuda/sum.cuh [new file with mode: 0644]
ggml/src/ggml-cuda/unary.cu
ggml/src/ggml-cuda/unary.cuh
ggml/src/ggml.c