From-Scratch LoRA Fine‑Tuning Trainer with Manual Gradient Checkpointing and Adapter Merging in Pure PyTorch
A hands‑on guide to implementing LoRA fine‑tuning with manual gradient checkpointing and adapter merging in pure PyTorch, ready to run and extend.