]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
CUDA: remove bad assert (ggml/972)
authorJohannes Gäßler <redacted>
Sun, 29 Sep 2024 17:56:17 +0000 (19:56 +0200)
committerGeorgi Gerganov <redacted>
Sun, 29 Sep 2024 18:15:37 +0000 (21:15 +0300)
ggml/src/ggml-cuda/im2col.cu

index 3d0d8d4e6c68688ca8c216ff5c7591033750ecf4..16463ab0fb683cf8e24095bc9eb3209e24e7d933 100644 (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);