]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : ggml_compute_forward_concat() for arbitrary tensor type (#1118)
authorvmobilis <redacted>
Fri, 7 Mar 2025 08:11:40 +0000 (11:11 +0300)
committerGitHub <redacted>
Fri, 7 Mar 2025 08:11:40 +0000 (10:11 +0200)
commitc7dfe3d174f98b14801f9ed12f129179d3e7b638
treea8e95e243c1dbfd6281b3eb57bd2077a4ef8e48a
parentc6a6a64349a813b3c104444bdda785148caf0218
ggml : ggml_compute_forward_concat() for arbitrary tensor type (#1118)

* ggml_compute_forward_concat() for arbitrary tensor type

* Check that tensors' type match

* ggml-cpu.c: check type of source tensors

* ggml-cpu.c: move tensor type check to ggml_compute_forward_concat()

* ggml.c: check concatenated tensor type

* Remove tensor type check from ggml_compute_forward_concat() in ggml-cpu.c

..., as it was moved to ggml.c.
src/ggml-cpu/ggml-cpu.c
src/ggml.c