Skip to content

Commit d95cc6b

Browse files
committed
change name
Signed-off-by: Kyle Sayers <[email protected]>
1 parent ff59145 commit d95cc6b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/compressed_tensors/quantization/quant_scheme.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,18 +129,18 @@ def _validate_observers(self):
129129

130130
if inputs is not None and inputs.observer is None:
131131
if inputs.dynamic:
132-
inputs.observer = "memoryless-minmax"
132+
inputs.observer = "memoryless_minmax"
133133
else:
134-
inputs.observer = "static-minmax"
134+
inputs.observer = "static_minmax"
135135

136136
if weights is not None and weights.observer is None:
137-
weights.observer = "memoryless-minmax"
137+
weights.observer = "memoryless_minmax"
138138

139139
if outputs is not None and outputs.observer is None:
140140
if outputs.dynamic:
141-
outputs.observer = "memoryless-minmax"
141+
outputs.observer = "memoryless_minmax"
142142
else:
143-
outputs.observer = "static-minmax"
143+
outputs.observer = "static_minmax"
144144

145145
self.input_activations = inputs
146146
self.weights = weights

0 commit comments

Comments
 (0)