SuperAPI AI Directory

Axolotl

Tool for fine-tuning open LLMs, supporting full fine-tunes, LoRA, QLoRA and preference-tuning techniques across many model families, configured through simple YAML files.

Open website

About this tool

Axolotl is a free, open-source LLM fine-tuning framework designed to simplify the post-training and fine-tuning process for the latest large language models (LLMs).

Purpose Axolotl is aimed at users who need to perform customized training on open-source large models, covering the complete fine-tuning pipeline from dataset preprocessing, training, evaluation, and quantization to inference.

Main Capabilities

  • Multi-model support: Can train GPT-OSS, LLaMA, Mistral, Mixtral, Pythia, and many other models on the Hugging Face Hub.
  • Multimodal training: Supports fine-tuning vision-language models (VLMs), including LLaMA-Vision, Qwen2-VL, Pixtral, LLaVA, SmolVLM2, GLM-4.6V, InternVL 3.5, Gemma 3n, PaddleOCR-VL, Muse Glimmer, as well as audio models such as Voxtral, supporting images, video, and audio.
  • Training methods: Full fine-tuning, LoRA, QLoRA, GPTQ, QAT (int8/int4/FP8/NVFP4/MXFP4), FP8 mixed-precision training, NVFP4/MXFP4 MoE LoRA, preference tuning (DPO, IPO, KTO, ORPO), reinforcement learning (GRPO, GDPO), reward modeling (RM)/process reward modeling (PRM).
  • Configuration method: A single reusable YAML configuration file can run through the entire fine-tuning pipeline, including dataset preprocessing, training, evaluation, quantization, and inference.
  • Performance optimization: Multipacking, Flash Attention 2/3/4, Xformers, Flex Attention, SageAttention, Liger Kernel, Cut Cross Entropy, ScatterMoE, sequence parallelism (SP), LoRA optimization, multi-GPU training (FSDP2, DeepSpeed), multi-node training (Torchrun, Ray), etc.
  • Dataset processing: Supports loading datasets from local storage, HuggingFace, and cloud storage (S3, Azure, GCP, OCI).
  • Cloud-ready: Provides Docker images and PyPI packages, usable on cloud platforms and local hardware.

Usage 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). Installing with Docker is usually less error-prone than installing in your own environment. For other installation methods, see the official documentation.

Applicable Scenarios Suitable for research and engineering scenarios that require full fine-tuning, parameter-efficient fine-tuning (LoRA/QLoRA), preference alignment, reinforcement learning training, reward modeling, or multimodal model fine-tuning of open-source large models, supporting single-GPU, multi-GPU, and multi-node training.

Limitations Official materials do not provide specific fees, prices, or performance data; some features (such as multimodal fine-tuning) have been marked as Beta in historical updates. Axolotl enables opt-out telemetry by default, collecting basic system information, model type, and error rates, and does not collect personal data or file paths; it can be disabled by setting AXOLOTL_DO_NOT_TRACK=1. The project uses the Apache 2.0 license.