Skip to content

Commit 72560d4

Browse files
committed
simplify activation shape
Signed-off-by: Kyle Sayers <[email protected]>
1 parent 42ee086 commit 72560d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compressed_tensors/quantization/lifecycle/initialize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def initialize_module_for_quantization(
105105
module,
106106
"input",
107107
scheme.input_activations,
108-
observed_shape=(1, weight.shape[-1]),
108+
observed_shape=weight.shape[-1:],
109109
observed_dtype=weight.dtype,
110110
force_zero_point=force_zero_point,
111111
)

0 commit comments

Comments
 (0)