Skip to content
AIBRAINWORX / OpenSourceCoder.comLOCAL-FIRST. BUILT IN THE OPEN.
Inference & Quantization / Linux & Systems / Linux

llama.cpp b12681 Adds State Size 96 Support to Vulkan ssm_scan Kernel

Pre-release b12681 of ggml-org/llama.cpp updates the Vulkan backend to support state size 96 in ssm_scan alongside verified multi-architecture binaries across CUDA 13, ROCm 10.0, SYCL, Snapdragon, and s390x.

Listen to this articleBrowser Voice
Ready
Official company logo or product image for llama-cpp-b12681-vulkan-ssm-scan-state-size-96
Official image or organization logo from github.com; identification only, no endorsement.
Event / context: 2026-11-24. Source check: October 28, 2026.

The ggml-org/llama.cpp project published pre-release b12681 on November 24, 2026, introducing targeted updates to its Vulkan backend alongside an extensive cross-platform binary matrix. Released at 19:15 UTC from commit d141011 via automated GitHub Actions workflows, the build centers on pull request #32162, which expands Vulkan compute support for state-space model scan operations by adding explicit handling for state size 96 in the ssm_scan kernel.

Core announcement and Vulkan ssm_scan scope

Unlike sweeping feature releases that alter high-level inference APIs or model loaders, b12681 focuses on low-level kernel coverage inside the cross-vendor Vulkan backend. The release notes document three tightly scoped commits associated with pull request #32162: adding support for state size 96 in ssm_scan, specializing the ssm_scan state size implementation, and clarifying constant names within the Vulkan ssm_scan shader code.

In state-space sequence architectures, the scan operation updates hidden recurrent states across token steps, making state dimension support a hard prerequisite for executing specific model families on GPU compute pipelines. By specializing state size handling and extending support to 96, the llama.cpp maintainers remove a structural gap for Vulkan devices running compatible state-space workloads. Notably, the commit messages transparently record AI coding tool assistance: the state size 96 addition credits Claude Code, while the specialization and constant-naming commits credit Codex.

Engineering architecture and hardware build matrix

From a software supply-chain perspective, commit d141011 carries GitHub's verified GPG signature under key ID B5690EEEBB952194 and links to an accompanying build attestation record (attestations/71777594). The release page lists 40 UI and binary asset entries spanning desktop, server, mainframe, and mobile architectures, though several platform groups remain conditionally toggled in CI.

The published hardware and runtime targets documented in the release notes include:

  • Apple platforms: macOS Apple Silicon (arm64), macOS Intel (x64), and an iOS XCFramework bundle.
  • Linux CPU and mainframe targets: Ubuntu x64 and arm64 CPU builds, Ubuntu 24.04 s390x (CPU), and Ubuntu 26.04 s390x variants for both CPU and IBM zDNN acceleration.
  • Linux GPU and NPU backends: Ubuntu x64 and arm64 Vulkan builds, Ubuntu x64 CUDA 12 (with CUDA 12.8 libraries), Ubuntu x64 and arm64 CUDA 13 (with CUDA 13.5 libraries), Ubuntu x64 ROCm 10.0, OpenVINO, SYCL (separate FP32 and FP16 builds), and Linux arm64 Snapdragon packages targeting CPU, Adreno GPU, and Hexagon NPU.
  • Windows and Android targets: Windows x64 and arm64 CPU builds, Windows arm64 OpenCL Adreno, Windows CUDA 12 (12.4 DLLs) and CUDA 13 (13.5 DLLs across x64 and arm64), Windows Vulkan, OpenVINO, SYCL, and ROCm 10.0, plus Android arm64 CPU and Snapdragon builds.

Developer workflow and local inference impact

For developers embedding llama.cpp into local tools or cross-platform desktop applications—including workflows tied to the project's companion llama.app ecosystem and bundled UI assets—consistent Vulkan coverage reduces reliance on vendor-locked compute SDKs. CUDA 12, CUDA 13, and ROCm 10.0 remain first-class targets on NVIDIA and AMD hardware, yet Vulkan provides a single portable compute path across Linux and Windows systems with integrated GPUs, mixed-vendor workstations, and arm64 devices.

Separating constant-name cleanup and state-size specialization into distinct commits also improves long-term maintainability for shader contributors. Clearer compile-time or kernel constants make it easier for engine maintainers to audit memory layout and register pressure across heterogeneous Vulkan drivers without conflating refactoring with functional changes. Meanwhile, publishing verified build attestations alongside prebuilt binaries helps downstream packagers and security-conscious teams confirm artifact provenance before pulling updates into automated CI pipelines.

Pre-release caveats, disabled targets, and verification limits

Teams evaluating b12681 should treat it strictly as a bleeding-edge Pre-release snapshot rather than a hardened production milestone. The release page explicitly marks macOS Apple Silicon (arm64, KleidiAI enabled) as DISABLED, and the entire openEuler section—covering x86 and aarch64 builds for Ascend 310p and 910b, ACL Graph accelerators—is also flagged as DISABLED. Developers relying on KleidiAI ARM optimizations or openEuler NPU pipelines will not find active prebuilt artifacts for those configurations in this tag.

In addition, the release notes provide no throughput, latency, memory footprint, or numerical accuracy benchmarks for the updated ssm_scan kernel. Any performance impact from specializing state size 96 on Vulkan GPUs remains unverified until tested locally on target drivers and hardware. Finally, while the release artifact table establishes cryptographic build provenance, users and commercial integrators should review the main repository's license files and model compatibility documentation independently before redistributing binaries or deploying b12681 in regulated environments.

EXPLORE THE SOURCE

GitHub repositories

Automated Vertex AI (gemini-4-hydrogen) primary-source report; reviewed 2026-11-24.

Follow your curiosity.

Pass the signal.