Skip to content

b12697

  • b12697
  • 9578bd3
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • b12697
  • 9578bd3
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@am17an am17an tagged this 24 Nov 12:48
After collapsing contiguous dims, the stride of a trailing dim of size 1
becomes the size of the whole tensor. Its index is always 0, but the
uint32 stride asserts still fire once the tensor has more than 2^32
elements, e.g. the per-head relative-position mask add of inkling2 at
n_kv > ~87k with -ub 2048.

Fixes #32804

Assisted-by: Claude Opus 5.5
Assets 2
Loading