Skip to content

Commit bbe5491

Browse files
authored
[Tests] Update test_fp8_quant.py (#337)
- Fix g_idx init
1 parent 4788675 commit bbe5491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_compressors/quantized_compressors/test_fp8_quant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def test_quant_format(strategy, group_size, sc, zp):
7979
"dummy.weight_zero_point": torch.tensor(zp, dtype=torch.float32),
8080
}
8181
if group_size is not None:
82-
dense_state_dict["dummy.weight_g_idx"] = make_dummy_g_idx(512, group_size)
82+
dense_state_dict["dummy.weight_g_idx"] = make_dummy_g_idx(1024, group_size)
8383

8484
quant_config = get_dummy_quant_config(strategy=strategy, group_size=group_size)
8585

0 commit comments

Comments
 (0)