From: Georgi Gerganov Date: Tue, 28 May 2024 19:22:50 +0000 (+0300) Subject: sycl : fix assert (llama/7563) X-Git-Tag: upstream/0.0.1642~636 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=c05221843c9bfc766d21f14fb54540526d22dbbf;p=pkg%2Fggml%2Fsources%2Fggml sycl : fix assert (llama/7563) --- diff --git a/src/ggml-sycl.cpp b/src/ggml-sycl.cpp index 022a52ae..dccfe9eb 100644 --- a/src/ggml-sycl.cpp +++ b/src/ggml-sycl.cpp @@ -13567,7 +13567,7 @@ inline void ggml_sycl_op_concat(const ggml_tensor *src0, #pragma message("TODO: generalize concat kernel for dim != 2") #pragma message(" https://github.com/ggerganov/llama.cpp/pull/7563") int dim = dst->op_params[0]; - GGML_ASSERT(dim != 2); + GGML_ASSERT(dim == 2); GGML_ASSERT(src0->type == GGML_TYPE_F32); GGML_ASSERT(src1->type == GGML_TYPE_F32);