@@ -255,7 +255,7 @@ void register_ukernel_config_kleidi(
255
255
if (!cpuinfo_initialize ()) {
256
256
throw std::runtime_error (" Failed to initialize cpuinfo!" );
257
257
}
258
- check_format (format, torchao::ops::PackedWeightsType::kleidi_ai , weight_nbit);
258
+ check_format (format, torchao::ops::PackedWeightsType::linear_8bit_act_xbit_weight_kleidi_ai , weight_nbit);
259
259
namespace op = torchao::kernels::cpu::aarch64::kleidi::
260
260
kai_matmul_clamp_f32_qai8dxp_qsi4c32p;
261
261
@@ -343,7 +343,7 @@ void register_ukernel_config(
343
343
register_ukernel_config_universal<weight_nbit>(table, format, uarch);
344
344
break ;
345
345
}
346
- case torchao::ops::PackedWeightsType::kleidi_ai : {
346
+ case torchao::ops::PackedWeightsType::linear_8bit_act_xbit_weight_kleidi_ai : {
347
347
#ifdef TORCHAO_ENABLE_KLEIDI
348
348
register_ukernel_config_kleidi<weight_nbit>(table, format, uarch);
349
349
#endif // TORCHAO_ENABLE_KLEIDI
@@ -411,7 +411,7 @@ PackedWeightsFormat select_packed_weights_format(
411
411
if (weight_nbit == 4 && (!has_weight_zeros)) {
412
412
#if defined(TORCHAO_ENABLE_ARM_I8MM)
413
413
return PackedWeightsFormat (
414
- torchao::ops::PackedWeightsType::kleidi_ai ,
414
+ torchao::ops::PackedWeightsType::linear_8bit_act_xbit_weight_kleidi_ai ,
415
415
weight_nbit,
416
416
has_weight_zeros,
417
417
has_bias,
@@ -420,7 +420,7 @@ PackedWeightsFormat select_packed_weights_format(
420
420
/* sr*/ 2 );
421
421
#elif defined(TORCHAO_ENABLE_ARM_NEON_DOT)
422
422
return PackedWeightsFormat (
423
- torchao::ops::PackedWeightsType::kleidi_ai ,
423
+ torchao::ops::PackedWeightsType::linear_8bit_act_xbit_weight_kleidi_ai ,
424
424
weight_nbit,
425
425
has_weight_zeros,
426
426
has_bias,
0 commit comments