]> git.djapps.eu Git - pkg/ggml/sources/llama.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>
Fri, 7 Mar 2025 12:49:44 +0000 (14:49 +0200)
commitd6ae2fa06139e496880cbf65197c84341e9d98e7
treed2c7e6a3c9a5cfb2f135b2625dfe1a9192f4b3f9
parent68d0027f3d19eb579c1863814c91e37ffa699014
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