Skip to content

Commit

Permalink
Fixed POT quantization
Browse files Browse the repository at this point in the history
  • Loading branch information
FrischAd committed Nov 28, 2023
1 parent af3ca10 commit 9dc985c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hannah/quantization/qconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,7 @@ def __init__(
self.dtype = dtype

if power_of_2:
self.quantization_function = PowerOf2Quantization(
bits, scale=scale, debug=self.debug
)
self.quantization_function = PowerOf2Quantization(bits, debug=self.debug)
else:
self.quantization_function = SymmetricQuantization(
bits, rounding_mode=rounding_mode, debug=self.debug
Expand Down

0 comments on commit 9dc985c

Please sign in to comment.