Fine-tuning Tools Comparison
Choose the right fine-tuning framework for training LLMs on Clore.ai GPU servers.
Quick Decision Matrix
Best for
Speed + memory
Config-driven training
Beginner-friendly
Research + RLHF
Speed vs baseline
2-5× faster
~1× (standard)
~1× (standard)
~1× (standard)
Memory reduction
70-80% less
QLoRA standard
QLoRA standard
Standard
RLHF/DPO/PPO
Basic
✅
✅
✅ (native)
WebUI
❌
❌
✅
❌
GitHub stars
23K+
9K+
37K+
10K+
License
LGPL (free for non-commercial)
Apache 2.0
Apache 2.0
Apache 2.0
Overview
Unsloth
Unsloth is laser-focused on one thing: making fine-tuning as fast and memory-efficient as possible. It rewrites key operations in Triton and optimizes CUDA kernels.
Philosophy: Maximum speed, minimum VRAM — no compromises.
Axolotl
Axolotl wraps HuggingFace Transformers with a YAML-based configuration system. It handles the complexity of training setup so you can focus on data and hyperparameters.
Philosophy: Everything in YAML, full flexibility underneath.
LLaMA-Factory
LLaMA-Factory supports the widest range of models (100+) and training methods, with a web UI for configuration. It's the most accessible option for non-researchers.
Philosophy: Everything works, for everyone.
TRL (Transformer Reinforcement Learning)
TRL is HuggingFace's official RLHF library. It's the standard for PPO, DPO, ORPO, and other alignment training methods.
Philosophy: Research-first, alignment training native.
Speed Benchmarks
Training Speed Comparison (tokens/second)
Test setup: LLaMA 3.1 8B, LoRA r=16, 4-bit quantization, batch size 4, A100 80GB
Unsloth (4-bit)
~4,200
2.8×
~8GB
Axolotl (QLoRA)
~1,500
1.0×
~16GB
LLaMA-Factory (QLoRA)
~1,480
~1.0×
~16GB
TRL (QLoRA)
~1,450
~0.97×
~18GB
Unsloth (full 16-bit)
~2,800
1.9×
~22GB
Unsloth advantage is real: 2-5× speed comes from custom Triton kernels for attention, cross-entropy, RoPE, and LoRA. Not just marketing.
VRAM Usage Comparison
Training LLaMA 3.1 8B, sequence length 2048:
Full fine-tune (bf16)
60GB
70GB
72GB
74GB
LoRA (bf16)
18GB
24GB
25GB
26GB
QLoRA (4-bit)
8GB
16GB
16GB
18GB
QLoRA (4-bit, long ctx)
12GB
24GB
24GB
26GB
Minimum GPU for 8B model:
Unsloth: RTX 3080 (10GB) ✅
Others: RTX 3090 (24GB) required
Supported Models
Model Support Matrix
LLaMA 3.x
✅
✅
✅
✅
LLaMA 2
✅
✅
✅
✅
Mistral
✅
✅
✅
✅
Mixtral MoE
✅
✅
✅
✅
Gemma 2
✅
✅
✅
✅
Phi-3/3.5
✅
✅
✅
✅
Qwen 2.5
✅
✅
✅
✅
DeepSeek
✅
✅
✅
✅
Falcon
✅
✅
✅
✅
GPT-NeoX
Partial
✅
✅
✅
T5/FLAN
❌
✅
✅
✅
BERT/RoBERTa
❌
✅
✅
✅
Vision LLMs
Partial
Partial
✅
✅
Training Method Support
Full fine-tune
✅
✅
✅
✅
LoRA
✅
✅
✅
✅
QLoRA
✅
✅
✅
✅
DoRA
✅
✅
✅
❌
PEFT
✅
✅
✅
✅
SFT
✅
✅
✅
✅ (native)
DPO
✅
✅
✅
✅ (native)
PPO
❌
✅
✅
✅ (native)
ORPO
✅
✅
✅
✅
KTO
❌
✅
✅
✅ (native)
GRPO
✅
❌
✅
✅
CPT (continued pretraining)
✅
✅
✅
✅
Unsloth: Deep Dive
What Makes It Fast
Triton kernels: Rewrites Flash Attention, cross-entropy loss, and LoRA in Triton
Fused operations: Combines multiple CUDA ops into one kernel
Smart gradient checkpointing: "unsloth" mode saves ~30% more memory
Efficient backprop: Avoids materializing large intermediate tensors
Installation on Clore.ai
Complete Training Script
Weaknesses: No PPO, limited to supported model list, LGPL license (check for commercial use)
Axolotl: Deep Dive
Configuration-First Approach
Axolotl shines when you want reproducible, version-controlled training configurations:
Best for: Teams that want reproducible, config-versioned training runs
LLaMA-Factory: Deep Dive
WebUI Walkthrough
WebUI tabs:
Train — configure base model, dataset, method
Evaluate — run MMLU, CMMLU benchmarks
Chat — interactive inference
Export — merge LoRA, quantize to GGUF
CLI Training Example
Best for: Beginners, teams wanting WebUI, DPO/RLHF without deep research knowledge
TRL: Deep Dive
RLHF Pipeline Example
TRL is the go-to for alignment training:
Best for: Alignment research, RLHF, DPO, PPO, ORPO implementations
Choosing the Right Tool
Decision Flow
By Team Type
Individual researcher
Unsloth
Speed + Jupyter notebooks
ML engineer
Axolotl
Config-driven, reproducible
Product team
LLaMA-Factory
WebUI, wide model support
Alignment team
TRL
Native RLHF primitives
Startup
Unsloth + TRL
Speed + alignment when needed
Clore.ai GPU Recommendations
Multi-GPU 80GB-class rigs are not listed on the Clore.ai marketplace. The biggest boxes listed today are 4× RTX PRO 6000 Blackwell (96GB each, 380GB total) and 8–11× RTX 5090 (32GB each). A100 / H200 / B200 capacity is sold as bare metal on request. Check GPU Pricing & Availability before sizing a deployment.
7-8B LoRA (QLoRA)
RTX 3080 (10GB)
RTX 3090
Unsloth
13B LoRA
RTX 3090 (24GB)
A6000 (48GB)
Unsloth/Axolotl
70B LoRA
A100 (80GB)
2×A100
Axolotl/TRL
8B Full FT
A100 (40GB)
A100 (80GB)
Any
DPO/PPO 7B
RTX 4090 (24GB)
A6000 (48GB)
TRL
Useful Links
Unsloth GitHub — 23K+ stars
Axolotl GitHub — 9K+ stars
LLaMA-Factory GitHub — 37K+ stars
TRL GitHub — 10K+ stars
Summary
Unsloth
Speed-critical training, small GPUs
2-5× faster, 70% less VRAM
Axolotl
Config-driven, reproducible runs
YAML-first, many data formats
LLaMA-Factory
100+ models, WebUI, beginners
Most model support, GUI
TRL
RLHF, DPO, alignment research
Native alignment training
For most Clore.ai use cases: start with Unsloth (speed + memory efficiency), add TRL if you need DPO or PPO alignment training.
Last updated
Was this helpful?