Skip to main content
Training & Fine-tuningProduction

Axolotl

axolotl-ai-cloud / axolotl

One YAML config for fine-tuning: LoRA, QLoRA, full-parameter, DPO, GRPO and multi-node training.

12.7k stars 1477 forks Python Language Apache-2.0 License Last push 2026-11-19

Why choose it

  • Config-driven and reproducible — good for turning fine-tuning into a fixed pipeline.
  • Supports multiple training objectives and data formats, with many community recipes.
  • Integrates with DeepSpeed and FSDP, scaling from one GPU to many nodes.

Not for

If you do not want to read YAML and just want buttons, start with a hosted platform.
Highly custom training loops may require source changes.

Minimum setup

  1. Pick the YAML under examples closest to your model size.
  2. Swap in your JSONL dataset and run 50 steps to confirm field mapping.
  3. Record VRAM, throughput and eval scores before extending training or changing parallelism.

Dependencies and cost

Python + PyTorch/CUDA; multi-node needs DeepSpeed/FSDP and shared storage; data must follow the expected format.

License and usage boundaries

Code is Apache-2.0; model weights and datasets carry their own licenses.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • Unsloth — Start here,Accelerated QLoRA/LoRA fine-tuning: Triton kernels cut VRAM use and training time for 7B–70B models.
  • TRL — Production,Hugging Face's RL and alignment training library: SFT, DPO, PPO, GRPO and reward models.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.