CUDA: remove bad assert (ggml/972)

This commit is contained in:
Johannes Gäßler 2024-09-29 19:56:17 +02:00 committed by Georgi Gerganov
parent abdb73c7cc
commit bb57ecb85e

View File

@ -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);