Old Layout Meets New Model: 168 Tensors Bring Local Inference Back to 95 tok/s

Re-quantizing just 168 Attention tensors and replacing in-place restores the new model to 95 tok/s under the old GGOF layout.
The article describes a compatibility experiment in the local inference community: the new model Kaveling-2-mini only reaches about 58 tok/s in a Fork that recognizes only the old Unsloth GGOF layout, while the original Inkling reaches about 95 tok/s under the old layout—Lama-Bench data rules out a GPU bottleneck. The author found the difference concentrated in 168 Attention tensors, re-quantized them from BF16 to Q80, and stuffed them in-place into the old layout file with unchanged size. After replacement, Kaveling returns to about 95 tok/s, with about 27% fewer output tokens and about 26% less wall-clock time on small coding tasks. The article distills a troubleshooting mindset: locate the bottleneck first, then do difference analysis, and use quantization as a compatibility layer.
Why the Old Layout Can't Handle New Models
The local inference community recently circulated a counterintuitive experiment: stuffing the newly released Concise-Reasoning fine-tuned model Kaveling-2-mini into a GGOF Fork that only recognizes the old layout. According to a Bilibili creator's tests on an RX 7900 XT, the original Inkling-2-mini can reach about 95 tok/s under that old layout, while the new model Kaveling only hits about 58 tok/s in the mainline environment. The gap isn't in the GPU—on the same RX 7900 XT, Lama-Bench's TG64 is about 90 tok/s and PP512 about 1930, showing the hardware foundation is sufficient.

The problem lies in the loading path and layout. This Fork only recognizes the old Unsloth GGOF layout, while the new architecture's weights are organized in the mainline format. The loader can't follow that familiar path, so speed gets stuck at the environment layer. Most people's first instinct is to swap the GPU or the model, but this time the author chose a third route: don't change the Fork, don't change the quantization format—just move a small number of key tensors.
GGOF (GPT-Generated Unified Format) is a model weight file format widely used in the llama.cpp ecosystem. Internally, it serializes block by block according to tensor names and data types, and describes the layout through header metadata. Different toolchains in the community (such as the Unsloth branch) have made their own extensions to GGOF's metadata fields, tensor naming, and alignment, creating the so-called "old layout" versus "mainline layout" divide. When reading, the loader matches tensor names and shapes based on header information. Once naming rules or data type annotations are inconsistent, it falls back to a slower layer-by-layer path, or even triggers rearrangement and conversion—dragging down speed. The "Fork that only recognizes the old layout" in this article refers to that branch's loading logic hardcoding the field conventions of the old Unsloth GGOF, making it unable to directly recognize new weights organized in mainline format, so performance gets stuck at the environment layer rather than the compute layer.
In-Place Surgery on 168 Attention Tensors
Kaveling is essentially a Concise-Reasoning fine-tune of Inkling, aimed at shorter reasoning outputs. After comparison, the author found that the old layout file is UD-Q4KM and the new model is Q4KM, with differences concentrated in the Attention part, involving 168 Attention tensors. In other words, most of the weight structure is compatible—only this small handful is actually in the way.

The approach is restrained: re-quantize these 168 Attention tensors from BF16 to Q80, keep the file size unchanged, and stuff them in-place into the old layout file. No rewriting the Fork, no introducing a new quantization format.

This "in-place replacement only" approach minimizes the scope of changes. For automated coding pipelines, less generation means less waiting—and here you get both speed and shorter generation.
UD-Q4KM and Q4KM are two 4-bit quantization tags in the GGOF ecosystem: Q4KM refers to a K-quant-based mixed quantization that is mostly 4-bit, keeping higher bit width for some key tensors; the UD prefix indicates Unsloth's dynamic quantization variant, which automatically adjusts bit allocation per tensor on sensitive layers. The two are close in file size, but tensor-level type annotations and arrangement may differ—which is exactly why the old layout loader can't directly apply them. Q80 is not 8-bit integer quantization, but a special block quantization type in GGOF that uses 8 bits to store quantized indices along with scale factors, completing data rearrangement while keeping file footprint close to the original BF16 tensors—hence the emphasis on "unchanged size" allowing in-place replacement. Attention tensors are limited in number and regular in structure, so re-quantizing them alone has controllable impact on overall accuracy.
Test Results: 95 tok/s and Shorter Outputs
In the replaced Fork, Kaveling still reaches about 95 tok/s mainline speed, basically on par with the original Inkling under the old layout.

More noteworthy is the change at the generation quality level. On small coding tasks, output Tokens drop by about 27% and wall-clock time by about 26%. This isn't trading precision for speed—it's the output convergence brought by the Concise-Reasoning fine-tune itself, combined with the old layout's efficient loading path. For automated coding workflows that call the model repeatedly, this "less generation" translates directly into shorter waits.
Lama-Bench is the built-in benchmarking tool of llama.cpp, where TG64 refers to text generation speed for 64 tokens (tok/s), reflecting decode-phase throughput; PP512 refers to prompt prefill speed for processing 512 tokens at once, reflecting encode-phase throughput. Together they help distinguish whether the bottleneck is compute or memory bandwidth: low TG usually points to VRAM bandwidth or loading path overhead, while low PP is more related to compute or batch efficiency. In this article, the RX 7900 XT's TG64 of about 90 tok/s and PP512 of about 1930 indicate that the GPU's decode and prefill capabilities are both normal—so the 95 vs 58 tok/s gap between old and new models more likely comes from how the loader adapts to the layout, not from insufficient hardware.
Takeaways for Local Inference Enthusiasts
The value of this case isn't in any specific model, but in a troubleshooting mindset: when a new model runs slowly in an old toolchain, first locate whether the bottleneck is the loading path or the hardware itself. Lama-Bench data has already ruled out the GPU factor—what remains is layout compatibility.
Second, difference analysis is more cost-effective than full migration. 168 Attention tensors are just a small fraction of the whole model; re-quantizing and replacing in-place costs far less than rewriting the Fork or converting the entire weight format.
Finally, quantization format choices can be more flexible. The BF16-to-Q80 conversion achieved layout adaptation while keeping file size unchanged, showing that quantization isn't just a compression tool—it can also serve as a compatibility layer. If you're also running local inference and encounter the situation where "the old path can't handle new weights," this small change is worth trying. The key isn't chasing the new—it's letting the old path handle the new weights.
Related articles

Hands-On with Caveling: Is the Fine-Tuned Inkling That Saves 43% of Reasoning Tokens Worth Switching To?
Caveling is Caveman's fine-tuned version of Thinking Machines' Inkling R mini, claiming 43% fewer reasoning tokens at similar accuracy. Based on hands-on testing, this article compares speed, accuracy, and performance across task types to assess whether it's worth switching from the original.

Two Paths to AI Loss of Control: Invader or Descendant?
Ege Erdil argues AI loss of control comes in two forms: takeover by an external force, or handing control to descendants. This article analyzes the distinction, why superintelligence is more like an invader, and how the speed of value drift determines risk severity.

Fortnite Ushers in the "Infinite Era": Winners Carry Their Loadout Into the Next Match
Epic Games launches Fortnite Infinite: winning players carry their previous loadout directly into another live match, breaking battle royale's single-match settlement convention. This article analyzes the mechanic's design logic, competitive fairness concerns, and what players should watch for.