From fc70103f8bbdd16fcb887ee4dc3a3dbb25c883ee Mon Sep 17 00:00:00 2001 From: yadaish Date: Mon, 24 Nov 2025 09:57:31 +0000 Subject: [PATCH] update --- include/ck_tile/core/numeric/pk_int4.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/ck_tile/core/numeric/pk_int4.hpp b/include/ck_tile/core/numeric/pk_int4.hpp index 088407b40c..aa67019ead 100644 --- a/include/ck_tile/core/numeric/pk_int4.hpp +++ b/include/ck_tile/core/numeric/pk_int4.hpp @@ -155,7 +155,9 @@ CK_TILE_HOST_DEVICE fp16x2_t pk_int4_t_to_halfx2_t(const pk_int4_t& x) CK_TILE_HOST_DEVICE fp16x2_t pk_int4_t_to_halfx2_t(const pk_int4_t& x, float scale) { - auto float_vec2 = pk_int4_t_to_fp32x2_t(x); + TODO(yadai): confirm quanzation algorithm + // auto float_vec2 = pk_int4_t_to_fp32x2_t(x); + auto float_vec2 = pk_int4_t_to_fp32x2_t_signed_conversion(x); float_vec2.x = float_vec2.x * scale; float_vec2.y = float_vec2.y * scale; return fp16x2_t{type_convert(float_vec2.x), type_convert(float_vec2.y)};