We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a31b891 commit 54129feCopy full SHA for 54129fe
1 file changed
op_tests/triton_tests/test_quant_mxfp4.py
@@ -127,8 +127,8 @@ def torch_dynamic_mxfp4_quant(
127
128
# Merge results
129
e2m1_value = torch.full_like(qx, 0x7, dtype=torch.uint8)
130
- e2m1_value = torch.where(denormal_mask, denormal_x, e2m1_value)
131
e2m1_value = torch.where(normal_mask, normal_x, e2m1_value)
+ e2m1_value = torch.where(denormal_mask, denormal_x, e2m1_value)
132
133
# add sign back
134
sign_lp = s >> (MBITS_F32 + EBITS_F32 - MBITS_FP4 - EBITS_FP4)
0 commit comments