Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ModelTC/LightX2V
/ quant_utils.py
File
quant_utils.py
lightx2v/utils/quant_utils.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
from
loguru
import
logger
3
4
Callers
nothing calls this directly
Calls
9
IntegerQuantizer
Class · 0.85
FloatQuantizer
Class · 0.85
quant_fp8_vllm
Function · 0.85
dequant_fp8_vllm
Function · 0.85
cuda
Method · 0.80
fake_quant_tensor
Method · 0.80
info
Method · 0.80
real_quant_tensor
Method · 0.80
to
Method · 0.45
Tested by
no test coverage detected