Skip to content

test(awq): cover the partial output tile and explicit non-2-D error (#4474) - #4528

Merged
Qubitium merged 1 commit into
mainfrom
fix/awq-clip-partial-tile-4474
Nov 17, 2026
Merged

Qubitium merged 1 commit into
mainfrom
fix/awq-clip-partial-tile-4474

Conversation

@Qubitium

Copy link
Copy Markdown
Collaborator

Summary

#4474's partial-output-tile fix already landed on main (clip search iterates tile-sized steps and crops the final tile's scratch slices). This adds the missing regression coverage and replaces the two remaining bare assert w.dim() == 2 checks with a ValueError carrying the actual shape.

  • New tests/test_awq_clip_partial_tile_4474.py exercises the partial-tile path end-to-end through clip search on CPU (6 cases), plus a control shape and the explicit non-2-D error.
  • No behavior change for valid shapes.

Validation

  • pytest tests/test_awq_clip_partial_tile_4474.py -q → 6 passed
  • ruff check clean

Resolves #4474.

…4474)

main already searches a partial final tile (#4474); this pins that path
end-to-end and replaces the two remaining bare shape asserts with
ValueError so an invalid caller sees a real message.
@Qubitium
Qubitium merged commit c0a12ae into main Nov 17, 2026
9 checks passed
@Qubitium
Qubitium deleted the fix/awq-clip-partial-tile-4474 branch November 17, 2026 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] AWQ clipping rejects output widths accepted by its portable backend

1 participant