Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/ABQ-LLM
/ quant_x2
Method
quant_x2
algorithm/quantize/int_matmul.py:50–53 ·
view source on GitHub ↗
(self, x2)
Source
from the content-addressed store, hash-verified
48
return
x1
49
50
def
quant_x2(self, x2):
51
if
self.use_act_quant:
52
x2 = self.x2_quantizer(x2)
53
return
x2
54
55
def
forward(self, x1, x2):
56
out = self.matmul_func(x1, x2)
Callers
2
forward
Method · 0.80
forward
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected