llama.cpp
28148b5f - llama : refuse SPLIT_MODE_TENSOR for Hadamard-folded models (#33080)

Commit
15 hours ago
llama : refuse SPLIT_MODE_TENSOR for Hadamard-folded models (#33080) Prism Bonsai models (prism.hadamard) aborted in the meta backend with GGML_ASSERT(split_state.ne[j] % div == 0) when loaded with -sm tensor: the ssm_out input permutation from tiled to grouped GDN head order reshapes the head-split activation to [hd, n_k, n_rep] and the split lands on n_rep (3 for 2 devices). Past that, the explicit sign vectors are mirrored while their inputs are split, and the 1024-wide rotation blocks would straddle the device slices of ffn_down (17408 = 17 blocks). Fail at load with a clear message instead. Assisted-by: Claude Opus 5.5
Author
Parents
Loading