We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59937e4 commit 39ddda2Copy full SHA for 39ddda2
ggml-cuda.cu
@@ -6118,7 +6118,7 @@ inline void ggml_cuda_op_mul_mat_cublas(
6118
6119
const int compute_capability = g_compute_capabilities[id];
6120
6121
- if (compute_capability >= CC_VOLTA && (src0->type == GGML_TYPE_F16 || ggml_is_quantized(src0->type)) && ggml_is_contiguous(src0) && ldc == row_diff) {
+ if (compute_capability >= CC_VOLTA && (src0->type == GGML_TYPE_F16 || ggml_is_quantized(src0->type)) && ggml_is_contiguous(src0) && row_diff == src0->ne[1]) {
6122
// convert src0 and src1 to fp16, multiply as fp16, convert dst to fp32
6123
half * src0_as_f16 = nullptr;
6124
size_t src0_as = 0;
0 commit comments