Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ModelTC/LightX2V
/ __init__
Method
__init__
tools/convert/quant/quant.py:114–116 ·
view source on GitHub ↗
(self, weight)
Source
from the content-addressed store, hash-verified
112
scales = scales.view(org_w_shape[0], -1)
113
w_q = w_q.reshape(org_w_shape)
114
115
return
w_q, scales, self.extra
116
117
118
@CONVERT_WEIGHT_REGISTER(
"mxfp4"
)
119
class
QuantWeightMxFP4(QuantTemplate):
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected