Why counting nodes missed the problem
The PR describes fusion of consecutive addition operations under particular conditions. A bias addition and a residual addition could have compatible layouts only for single-token batches while living in different buffers. Consequently, packing decisions and the resulting node reorder depended on the batch size. The scheduler reserved one graph, but its size check did not detect the reordered nodes. In the supplied nemotron_h reproducer, the diagnostic allocation mode stopped execution because of an unexpected graph reallocation. This describes a concrete failure path rather than evidence that every Metal workload fails.
The final patch checks the buffer invariant earlier
The merged diff changes ggml-metal-fusion.cpp. Its shared-buffer helper now accepts the fusion mode and first compares tensor backend buffers, including a view’s source buffer. Structural mode can return after that comparison, while full mode continues with the more detailed Metal-buffer check. The ADD-chain check no longer invokes this helper only in full mode. The shared-backend-buffer requirement therefore applies during structural analysis as well, rather than allowing a different fusion decision to emerge at a later stage.
What the upstream testing establishes
The release reports test-llama-context with nemotron_h-dense.gguf and GGML_SCHED_DEBUG_REALLOC enabled, test-metal-graph-optimize, test-fusion against MTL.csv, and llama-speculative with four-row and sixteen-row verification batches. A reviewer also reports that two Metal CI checks became green again. Those are developer-reported results; this publication did not independently run the tests. The Mac Studio with M5 Ultra and 256 GB mentioned in the AI-assistance disclosure describes that development setup, not a documented minimum hardware requirement for the fix.
Interpreting the change for local deployments
Our interpretation is that node count and memory totals alone are insufficient diagnostics for this class of failure, because execution order also matters. An application using variable batches should evaluate transitions between the sizes it actually needs, with its selected model and backend. The report does not establish higher generation throughput, better answer quality or a solution to every Metal defect. It documents a particular ADD-chain invariant. Its event date remains November 28: reviewing an older queued candidate today does not make the build a new November 29 release. Reproduction details should remain attached to that exact upstream change when comparing later builds.

Discussion.
Your perspective matters. Sign in, pick a nickname and choose your cyber identity.
Loading discussion…
Your account name, email and photo stay off your comments.