Skip to content

Commit

Permalink
sycl : fix assert (llama/7563)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed May 29, 2024
1 parent df8d6dd commit c052218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ggml-sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c052218

Please sign in to comment.