[XPU] [Bug] remove xpuw4a16 output size check (#44168)

Signed-off-by: Zhu, Zufang <zufang.zhu@intel.com>
Co-authored-by: Kunshang Ji <kunshang.ji@intel.com>
This commit is contained in:
zofia
2026-06-02 22:26:20 +08:00
committed by GitHub
parent c91a87f01a
commit 6314de8bad
@@ -51,13 +51,6 @@ class XPUwNa16LinearKernel(MPLinearKernel):
"XPUwNa16, supported sizes are multiples of 32",
)
if c.partition_weight_shape[1] % 32 != 0:
return (
False,
f"Output size ({c.partition_weight_shape[1]}) not supported by "
"XPUWNA16, supported sizes are multiples of 32",
)
return True, None
def process_weights_after_loading(self, layer: torch.nn.Module):