[Kernel] Consolidate Marlin thread-tile padding across all dense Marlin paths (#45295)

Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
Michael Goin
2026-06-12 13:46:21 -07:00
committed by GitHub
parent 78739c1946
commit 9eaacb23ec
7 changed files with 770 additions and 66 deletions
@@ -289,8 +289,11 @@ class AWQMarlinConfig(QuantizationConfig):
skip_with_substr=True,
):
return UnquantizedLinearMethod()
# Check if the layer is supported by AWQMarlin.
if not check_marlin_supports_layer(layer, self.group_size):
# Check if the layer is supported by AWQMarlin; tile-misaligned
# shapes are fixed by padding at weight prep.
if not check_marlin_supports_layer(
layer, self.group_size, allow_tile_padding=True
):
logger.warning_once(
"Layer '%s' is not supported by AWQMarlin. Falling back to unoptimized AWQ kernels.", # noqa: E501
prefix,