Fix compilation error in debug mode

This commit is contained in:
PoYen, Chen
2024-07-15 01:26:46 +00:00
parent 1a093f94b2
commit 4e01307e04

View File

@@ -604,7 +604,7 @@ bool run(const ck_tile::ArgParser& arg_parser)
if(bias.type == bias_enum::alibi)
{
auto slopes = ck_tile::get_alibi_slopes<SaccDataType>(nhead);
assert(slopes.size() == nhead);
assert(slopes.size() == static_cast<std::size_t>(nhead));
if(bias.rank_info == 0)
{
// alibi in 1*h