[CPU][BugFix] Multiple fixes to w4a8_int8 CPU MoE path (#46739)

Signed-off-by: Fadi Arafeh <fadi.arafeh@arm.com>
This commit is contained in:
Fadi Arafeh
2026-07-06 05:39:20 +00:00
committed by GitHub
parent 394edc8108
commit f1073c050c
10 changed files with 189 additions and 187 deletions
@@ -216,6 +216,12 @@ kInt4W4A8StaticGroupSym = QuantKey(
torch.int8, kInt4W4A8StaticGroupScale, symmetric=True
)
kInt4W4A8StaticChannelSym = QuantKey(
torch.int8,
ScaleDesc(torch.float32, True, GroupShape.PER_CHANNEL),
symmetric=True,
)
def create_fp8_quant_key(
static: bool,