diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2024-05-28 22:22:50 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2024-05-28 22:22:50 +0300 |
commit | 6bd12ce409f949012935b7d1b15a21ffa473a565 (patch) | |
tree | 1dbb19645fe2a9dc9a5ff5c6fc2f0c53462c86c8 /ggml-sycl.cpp | |
parent | 5442939fcc5e6ae41abf40612a95fd71377e487e (diff) |
sycl : fix assert (#7563)
Diffstat (limited to 'ggml-sycl.cpp')
-rw-r--r-- | ggml-sycl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml-sycl.cpp b/ggml-sycl.cpp index 022a52ae..dccfe9eb 100644 --- a/ggml-sycl.cpp +++ b/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); |