Newer Unsloth versions auto-enable SFTConfig's padding_free when it's left unset, which conflicts with an explicit max_length + packing=False and raises a ValueError at SFTTrainer init. Verified end-to-end on a GTX 1650 (4GB VRAM): 60 steps complete cleanly, peak reserved memory 1.543 GB (42% of total), train_loss 1.662 -> 1.264. |
||
|---|---|---|
| .. | ||
| 4gb_vram_qlora_guide.md | ||
| train_4gb_vram.py | ||