MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / __init__

Method __init__

quantization/quantizer.py:154–157  ·  view source on GitHub ↗
(self, q_group_size=64)

Source from the content-addressed store, hash-verified

152
153class SteInt2AsymQuantizer(nn.Module):
154 def __init__(self, q_group_size=64):
155 super().__init__()
156 self.q_group_size = q_group_size
157 self.bit = 2
158 def forward(self, x):
159 org_w_shape = x.shape
160

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected