Skip to content

Commit

Permalink
Fix q_xxs using mul_mat_q (#7459)
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanBeltonS authored May 27, 2024
1 parent 5487593 commit 95f84d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ggml-sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 95f84d5

Please sign in to comment.