MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / __init__

Method __init__

tools/convert/quant/quant.py:15–22  ·  view source on GitHub ↗
(self, weight)

Source from the content-addressed store, hash-verified

13try:
14 try:
15 from lightx2v_kernel_nvidia.gemm import scaled_mxfp4_quant, scaled_mxfp6_quant, scaled_mxfp8_quant, scaled_nvfp4_quant
16 except ModuleNotFoundError as exc:
17 if exc.name != "lightx2v_kernel_nvidia":
18 raise
19 from lightx2v_kernel.gemm import scaled_mxfp4_quant, scaled_mxfp6_quant, scaled_mxfp8_quant, scaled_nvfp4_quant
20except ImportError:
21 pass
22
23
24CONVROT_GROUPSIZES = (256, 64, 16)
25

Callers 6

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected