Skip to content

Commit

Permalink
Disable new mixmul for text generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed May 23, 2024
1 parent 0a29fe9 commit 0629a79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sgemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,10 @@ class MixMul {
assert(params->ith < params->nth);
assert(plan->type == GGML_TYPE_I32);

// doesn't help for token generation
if (n < 2)
return false;

// supported types
if (result->type != GGML_TYPE_F32)
return false;
Expand Down

0 comments on commit 0629a79

Please sign in to comment.