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

Function fp4_dequantize

lightx2v/common/kvcache/kernel.py:648–676  ·  view source on GitHub ↗
(
    packed_tensor: torch.Tensor,
    scale_tensor: torch.Tensor,
    global_scale: torch.Tensor,
    block_size: int = 16,
    tile_size: int = 128,
    dtype: torch.dtype | None = None,
)

Source from the content-addressed store, hash-verified

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected