Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Axolotl

Config-driven toolkit for fine-tuning open models, from LoRA to full multi-GPU runs.

Checked
Visit axolotl.ai(opens in a new tab)
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

What it is

Axolotl drives fine-tuning from a YAML config: pick a base model, dataset format and method (full, LoRA, QLoRA, preference tuning), and it handles the training loop, including multi-GPU setups.

One config file covers preprocessing, training, evaluation and quantisation. After installing, axolotl fetch examples downloads sample configs and axolotl train examples/llama-3/lora-1b.yml starts a LoRA run. Preference methods include DPO, KTO and ORPO, and it also supports GRPO. For more than one GPU it uses FSDP2 or DeepSpeed, and it runs multi-node through torchrun or Ray. It needs an NVIDIA or AMD GPU. It is Apache 2.0 licensed and collects telemetry unless you set AXOLOTL_DO_NOT_TRACK=1.

Best for

Repeatable fine-tuning runs defined in config files.

Skills it helps with

  • Unsloth

    Faster, lower-memory LoRA and QLoRA fine-tuning for open models.

    Open sourceUnsloth

  • TRL

    Hugging Face's post-training library: supervised fine-tuning, DPO, GRPO and reward models.

    Open sourceHugging Face

  • MLX LM

    Runs and fine-tunes LLMs on Apple silicon with MLX.

    Models and local inferenceOpen source

  • Hugging Face

    Hub for models, datasets and Spaces, plus open-source ML libraries.

    Models and local inferenceFreemiumHugging Face

  • Modal

    Serverless cloud for running Python on GPUs for inference, batch jobs and training.

    Models and local inferenceUsage-basedModal

  • Sentence Transformers

    Python library for embedding and reranker models.

    Retrieval and vector searchOpen sourceHugging Face

All Fine-tuning