llama.cpp
9578bd3f - CUDA: ignore strides of size-1 dims in bin_bcast (#32854)

Commit
6 hours ago
CUDA: ignore strides of size-1 dims in bin_bcast (#32854) 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
Author
Parents
Loading