Skip to content

Commit 178d0ae

Browse files
committed
remove commented code
Signed-off-by: Kyle Sayers <[email protected]>
1 parent 06ece86 commit 178d0ae

File tree

1 file changed

+2
-40
lines changed

1 file changed

+2
-40
lines changed

tests/llmcompressor/modifiers/calibration/test_observers.py

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -294,46 +294,8 @@ def test_static_weight_quantization(
294294
0.06,
295295
),
296296
# channel is not supported, but is in principle equivalent to token/tensor
297-
# (
298-
# QuantizationArgs(
299-
# num_bits=4,
300-
# type="int",
301-
# symmetric=True,
302-
# strategy="group",
303-
# group_size=3,
304-
# observer="minmax",
305-
# ),
306-
# {
307-
# "default": torch.tensor([[0]]),
308-
# 1: torch.tensor([[3]]),
309-
# },
310-
# {
311-
# "default": torch.tensor([[2]]),
312-
# 1: torch.tensor([[5]]),
313-
# },
314-
# torch.tensor([[0.0000, 1.0703, 1.8750, 2.6719, 4.0000, 4.6875]]),
315-
# 0.04,
316-
# ),
317-
# (
318-
# QuantizationArgs(
319-
# num_bits=4,
320-
# type="float", # tensor group requires FP4
321-
# symmetric=True,
322-
# strategy="tensor_group",
323-
# group_size=3,
324-
# observer="minmax",
325-
# ),
326-
# {
327-
# "default": torch.tensor([[0]]),
328-
# 1: torch.tensor([[3]]),
329-
# },
330-
# {
331-
# "default": torch.tensor([[2]]),
332-
# 1: torch.tensor([[5]]),
333-
# },
334-
# torch.tensor([[0.0000, 0.9766, 1.9531, 3.3125, 3.3125, 4.9688]]),
335-
# 0.1,
336-
# ),
297+
# group is not yet supported
298+
# tensor_group is not yet supported
337299
# block is not supported, but is in principle similar to group
338300
],
339301
)

0 commit comments

Comments
 (0)