Explorar o código

Fix q_xxs using mul_mat_q (#7459)

AidanBeltonS hai 1 ano
pai
achega
95f84d5ce8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      ggml-sycl.cpp

+ 1 - 0
ggml-sycl.cpp

@@ -15263,6 +15263,7 @@ static void ggml_sycl_mul_mat(const ggml_tensor * src0, const ggml_tensor * src1
             }
         } else {
             bool use_mul_mat_q = min_compute_capability >= VER_4VEC && ggml_is_quantized(src0->type);
+            use_mul_mat_q = use_mul_mat_q && (src0->type != GGML_TYPE_IQ2_XXS);
 
             if (use_xmx && min_compute_capability >= VER_GEN9 && src1->ne[1] > XMX_MAX_BATCH_SIZE) {
                 use_mul_mat_q = false;