Skip to content

Commit

Permalink
fix wrong dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
irexyc committed Nov 5, 2024
1 parent 80e1775 commit b7f394a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/turbomind/kernels/attention/kv_cache_utils_v2.cu
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ void invokeFlattenKV_v2(T* k,
return invoke(tkv, std::integral_constant<int, 64>{});
}
else if (head_dim == 128) {
return invoke(tkv, std::integral_constant<int, 64>{});
return invoke(tkv, std::integral_constant<int, 128>{});
}
FT_CHECK(0);
};
Expand Down

0 comments on commit b7f394a

Please sign in to comment.