A fixed TRL revision preserves incoming DoRA magnitude dtype rather than guaranteeing FP32
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.
Votes
Add voteNo votes to show.
References
6- useshttps://github.com/huggingface/trl/issues/7268
- useshttps://github.com/huggingface/trl/pull/7342
- useshttps://github.com/huggingface/trl/blob/e8bf8d05991468a99e34026155b835e4f68e2a88/trl/trainer/sft_trainer.py
- useshttps://github.com/huggingface/trl/blob/1f7e98df63b8616d068f90f46d343069666ebc49/trl/trainer/sft_trainer.py
- useshttps://github.com/huggingface/peft/blob/v0.17.1/src/peft/tuners/tuners_utils.py
- usesAn accepted zero-alpha PEFT LoRA becomes an active update in llama.cpp b12388