…-2 scan
third_party/llama.cpp-vulkan moves to 1bit/vulkan-upstream a32f0d6f: v0.5.0,
ggml-org#28243 (Flash-Next MTP, as before), ggml-org#21412 (Zamba2, reviewed
line by line; carried until upstream merges it) and our Vulkan fix: the
Mamba-2 SSM_SCAN had pipelines only for a 128/256 state, so Zamba2-2.7B/7B
(state 64) ran the scan on the CPU in every layer (110 graph splits). Now:
Zamba2 Q8_0 tg64 before -> after pp256 before -> after
1.2B-instruct 88.7 -> 89.8 3227 -> 3166
2.7B-instruct 4.3 -> 45.2 614 -> 1541
7B-Instruct 2.1 -> 17.1 29 -> 523
test-backend-ops SSM_SCAN 14/14 on Vulkan0 (two new cases with Zamba2's
shapes). registry: Zamba2ForCausalLM -> vulkan (regenerated from the pins,
which also brings the recorded HRX pin up to 5556bf2); registry_check PASS
for Zamba2 1.2B/2.7B/7B. docs/vulkan.md lists the carried PRs and the
numbers; NOTICE credits #21412.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
First step of Zyphra-family support. Zamba2 (Mamba-2 layers plus shared transformer blocks) is the family's most downloaded line (Zamba2-1.2B-instruct alone: 213k).
Vulkan pin
third_party/llama.cpp-vulkan→1bit/vulkan-upstreama32f0d6f:62484fba5ce79a56is_n_embd_{k,v}_gqa_variableskipping KV-less layers) only affects a warning in v0.5.0; no network/file/process/build changes. Changed lines identical to the PR (530/530).a32f0d6fSSM_SCANhad pipelines only for d_state 128/256, so Zamba2-2.7B/7B (d_state 64) ran the scan on the CPU in every layer (110 graph splits). Adds the 64 pipeline where it is a whole number of subgroups, plus two test-backend-ops cases.Measured on Strix Halo (Q8_0, llama-bench):
test-backend-ops
SSM_SCAN: 14/14 on Vulkan0. Engine ctest 8/8 (-DONEBIT_VULKAN=ON).1bit serve --device vulkan+ Zamba2-2.7B: "The capital of France is Paris." at 45.6 tok/s.registry_check: PASS for Zamba2 1.2B / 2.7B / 7B (recorded inregistry/checked.json).Registry regenerated from the pins:
Zamba2ForCausalLM → vulkan; it also brings the recorded HRX pin up to5556bf2(it still saidc358334). docs/vulkan.md lists the carried commits and the numbers; NOTICE credits #21412.Next for the family: ZAYA1-74B / base / reasoning (same
zayaarchitecture), Zamba v1 and BlackMamba (our own implementations), the VL models.🤖 Generated with Claude Code