talira

A free and open source framework for fine-tuning and post-training large language models

open sourceApache-2.0free

Axolotl fine-tunes and post-trains large language models from one YAML config that covers dataset preprocessing, training, evaluation, quantization and inference. It does full fine-tuning, LoRA and QLoRA, quantization-aware training, preference tuning (DPO, KTO, ORPO) and reinforcement learning (GRPO), on one GPU or across many with FSDP, DeepSpeed and expert, tensor and context parallelism. It supports models from the Hugging Face Hub, including vision and audio models, and exports to GGUF for llama.cpp and Ollama.

Problems it solves

  • fine-tune an open LLM like Llama, Qwen or Mistral on my own dataset with LoRA or QLoRA
  • train a model across several GPUs or nodes without writing the distributed training code myself
  • run DPO or GRPO preference tuning on an open model from a config file

Features

  • 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)

Limitations

  • Needs an NVIDIA or AMD GPU: the installation guide lists one as a requirement, with Ampere or newer for bf16 and Flash Attention1
  • Telemetry is on by default: it sends system, hardware, model and error information to PostHog until you set AXOLOTL_DO_NOT_TRACK=12

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Axolotl does.

  1. Oumi Fine-tune, evaluate and deploy open LLMs and agents
  2. LlamaFactory An open source framework for fine-tuning 100+ language and vision-language models from a CLI or a web UI
  3. Unsloth Run and train AI models on your own local hardware via an open-source UI
  4. TRL A comprehensive library to post-train foundation models
  5. ms-swift Fine-tune, align, evaluate, quantize and deploy 600+ LLMs and 400+ multimodal models
  6. Colossal-AI PyTorch library for distributed training, fine-tuning and inference of large AI models

Compare Axolotl with the top 3