Skip to content

[batch-matrix-multiply] Guard residual stride rounding - #11402

Open
anagnorisis2peripeteia wants to merge 1 commit into
google:masterfrom
anagnorisis2peripeteia:batch-matrix-residual-rounding-hardening
Open

anagnorisis2peripeteia wants to merge 1 commit into
google:masterfrom
anagnorisis2peripeteia:batch-matrix-residual-rounding-hardening

Conversation

@anagnorisis2peripeteia

Copy link
Copy Markdown
Contributor

Summary

  • Add checked rounding for residual k/n stride, weights stride, alignment, input stride, and workspace-offset calculations.
  • Reject overflow in batch tiling and final GEMM stride setup.
  • Add n-stride and k-stride regression tests.

This complements #11400, which propagates qpint8 packed-size sentinels through the same operator.

Tests

  • cmake --build build --target batch-matrix-multiply-nc-test -j2
  • ctest --test-dir build -R '^batch-matrix-multiply-nc-test$' --output-on-failure

@anagnorisis2peripeteia
anagnorisis2peripeteia force-pushed the batch-matrix-residual-rounding-hardening branch from 4016d6d to 31b9f92 Compare September 26, 2026 01:00
@anagnorisis2peripeteia
anagnorisis2peripeteia force-pushed the batch-matrix-residual-rounding-hardening branch from 31b9f92 to 5c59ade Compare October 12, 2026 12:50
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.

1 participant