๐Ÿค–AI RepoIndex
๐Ÿงฉ AI FrameworksOpen SourceFree

Axolotl

YAML-configurable fine-tuning for LoRA, QLoRA, and full fine-tuning

4.4/ 5โญ 12,000 GitHub starsPythonApache-2.0

๐Ÿ“‹ Overview

Axolotl is an open-source fine-tuning framework that wraps multiple approaches (LoRA, QLoRA, full fine-tuning, DPO, RLHF) in a simple YAML-configurable interface. Unlike Unsloth (which focuses on speed), Axolotl prioritizes flexibility โ€” supporting 50+ model architectures (Llama, Mistral, Gemma, Qwen, Phi, Falcon, MPT), multiple datasets formats, and advanced techniques like flash attention, gradient checkpointing, and distributed training. The YAML config makes experiments reproducible and shareable, and the active community maintains templates for most popular models.

โœจ Key Features

  • โ€ข12K+ GitHub stars โ€” most flexible fine-tuning framework
  • โ€ขYAML-configurable: model, dataset, method in one file
  • โ€ข50+ model architectures supported
  • โ€ขLoRA, QLoRA, full fine-tuning, DPO, RLHF
  • โ€ขFlash attention 2, gradient checkpointing, FSDP
  • โ€ขBuilt-in GGUF export for local inference
  • โ€ขActive community with model-specific templates

๐ŸŽฏ The Problem It Solves

Fine-tuning LLMs requires stitching together multiple libraries (PEFT, bitsandbytes, transformers, datasets) with careful memory management. Axolotl collapses this complexity into a single YAML config โ€” define your model, dataset, and method, then run.

๐Ÿ”ง How It Works

You write a YAML config specifying base model, dataset, fine-tuning method (LoRA/QLoRA/full), and training parameters. Axolotl handles the rest: model loading with quantization, dataset preprocessing, training with HuggingFace Trainer, and adapter merging. It supports flash attention 2, gradient checkpointing, and distributed training via FSDP. The framework auto-detects your hardware and adjusts settings. Export to GGUF for local inference is built-in.

๐Ÿš€ Installation & Quick Start

Installation

See website

Quick Start

  1. See documentation

โœ… Pros

  • โ€ขMost flexible fine-tuning framework
  • โ€ขYAML config makes experiments reproducible
  • โ€ขBroadest model support (50+ architectures)
  • โ€ขMultiple methods: LoRA, QLoRA, DPO, RLHF
  • โ€ขBuilt-in GGUF export
  • โ€ขApache 2.0 licensed โ€” completely free
  • โ€ขActive community with templates

โŒ Cons

  • โ€ขNot as fast or memory-efficient as Unsloth
  • โ€ขRequires more GPU RAM for equivalent models
  • โ€ขYAML config has a learning curve
  • โ€ขDocumentation assumes ML expertise
  • โ€ขBreaking changes between versions

๐Ÿ’ฌ Practitioner Verdict

โ€œAxolotl is the most flexible fine-tuning framework โ€” the YAML config makes experiments reproducible, and the model support is unmatched. The trade-off: not as fast or memory-efficient as Unsloth, requires more GPU RAM for equivalent models, and the YAML config has a learning curve. For researchers and teams who need maximum flexibility and model choice, Axolotl is the default.โ€
1

Self-Hosted (Free)

Open source, MIT/Apache licensed. Run it yourself.

โญ Star & Clone on GitHub

Free forever. Your infrastructure, your data.

3

Deployment Options

Ways to run Axolotl in production

๐Ÿ“Š Specifications

Language
Python
License
Apache-2.0
Platform
Linux, macOS, Windows
Supported Models
REST API, CLI

๐Ÿ’ฐ Pricing Reality

100% free Apache 2.0. No paid tier. You supply your own GPU hardware or cloud instance.

๐Ÿ‘ฅ Community Health

Stars12,000
Forks1,500
Contributors240
Health Score7.4/10

๐Ÿท๏ธ Tags

Open SourceFree