mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	CUDA: remove bad assert (ggml/972)
This commit is contained in:
		
				
					committed by
					
						
						Georgi Gerganov
					
				
			
			
				
	
			
			
			
						parent
						
							641002fba8
						
					
				
				
					commit
					aaa4099925
				
			@@ -69,7 +69,6 @@ void ggml_cuda_op_im2col(ggml_backend_cuda_context & ctx, ggml_tensor * dst) {
 | 
				
			|||||||
    float * dst_d = (float *)dst->data;
 | 
					    float * dst_d = (float *)dst->data;
 | 
				
			||||||
    cudaStream_t stream = ctx.stream();
 | 
					    cudaStream_t stream = ctx.stream();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    GGML_ASSERT(src0->type == GGML_TYPE_F16);
 | 
					 | 
				
			||||||
    GGML_ASSERT(src1->type == GGML_TYPE_F32);
 | 
					    GGML_ASSERT(src1->type == GGML_TYPE_F32);
 | 
				
			||||||
    GGML_ASSERT( dst->type == GGML_TYPE_F16 || dst->type == GGML_TYPE_F32);
 | 
					    GGML_ASSERT( dst->type == GGML_TYPE_F16 || dst->type == GGML_TYPE_F32);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user