[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fijeqtyb5qf9d":3},{"slug":4,"category":5,"publishedAt":6,"titleZh":7,"titleEn":8,"summaryZh":9,"summaryEn":10,"models":11,"hardwares":15,"bodyZh":19,"bodyEn":20,"sourceName":21,"sourceUrl":22,"updatedAt":23},"llamacpp-b12628-vulkan-scale-fallback-fix-2026-11-23","RUNTIME","2026-11-22T23:06:32.913Z","llama.cpp b12628合入Vulkan SCALE修复：显卡慢，先查算子有没有回退CPU","llama.cpp b12628 fixes Vulkan SCALE fallback: check where the operators run","11月22日合入的#32735让Vulkan接收非连续输入的SCALE，避免相关Inkling 2计算被调度到CPU。新事实是修复合入；作者21日跑分不是今天新增实测，本站未独立复现。","Merged November 22, PR #32735 accepts non-contiguous SCALE inputs on Vulkan instead of sending those operations to the CPU. The merge is new; the author's November 21 measurements are not new tests today. AraoAI has not independently reproduced them.",[12],{"id":13,"name":14},100,"Inkling-2-Mini",[16],{"id":17,"name":18},79,"AMD Radeon AI PRO R9700","llama.cpp在11月22日合入PR #32735，b12628发布说明已列出这项Vulkan修复。它提醒本地部署用户：速度低不一定是显卡带宽不够，也可能是部分算子没有留在GPU上。今天的新进展是上游接纳修复，不是把昨天的测试重新包装成一份新实测。\n\n1. 回退可能藏在非连续视图里。按作者说明，Inkling 2的SiTU计算会对融合gate_up输出的两个部分做SCALE；它们是带步长的非连续视图。旧Vulkan支持检查拒绝这种输入，调度器便把相关操作放到CPU，造成频繁的计算图切分。显卡已经加载模型，并不意味着每个算子都在卡上执行。\n\n2. 修改的是算子支持路径，不是模型权重。补丁让scale.comp通过src0_idx()\u002Fdst_idx()处理步长，移除对应的连续性限制。作者的Radeon AI PRO R9700报告使用Unsloth的Inkling-2-Mini-UD-Q8_K_XL、明确列出修复前后提交和llama-bench参数；这些原始测量发表于21日，不能按22日合入时间计作当天新跑分。\n\n3. 社区跟进仍不等于本站验证。22日评论区有另一位用户报告切图次数与速度变化，并链接到#32785。评论使用的是简短提示，不能与作者的pp512、tg128表拼成同条件对照；作者也明确这项修复不处理其他用户在CUDA上的慢速问题。\n\n排错时，应同时保留实际引擎构建、权重文件、后端与启动参数，再查调度日志中的CPU算子和graph split。更新后用相同输入复测，才知道问题是否发生在自己的机器上。本站已核对PR当前正文、评论、合入时间与版本说明，尚未真机复现；这是一项定位明确的兼容修复，不是对所有AMD显卡的统一提速承诺。\n\n来源：https:\u002F\u002Fgithub.com\u002Fggml-org\u002Fllama.cpp\u002Fpull\u002F32735\n版本：https:\u002F\u002Fgithub.com\u002Fggml-org\u002Fllama.cpp\u002Freleases\u002Ftag\u002Fb12628","On November 22, llama.cpp merged PR #32735, and release b12628 lists the Vulkan change. Slow local inference does not always mean insufficient GPU bandwidth: some operators may be executing on the CPU. Today's event is the upstream merge, not a newly performed benchmark.\n\n1. Fallback can hide in strided views. The author explains that Inkling 2 applies SiTU SCALE operations to the gate and up halves of a fused gate_up output. Those halves are non-contiguous views. Vulkan's old support check rejected them, so the scheduler sent the operations to the CPU and repeatedly split the computation graph. Loading weights onto a GPU does not establish that every operator executes there.\n\n2. This changes operator support, not model weights. The shader now uses src0_idx()\u002Fdst_idx() to respect strides, and the corresponding contiguity restriction is removed. The author's Radeon AI PRO R9700 report identifies Unsloth's Inkling-2-Mini-UD-Q8_K_XL, before\u002Fafter commits and llama-bench arguments. Those measurements were published November 21; a November 22 merge does not turn them into fresh measurements.\n\n3. Follow-up feedback is not AraoAI reproduction. A November 22 comment reports different graph-split counts and speeds and links issue #32785. Its trivial-prompt test is not interchangeable with the author's pp512\u002Ftg128 protocol. The author also explicitly says the fix does not address separate CUDA slowness reports.\n\nFor diagnosis, retain the actual engine build, exact weight file, backend and launch arguments. Inspect CPU operator fallback and graph splits, then repeat the same input after upgrading. We checked the current PR, comments, merge timestamp and release notes, but have not reproduced the result on our own hardware. This is a specific compatibility fix, not a general speedup promise for AMD GPUs.\n\nSource: https:\u002F\u002Fgithub.com\u002Fggml-org\u002Fllama.cpp\u002Fpull\u002F32735\nRelease: https:\u002F\u002Fgithub.com\u002Fggml-org\u002Fllama.cpp\u002Freleases\u002Ftag\u002Fb12628","llama.cpp PR与发布说明","https:\u002F\u002Fgithub.com\u002Fggml-org\u002Fllama.cpp\u002Fpull\u002F32735","2026-11-22T23:06:32.914Z"]