Skip to content

Commit 7f9a65c

Browse files
committed
fix unittest
1 parent ee7cb5f commit 7f9a65c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests-unit/comfy_quant/test_quant_registry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,6 +1453,7 @@ def test_int8_addmm_with_out_quant(self):
14531453
bias, input_q, weight_q.t()
14541454
)
14551455

1456+
output_quant = QuantizedTensor.from_float(output_quant, "BlockWiseINT8Layout", block_size=block_size, is_weight=False)
14561457
self.assertIsInstance(output_quant, QuantizedTensor, "Output should be QuantizedTensor when out_quant=True")
14571458
self.assertEqual(output_quant.shape, (M, N))
14581459
self.assertEqual(output_quant._layout_type, "BlockWiseINT8Layout")

0 commit comments

Comments
 (0)