Axolotl is a free and open-source LLM post-training and fine-tuning framework, used to simplify the fine-tuning process for the latest large language models.
Purpose: Aimed at developers and researchers who need to train or fine-tune LLMs, covering the complete pipeline from data preprocessing to inference.
Main capabilities: Supports a variety of models on the Hugging Face Hub such as GPT-OSS, LLaMA, Mistral, Mixtral, Pythia, etc.; supports multimodal training for vision-language models (LLaMA-Vision, Qwen2-VL, Pixtral, LLaVA, SmolVLM2, GLM-4.6V, InternVL 3.5, Gemma 3n, PaddleOCR-VL, Muse Glimmer) and audio models such as Voxtral. Training methods include full fine-tuning, LoRA, QLoRA, GPTQ, QAT (int8/int4/FP8/NVFP4/MXFP4), FP8 mixed precision, NVFP4/MXFP4 MoE LoRA, preference tuning (DPO, IPO, KTO, ORPO), RL (GRPO, GDPO), and reward modeling (RM)/process reward modeling (PRM). Performance optimization covers Multipacking, Flash Attention 2/3/4, Xformers, Flex Attention, SageAttention, Liger Kernel, Cut Cross Entropy, ScatterMoE, sequence parallelism, LoRA optimization, multi-GPU (FSDP2, DeepSpeed), and multi-node (Torchrun, Ray) training. Datasets can be loaded from local, HuggingFace, and cloud storage (S3, Azure, GCP, OCI).
Usage: Reuse the entire fine-tuning pipeline through a single YAML configuration file. Environment requirements: NVIDIA GPU (Ampere or newer, for bf16 and Flash Attention) or AMD GPU, Python >=3.12 (3.12 recommended), PyTorch ≥2.13.0 (2.13.0 recommended). Docker images and PyPI packages are provided; the official recommendation is to install with Docker to reduce environment issues.
Limitations: The materials do not provide specific fee and pricing information; opt-out telemetry is enabled by default and can be disabled by setting AXOLOTL_DO_NOT_TRACK=1.