Skip to content

Commit

Permalink
CUDA: remove bad assert (ggml/972)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler authored and dsx1986 committed Oct 29, 2024
1 parent 47df9a6 commit 46e8b82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ggml/src/ggml-cuda/im2col.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 46e8b82

Please sign in to comment.