You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HRX0/Vulkan0 split fails above ~4750 tokens, path-independent of flash_attention.decode_split #300
A ~4800-token prompt (a 86-section synthetic doc):
-dev HRX0,Vulkan0 -ts 1,0 -ot exps=Vulkan0: at ~2128/2512/3000 tokens the code word ZX-4718-QQ is exact (18/18); at ~4800 it fails.
-dev HRX0,Vulkan0 (no -ot exps=Vulkan0): same failure at ~4800.
-dev HRX0 alone: 0 faults, but the code word comes back wrong at ~4800 (2/3), while at ~4704 it is exact.
-dev Vulkan0 alone: clean.
Recorded with the env + dispatch per condition in strixhalo:~/goal-verify/split-inspect/{mp-on,mp-off}.{env,srv} and ~/goal-verify/sv-*.srv: with flash_attention_decode_splitenabled the dispatch is flash_attention_decode_split_next_q8; with GGML_HRX_DISABLE_DISPATCH=flash_attention_decode_split the dispatch is flash_attention_f32_f16_wmmaonly — i.e. no multipass runs — yet the failure is the same. So the cause is upstream of / independent of the decode-split (a context-size, cross-device, or server-side issue).
strixhalo:~/goal-verify/cor responses -> ~/goal-verify/corr-{mp,fb}.srv (a server_context_impl::post_decode/update_slots abort)
llama-bench cannot run this split at all: both split benchmarks abort with ggml_backend_sched: pre-allocated tensor (blk.0.ffn_down_exps.weight) in a buffer (Vulkan0) that cannot run the operation (NONE).
Not part of #123's multipass fix. Filed so #123 can close on its own defect.
main no longer has a Vulkan device to split onto. RFC #213 stage 3 removed it (PR #306, "Core engine: HRX + HIP + NPU only (strip Vulkan, ROCm, ZINC, CUDA, ComfyUI…)"), and the removal is now enforced in code rather than merely absent:
// app/serve.cppvoidrefuse_removed_device(const std::string& device) {
if (device == "vulkan" || device == "rocm")
throwstd::runtime_error("--device " + device + " was removed: the engine's GPU route is HRX (--device hrx, or auto), ""and it builds no Vulkan or ROCm llama.cpp (RFC #213). Lemonade's own llamacpp backend ""serves Vulkan and ROCm (docs/lemonade.md)");
Checked on main: the llama.cpp-vulkan submodule is gone from .gitmodules, there are 0 Vulkan docs in the tree, and --device vulkanthrows.
So -ts 1,0 -ot exps=Vulkan0 cannot be constructed, and the "path-independent of flash_attention.decode_split" note is moot with it. Suggest closing as no longer applicable — if anyone wants the FFN-placement question revisited, it belongs in a new issue against a configuration the engine still builds (HRX + CPU, e.g. HRX0,CPU -ts 1,0), and I'd open it on request.
Not touching #301 — that one is about the HRX-only in-range path (2049–32768) and its libhrx transient pinning, which does still exist.
Closing as no longer applicable. main builds no Vulkan device (RFC #213 stage 3, PR #306) and app/serve.cpp now throws for --device vulkan, so the issue's HRX0,Vulkan0 -ts 1,0 -ot exps=Vulkan0 configuration cannot be constructed and the "path-independent of decode_split" note is moot with it. If the FFN-placement question still matters, it belongs in a new issue against a configuration the engine still builds (HRX + CPU).
Activity
bong-water-water-bong commentedon Oct 5, 2026
Obsolete — the configuration this issue exercises no longer exists
This reports an
HRX0,Vulkan0split:mainno longer has a Vulkan device to split onto. RFC #213 stage 3 removed it (PR #306, "Core engine: HRX + HIP + NPU only (strip Vulkan, ROCm, ZINC, CUDA, ComfyUI…)"), and the removal is now enforced in code rather than merely absent:Checked on
main: thellama.cpp-vulkansubmodule is gone from.gitmodules, there are 0 Vulkan docs in the tree, and--device vulkanthrows.So
-ts 1,0 -ot exps=Vulkan0cannot be constructed, and the "path-independent offlash_attention.decode_split" note is moot with it. Suggest closing as no longer applicable — if anyone wants the FFN-placement question revisited, it belongs in a new issue against a configuration the engine still builds (HRX + CPU, e.g.HRX0,CPU -ts 1,0), and I'd open it on request.Not touching #301 — that one is about the HRX-only in-range path (2049–32768) and its libhrx transient pinning, which does still exist.
bong-water-water-bong commentedon Oct 6, 2026
Closing as no longer applicable.
mainbuilds no Vulkan device (RFC #213 stage 3, PR #306) andapp/serve.cppnow throws for--device vulkan, so the issue'sHRX0,Vulkan0 -ts 1,0 -ot exps=Vulkan0configuration cannot be constructed and the "path-independent of decode_split" note is moot with it. If the FFN-placement question still matters, it belongs in a new issue against a configuration the engine still builds (HRX + CPU).bump llama.cpp to 7a1f2b81c: the prefill kernels stay finite above th…