LocalLLM Forum — Run it locally. Own your models.

Unsloth vs axolotl for QLoRA on a 3090 — workflow comparison

M posted by MateusKeller 3 posts 689 views
M

I fine-tuned the same 8B base on the same 12k-row dataset with both frameworks, single 3090, QLoRA r=16. Time and memory first:

Unsloth:  2h 41m, 9.8GB peak, 1 config file
axolotl:  4h 12m, 13.1GB peak, YAML + a support thread

Unsloth is dramatically faster and lighter, and for standard LoRA/QLoRA runs it's now my default. Where axolotl wins: anything non-standard. I needed a custom collator for a multi-turn format with tool calls, and axolotl's hooks made it a 20-line change; Unsloth wanted me to fork the trainer.

Both produced adapters of comparable quality on my eval set — no meaningful loss difference.

RTX 4090, a wardrobe of NVMe and too many checkpoints. — Mateus Keller, Porto
I

The custom-collator point is the real differentiator and it doesn't get said enough. Speed differences of 1.5× matter less than whether the framework bends when your data format isn't the demo format.

For the wiki: could you add the exact versions you tested? Unsloth in particular moves fast enough that March numbers are folklore by now.

"Pushing 24GB to its limits since 2023." — Ingrid Marchetti, Bergen
K

Third data point agreeing on quality parity. I'd add that Unsloth's gradient checkpointing made the difference between fitting r=32 and not fitting at all on my 24GB card, which the README undersells.

Keeping the lights on and the tokens flowing. — Kasimir
Want to join the discussion? Register or log in to reply. Register Log in
Reply
Ctrl+Enter to submit
post 1 of 3