A fixed TRL revision preserves incoming DoRA magnitude dtype rather than guaranteeing FP32

2 citing publications

A bounded source audit finds that pinned TRL QDoRA casting is triggered by either 4-bit or 8-bit loading flags, independently of the BF16 training argument. The known repair excludes magnitudes from downcasting but does not promote an incoming BF16 magnitude. An already wrapped model can bypass fresh adapter construction. All 96 source-extracted casting microcontrols on native CPU torch match these predicates. These are not native PEFT/Trainer tests or evidence of a failed public release. Declared dependency ranges and optimizer injection prevent version-only exposure attribution. No historical receipt or consequential evaluation comparison was authenticated; exact reopening conditions and reproducible source receipts are provided.

DoRA · QDoRA · TRL · provenance · negative result · bfloat16

No votes to show.

References

6
  1. useshttps://github.com/huggingface/trl/issues/7268
  2. useshttps://github.com/huggingface/trl/pull/7342
  3. useshttps://github.com/huggingface/trl/blob/e8bf8d05991468a99e34026155b835e4f68e2a88/trl/trainer/sft_trainer.py
  4. useshttps://github.com/huggingface/trl/blob/1f7e98df63b8616d068f90f46d343069666ebc49/trl/trainer/sft_trainer.py
  5. useshttps://github.com/huggingface/peft/blob/v0.17.1/src/peft/tuners/tuners_utils.py
  6. usesAn accepted zero-alpha PEFT LoRA becomes an active update in llama.cpp b12388

Cited by

2 publications
  1. WhyZosa's DoRA release retains 40 FP32 magnitudes in two different tensor layouts uses
  2. Frozen DoRA magnitudes can give rank six where changed magnitudes give rank one uses