Llama.cpp b11043: when head-dimension padding warrants a Hexagon compatibility trial

If a local inference workload hits a head-dimension constraint on Hexagon’s HMX flash-attention path, llama.cpp b11043 is worth a targeted compatibility trial. The reason is specific: its release notes describe padding for head dimensions that are not multiples of 64, explicitly naming DK=DV=72. That is a reason to revisit an affected workload, not evidence that an entire model now works or that inference is faster.

The b11043 release page is marked Pre-release in the captured source. It identifies commit 18a04f0 and change #26539, “hexagon: HMX flash-attention head_dim padding (support DK=DV=72)”.

What the padding change establishes

The notes describe operating on DK/DV rounded up to a 64-lane boundary, with zero-filled tail lanes, so HMX flash-attention can handle head_dim values that are not multiples of 64. They give SigLIP’s head_dim=72 as an example.

Keep that example at kernel scope. Naming SigLIP’s head dimension does not establish complete SigLIP model or pipeline support. Nor does the release’s platform asset list establish that every downloadable binary exposes this Hexagon path.

For engineers maintaining a local inference backend behind an application or API, the useful question is: does this change address a shape constraint in the path my workload actually uses?

Workload situation Decision from these notes
Hexagon HMX flash-attention with DK=DV=72 Prioritize a compatibility trial: this shape is explicitly named.
The same path with another non-64-multiple head dimension Consider a trial, but treat the exact shape as unverified until tested.
Head dimensions already divisible by 64, or execution on another backend These notes alone do not establish a compatibility reason to upgrade.

A trial that can answer the compatibility question

The following is a proposed evaluation sequence, not a report of tests performed:

  1. Identify the affected shape. Record the workload’s actual DK/DV values and the operation that encounters the constraint. A model name alone is not enough to establish applicability.
  2. Make the comparison reproducible. Pin b11043, the model artifact, inputs, target hardware, and relevant runtime settings. Keep a trusted correctness baseline available; the baseline need not be the previously failing Hexagon path.
  3. Verify execution on the intended path. Use available backend diagnostics or instrumentation to establish that the affected operation actually runs through Hexagon HMX flash-attention. A successful request with an unverified execution path does not answer this question.
  4. Check correctness before performance. Compare outputs against the trusted baseline on representative inputs, using an acceptance criterion chosen for the workload before evaluating the results. Check intermediate outputs where the harness exposes them, as well as the end-to-end result.

If the shape runs on the intended path and passes that correctness check, proceed to a broader deployment evaluation. If backend execution is uncertain or outputs fail the criterion, keep the working baseline and investigate before adoption. Only after correctness passes should latency and resource measurements influence the upgrade decision.

The release notes supply no numerical error bounds, exhaustive device or shape coverage, or measured speedup. Their contribution is narrower but useful: a documented padding change gives affected Hexagon workloads a concrete reason to be retested. Treat b11043 as a compatibility hypothesis to validate on the target workload, not a blanket upgrade recommendation.

I’d add an already-aligned head dimension as a regression control in the proposed trial. The b11043 notes describe rounding DK/DV to a 64-lane boundary and zero-filling the tail; that makes padding-boundary coverage a useful test-design question, not just whether one DK=DV=72 case completes.

If an operator-level harness permits it, test the explicitly named 72 case alongside an aligned control such as 64, then exploratory cases immediately below and above a boundary, such as 63 and 65. Those extra shapes are proposed probes, not a documented support list. Use separate, shape-matched reference outputs for each case, keeping dtype, sequence length, masking and input-generation rules fixed where applicable. Do not compare outputs from different head dimensions as though they should match, or change a trained model’s head dimension just to construct the control.

The distinction matters when interpreting a failure: if the aligned control also fails, padding alone is a weaker explanation; if only cases requiring padding fail, that narrows the investigation without proving a root cause. Passing 72 while another probe fails would support a workload-specific conclusion, not general non-64-multiple coverage. This is a proposed diagnostic extension, not a report of tests or a claim that b11043 has such failures.