| What it is | Fine-tune, align, evaluate, quantize and deploy 600+ LLMs and 400+ multimodal models | An open source framework for fine-tuning 100+ language and vision-language models from a CLI or a web UI | A free and open source framework for fine-tuning and post-training large language models | A comprehensive library to post-train foundation models |
| Features | - full-parameter and LoRA fine-tuning of 600+ LLMs and 400+ multimodal models
- DPO, KTO, ORPO, SimPO and reward model training
- GRPO, DAPO, GSPO and other RL algorithms
- Megatron parallelism for MoE models
- DeepSpeed ZeRO and FSDP distributed training
- GPTQ, AWQ, BNB and FP8 quantization
- inference and deployment through vLLM, SGLang and LMDeploy
- Gradio web UI for training and inference
| - Fine-tune 100+ LLMs and vision-language models without writing training code
- LlamaBoard web UI and llamafactory-cli driven by YAML configs
- Pre-training, SFT, reward modelling, PPO, DPO, KTO, ORPO and SimPO
- Full, freeze, LoRA and 2/3/4/5/6/8-bit QLoRA tuning
- GaLore, BAdam, APOLLO, DoRA, LongLoRA, PiSSA and other memory-saving methods
- OpenAI-style API with vLLM or SGLang for inference
- NVIDIA CUDA, AMD ROCm and Ascend NPU support
- Experiment tracking with TensorBoard, Weights & Biases, MLflow and SwanLab
| - One YAML config for preprocessing, training, evaluation, quantization and inference
- Full fine-tuning, LoRA, QLoRA and quantization-aware training
- Preference tuning (DPO, IPO, KTO, ORPO) and RL (GRPO, GDPO)
- Multi-GPU and multi-node training with FSDP, DeepSpeed and N-D parallelism
- Vision-language and audio model fine-tuning
- GGUF export for llama.cpp and Ollama
- Docs for AI coding agents bundled with the CLI (axolotl agent-docs)
| - SFTTrainer for supervised fine-tuning
- DPOTrainer, KTOTrainer, CPO and ORPO for preference optimization
- GRPOTrainer, AsyncGRPOTrainer and RLOOTrainer for online RL
- RewardTrainer for reward models
- Knowledge distillation trainers
- Scales with Accelerate, DDP, DeepSpeed ZeRO and FSDP
- PEFT integration for LoRA and QLoRA
- vLLM generation for online methods
- All 10 features
|
| Limitations | | - Needs Python 3.11 or later
- Fine-tuning needs a GPU or NPU with enough memory: the README estimates 6 GB for 4-bit QLoRA of a 7B model and 120 GB for its full 32-bit fine-tuning
- Model weights stay under their own licences, which the README asks you to follow
| - Needs an NVIDIA or AMD GPU: the installation guide lists one as a requirement, with Ampere or newer for bf16 and Flash Attention
- Telemetry is on by default: it sends system, hardware, model and error information to PostHog until you set AXOLOTL_DO_NOT_TRACK=1
| |