Repository navigation
b12697
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