Skip to content

Commit 0fb99a6

Browse files
authored
Update test_dynamic_activation_lut.py (#2682)
Lower torchao test tolerance to reduce flakey CI
1 parent e1962c7 commit 0fb99a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/prototype/test_dynamic_activation_lut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def test_parq_conversion(dtype, granularity, bit_width, lead_dim):
120120

121121
assert torch.allclose(parq_out, parq_with_dyn_quant_out, atol=1e-1, rtol=1e-1)
122122
if dtype == torch.float32:
123-
assert torch.allclose(lut_out, parq_with_dyn_quant_out, atol=1e-3, rtol=1e-3)
123+
assert torch.allclose(lut_out, parq_with_dyn_quant_out, atol=1e-2, rtol=1e-2)
124124
elif dtype == torch.bfloat16:
125125
assert torch.allclose(lut_out, parq_with_dyn_quant_out, atol=1e-2, rtol=1e-2)
126126
else:

0 commit comments

Comments
 (0)