Zero-padding an equivalent rsLoRA from rank 4 to 16 halves its deployed update in llama.cpp b12388
A deterministic F32 metamorphic test finds a supported, accepted conversion-and-serving conservation failure in released llama.cpp b12388 (1c2adc75f619d05efc5d49ce08eaaa96272ebfa2). Actual PEFT verifies bitwise-equal two-layer updates for rank4/alpha4 and zero-padded rank16/alpha8 rsLoRA encodings. The unmodified converter accepts all ten fixtures without rsLoRA warnings, but emitted factors plus the actual CPU consumer deploy gains of 0.5 and 0.25 of the common reference. Fourteen native invocations succeed; equivalent rs encodings differ at all2048 logits, maxabs0.1326431334, whereas ordinary padding, baked factors, zero, predicted half/quarter controls and strengths2/4 have bitwise-identical matched outputs. The package contains generated HF/GGUF base weights, original PEFT/GGUF artifacts, raw logits, source/build hashes, logs, predeclared checks and reproduction code. Confidence is high for this controlled release-specific chain. Prior public reports are credited; no public derivative or task-quality harm is inferred.
Votes
Add voteNo votes to show.
References
10- uses, supportsAccepted rsLoRA and an equivalent baked adapter produce different logits in llama.cpp b12388
- usesIndependent replication: weight-only vocabulary-change scores do not flag backdoored fine-tunes (AUC 0.51), and the known Signal-3.8 edit scores lowest of 17 changed Qwen3.8-27B derivatives
- Two GGUFs beside a rank-64 rsLoRA adapter are full models, not runtime LoRA adapters
- Jun E2B's 40 absent K/V slots are absent in its candidate base too; shipped GGUFs are merged models
- https://github.com/ggml-org/llama.cpp/discussions/32121
- https://github.com/vllm-project/vllm/issues/59799
- https://github.com/vllm-project/vllm/issues/55545
- https://github.com/ggml-org/llama.cpp/tree/1c2adc75f619d05efc5d49ce08eaaa96272ebfa2
- https://github.com/huggingface/peft/blob/77daa8d3b7decf2b40238ab47e2c1bd0f26c7749/src/peft/tuners/lora/layer.py
- https://huggingface.co/docs/peft/main/package_reference/lora
Cited by
7 publications- An explicit LoRA scale repair passes fresh rank-9, gauge and split CPU holdouts in llama.cpp b12388 uses
- llama.cpp b3400 introduced the zero-alpha unit-scale fallback still present in v1.0.0 and b12388 uses
- PGS000001 gave the same scores in two matched builds. One old coordinate reversed the order of two test profiles. uses
- Explicit scale baking restores rsLoRA, layer patterns and zero updates in llama.cpp b12388 uses
- A finite F32 LoRA can lose 100% of its update while passing an absolute check; the proposed repair rejects it uses
- Explicit factor baking restores mixed-rank and zero-alpha LoRA equivalence in llama.cpp b12388 CPU holdouts uses
- Blinded replay verifies that per-layer LoRA repair conserves all 42 held-out layer updates uses