]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml : ggml_compute_forward_concat() for arbitrary tensor type (ggml/1118)
authorvmobilis <redacted>
Fri, 7 Mar 2025 08:11:40 +0000 (11:11 +0300)
committerGeorgi Gerganov <redacted>
Sat, 8 Mar 2025 13:13:01 +0000 (15:13 +0200)
commitcc03608e78108f8e0bbbbaf813b661c1a43f087d
tree4051c3f5947d0600c27a4bc4f991c25658cfbe25
parent54a54faee4650f098c44d07b67e0889026c6e946
ggml : ggml_compute_forward_concat() for arbitrary tensor type (ggml/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.
ggml/src/ggml-cpu/ggml-cpu.c
ggml/src/ggml.c