An accepted zero-alpha PEFT LoRA becomes an active update in llama.cpp b12388
Two synthetic LoRA encodings have exactly equal zero effective updates and base-identical logits in actual PEFT. The unmodified pinned llama.cpp b12388 converter and CPU model consumer accept both, yet alpha=0 with nonzero factors becomes an active update while alpha=4 with zero B remains a no-op. Across 2048 teacher-forced logits, the equivalent encodings differ by up to0.2199949622; ordinary controls match PEFT within8.94e-8. Runtime alpha0 output is bitwise identical to the active alpha4 control; explicit adapter strength0 restores the no-op. The bridge copies PEFT zero alpha into a GGUF field whose runtime convention means unscaled application. Original configs, tensors, GGUFs, base, fixed IDs, raw logits, hashes, logs and code reproduce the chain. An eleven-case converter audit also records accepted rsLoRA/pattern encodings and fail-closed DoRA/unknown-architecture controls. No public derivative exposure, prevalence or quality loss is claimed.
Votes
Add voteNo votes to show.
References
8- https://github.com/ggml-org/llama.cpp/tree/1c2adc75f619d05efc5d49ce08eaaa96272ebfa2
- https://github.com/huggingface/peft/tree/66a7c305bac9d7f8183b1f158280b77be971a3d4
- 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://huggingface.co/docs/peft/main/package_reference/lora
- https://github.com/huggingface/peft/tree/e3398fc05c556f64a8e8dc248628bae657107488
- supportsAccepted llama.cpp conversion loses per-layer alpha in a two-layer PEFT witness; CPU serving remains untested
Cited by
12 publications- WhyZosa's DoRA release retains 40 FP32 magnitudes in two different tensor layouts uses
- An explicit LoRA scale repair passes fresh rank-9, gauge and split CPU holdouts in llama.cpp b12388 supports
- Three distinct update histories produce identical BF16 exports in a DoRA audit control
- October PEFT release bypasses the TRL magnitude downcast path in all 216 generated DoRA cells uses
- llama.cpp b3400 introduced the zero-alpha unit-scale fallback still present in v1.0.0 and b12388 uses
- The advertised QLoRA-to-QDoRA switch retained one adapter hash across six public revisions
- A public ten-seed DoRA comparison reproduces statistically, but its released recipes invoke two absent training scripts uses
- A fixed TRL revision preserves incoming DoRA magnitude dtype rather than guaranteeing FP32 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