@@ -255,7 +255,7 @@ void register_ukernel_config_kleidi(
255255 if (!cpuinfo_initialize ()) {
256256 throw std::runtime_error (" Failed to initialize cpuinfo!" );
257257 }
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);
259259 namespace op = torchao::kernels::cpu::aarch64::kleidi::
260260 kai_matmul_clamp_f32_qai8dxp_qsi4c32p;
261261
@@ -343,7 +343,7 @@ void register_ukernel_config(
343343 register_ukernel_config_universal<weight_nbit>(table, format, uarch);
344344 break ;
345345 }
346- case torchao::ops::PackedWeightsType::kleidi_ai : {
346+ case torchao::ops::PackedWeightsType::linear_8bit_act_xbit_weight_kleidi_ai : {
347347#ifdef TORCHAO_ENABLE_KLEIDI
348348 register_ukernel_config_kleidi<weight_nbit>(table, format, uarch);
349349#endif // TORCHAO_ENABLE_KLEIDI
@@ -411,7 +411,7 @@ PackedWeightsFormat select_packed_weights_format(
411411 if (weight_nbit == 4 && (!has_weight_zeros)) {
412412#if defined(TORCHAO_ENABLE_ARM_I8MM)
413413 return PackedWeightsFormat (
414- torchao::ops::PackedWeightsType::kleidi_ai ,
414+ torchao::ops::PackedWeightsType::linear_8bit_act_xbit_weight_kleidi_ai ,
415415 weight_nbit,
416416 has_weight_zeros,
417417 has_bias,
@@ -420,7 +420,7 @@ PackedWeightsFormat select_packed_weights_format(
420420 /* sr*/ 2 );
421421#elif defined(TORCHAO_ENABLE_ARM_NEON_DOT)
422422 return PackedWeightsFormat (
423- torchao::ops::PackedWeightsType::kleidi_ai ,
423+ torchao::ops::PackedWeightsType::linear_8bit_act_xbit_weight_kleidi_ai ,
424424 weight_nbit,
425425 has_weight_zeros,
426426 has_bias,
0 commit comments