mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-06 15:54:31 +00:00
Add constraint to the rotary_dim option
This commit is contained in:
@@ -400,6 +400,11 @@ bool run(const ck_tile::ArgParser& arg_parser)
|
||||
std::cerr << "rotary_dim should be less than or equal to head dim for q" << std::endl;
|
||||
return false;
|
||||
}
|
||||
else if(!(rotary_dim % 8 == 0))
|
||||
{
|
||||
std::cerr << "only rotary dimensions divisible by 8 are currently supported" << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
const bool is_rotary_interleaved = arg_parser.get_bool("rotary_interleaved");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user