We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c88809 commit 80ce699Copy full SHA for 80ce699
sparsebit/quantization/observers/aciq.py
@@ -105,7 +105,8 @@ def calc_gaus_minmax(self):
105
(2 * math.log(num_elements)) ** 0.5
106
)
107
if (
108
- self.qdesc.scheme in [torch.per_channel_affine, torch.per_tensor_affine, "per-group-affine"]
+ self.qdesc.scheme
109
+ in [torch.per_channel_affine, torch.per_tensor_affine, "per-group-affine"]
110
and is_half_range
111
):
112
max_val = self.alpha_gaus_positive[self.qdesc.bit] * std
0 commit comments