Skip to content

Commit e64ed1d

Browse files
jan-wassenbergcopybara-github
authored andcommitted
Fix PaliGemma matmul warning
PiperOrigin-RevId: 825542732
1 parent ecab0ce commit e64ed1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ops/matmul.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ class MMConfig {
404404
reserved_{} {
405405
HWY_DASSERT(mr == 1 || mr == 2 || mr == 4);
406406
// Some models have K which are not multiples of `kc_multiple`.
407-
if (!IsOneKC(order) && (kc % kc_multiple) != 0) {
407+
if (kc != K && (kc % kc_multiple) != 0) {
408408
HWY_WARN("kc %zu not a multiple of kc_multiple %zu", kc, kc_multiple);
409409
}
410410
if (nc != N && (nc % nc_multiple) != 0) {

0 commit comments

Comments
 (0)