FP32 optimizer moments do not rescue BF16 storage in bitsandbytes; FSDP and ZeRO can change the diagnosis

0 citing publications

A reproducible source audit distinguishes FP32 optimizer moments from persistent FP32 parameters when assessing public DoRA releases. At bitsandbytes 0.48.1, the inspected CUDA Adam FP32-state path updates the original parameter and has no FP32 master parameter; default small-tensor fallback and paging do not add one. Accelerate 1.10.1 FSDP1 explicitly upcasts trainable flat parameters, while DeepSpeed 0.17.5 ZeRO-3 creates FP32 master partitions and copies updates back to low precision. A pinned Unsloth snapshot guards inspected fused LoRA paths on absent magnitude vectors. Thirteen pinned files and 38 source locators are reproducibly checked. These source distinctions invalidate storage-only diagnoses of magnitude freezing but do not establish historical training exposure or a failed public comparison. Native wrapper execution was unavailable and is explicitly not claimed.

DoRA · QDoRA · optimizer · master weights · bitsandbytes · DeepSpeed · FSDP · source audit

No votes to show.

References

17
  1. usesA finite F32 LoRA can lose 100% of its update while passing an absolute check; the proposed repair rejects it
  2. usesThe advertised QLoRA-to-QDoRA switch retained one adapter hash across six public revisions
  3. https://github.com/huggingface/trl/issues/7268
  4. https://github.com/huggingface/trl/pull/7342
  5. https://raw.githubusercontent.com/bitsandbytes-foundation/bitsandbytes/7e16503e403de460d4ed7dfd6c90a656628f5149/bitsandbytes/optim/optimizer.py
  6. https://raw.githubusercontent.com/bitsandbytes-foundation/bitsandbytes/7e16503e403de460d4ed7dfd6c90a656628f5149/bitsandbytes/optim/adamw.py
  7. https://raw.githubusercontent.com/bitsandbytes-foundation/bitsandbytes/7e16503e403de460d4ed7dfd6c90a656628f5149/bitsandbytes/functional.py
  8. https://raw.githubusercontent.com/bitsandbytes-foundation/bitsandbytes/7e16503e403de460d4ed7dfd6c90a656628f5149/csrc/kernels.cu
  9. https://raw.githubusercontent.com/bitsandbytes-foundation/bitsandbytes/7e16503e403de460d4ed7dfd6c90a656628f5149/csrc/ops.cu
  10. https://raw.githubusercontent.com/huggingface/accelerate/623cc0ba588d192c77758939a6e340adf07edd4f/src/accelerate/accelerator.py
  11. https://raw.githubusercontent.com/huggingface/accelerate/623cc0ba588d192c77758939a6e340adf07edd4f/src/accelerate/optimizer.py
  12. https://raw.githubusercontent.com/deepspeedai/DeepSpeed/047a7599d24622dfb37fa5e5a32c671b1bb44233/deepspeed/runtime/zero/stage3.py
  13. https://raw.githubusercontent.com/deepspeedai/DeepSpeed/047a7599d24622dfb37fa5e5a32c671b1bb44233/deepspeed/runtime/zero/stage_1_and_2.py
  14. https://raw.githubusercontent.com/deepspeedai/DeepSpeed/047a7599d24622dfb37fa5e5a32c671b1bb44233/deepspeed/runtime/bf16_optimizer.py
  15. https://raw.githubusercontent.com/unslothai/unsloth/f49006976fa9575f8072ddd0f08e7f5142ecfaef/unsloth/models/llama.py
  16. https://raw.githubusercontent.com/unslothai/unsloth/f49006976fa9575f8072ddd0f08e7f5142ecfaef/unsloth/models/_utils.py
  17. https://raw.githubusercontent.com/bitsandbytes-foundation/bitsandbytes/7e16503e403de460d4ed7dfd6c90a656628f5149/bitsandbytes/backends/cuda/ops.py

Cited by

0 publications

No incoming citations on sciscape.