From: Johannes Gäßler Date: Sun, 29 Sep 2024 17:56:17 +0000 (+0200) Subject: CUDA: remove bad assert (#972) X-Git-Tag: upstream/0.0.1642~335 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=9a24b8c8c40eab7262d067e91d08df160678df8d;p=pkg%2Fggml%2Fsources%2Fggml CUDA: remove bad assert (#972) --- diff --git a/src/ggml-cuda/im2col.cu b/src/ggml-cuda/im2col.cu index 3d0d8d4e..16463ab0 100644 --- a/src/ggml-cuda/im2col.cu +++ b/src/ggml-cuda/im2col.cu @@ -69,7 +69,6 @@ void ggml_cuda_op_im2col(ggml_backend_cuda_context & ctx, ggml_tensor * dst) { float * dst_d = (float *)dst->data; cudaStream_t stream = ctx.stream(); - GGML_ASSERT(src0->type == GGML_TYPE_F16); GGML_ASSERT(src1->type == GGML_TYPE_F32); GGML_ASSERT( dst->type == GGML_TYPE_F16 || dst->type == GGML_TYPE_F32);