[W8A8 Block Linear Refactor][1/N] Keep all quantization types into QuantFP8 class. (#33047)

Signed-off-by: maral <maralbahari.98@gmail.com>
Co-authored-by: Cyrus Leung <tlleungac@connect.ust.hk>
This commit is contained in:
Maral
2026-02-01 09:28:01 +00:00
committed by GitHub
co-authored by Cyrus Leung
parent 21997f45b1
commit b5f8c3092d
3 changed files with 53 additions and 35 deletions
+1 -1
View File
@@ -1570,7 +1570,7 @@ class rocm_aiter_ops:
def group_fp8_quant(
input_2d: torch.Tensor,
group_size: int = 128,
) -> tuple[torch.Tensor, ...]:
) -> tuple[torch.Tensor, torch.Tensor]:
assert group_size == 128, "Group size must be 128"
return torch.ops.vllm.rocm_aiter_group_fp8_quant(input_2d, group_size)