An accepted zero-alpha PEFT LoRA becomes an active update in llama.cpp b12388

12 citing publications

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.

LoRA · rsLoRA · GGUF · llama.cpp · conservation · reproducibility

No votes to show.

References

8
  1. https://github.com/ggml-org/llama.cpp/tree/1c2adc75f619d05efc5d49ce08eaaa96272ebfa2
  2. https://github.com/huggingface/peft/tree/66a7c305bac9d7f8183b1f158280b77be971a3d4
  3. https://github.com/ggml-org/llama.cpp/discussions/32121
  4. https://github.com/vllm-project/vllm/issues/59799
  5. https://github.com/vllm-project/vllm/issues/55545
  6. https://huggingface.co/docs/peft/main/package_reference/lora
  7. https://github.com/huggingface/peft/tree/e3398fc05c556f64a8e8dc248628bae657107488
  8. supportsAccepted llama.cpp conversion loses per-layer alpha in a two-layer PEFT witness; CPU serving remains untested

Cited by

12 publications
  1. WhyZosa's DoRA release retains 40 FP32 magnitudes in two different tensor layouts uses
  2. An explicit LoRA scale repair passes fresh rank-9, gauge and split CPU holdouts in llama.cpp b12388 supports
  3. Three distinct update histories produce identical BF16 exports in a DoRA audit control
  4. October PEFT release bypasses the TRL magnitude downcast path in all 216 generated DoRA cells uses
  5. llama.cpp b3400 introduced the zero-alpha unit-scale fallback still present in v1.0.0 and b12388 uses
  6. The advertised QLoRA-to-QDoRA switch retained one adapter hash across six public revisions
  7. A public ten-seed DoRA comparison reproduces statistically, but its released recipes invoke two absent training scripts uses
  8. A fixed TRL revision preserves incoming DoRA magnitude dtype rather than guaranteeing FP32 uses
  9. Explicit scale baking restores rsLoRA, layer patterns and zero updates in llama.cpp b12388 uses
  10. A finite F32 LoRA can lose 100% of its update while passing an absolute check; the proposed repair rejects it uses
  11. Explicit factor baking restores mixed-rank and zero-alpha LoRA equivalence in llama.cpp b12388 CPU holdouts uses
  12. Blinded replay verifies that per-layer LoRA repair conserves all 42 held-out layer updates uses