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

Method __init__

quantization/quantizer.py:120–123  ·  view source on GitHub ↗
(self, q_group_size=128)

Source from the content-addressed store, hash-verified

118
119class SteInt3AsymQuantizer(nn.Module):
120 def __init__(self, q_group_size=128):
121 super().__init__()
122 self.q_group_size = q_group_size
123 self.bit = 3
124 def forward(self, x):
125 org_w_shape = x.shape
126

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected