Axolotl streamlines fine-tuning and post-training for many LLM and multimodal architectures. One configuration file can drive dataset prep, training, evaluation, quantization, and export.
Overview
Axolotl is a tool for post-training and fine-tuning large language models and related multimodal models. It targets teams who want a single workflow from dataset preparation through training, evaluation, and deployment-oriented export without stitching many separate tools by hand.
It supports a wide range of model families from hubs such as Hugging Face, including vision-language and audio models where configured. Training modes span full fine-tuning, LoRA and QLoRA, quantization-aware training, preference tuning, reinforcement-style methods, and reward or process reward modeling, with options for multi-GPU and multi-node distributed setups.
Configuration is centered on YAML that can be reused across preprocessing, training runs, and downstream steps such as GGUF export via the CLI for use with llama.cpp and Ollama. Performance-oriented features mentioned in the project include multipacking, various attention implementations, FSDP2 and DeepSpeed paths, and flexible dataset loading from local paths or cloud object stores.
Installation can use Docker to reduce environment issues, and documentation covers multi-GPU, multi-node, and integration with several cloud job providers. Optional telemetry collects operational usage metrics and can be disabled with an environment variable.
Key features
- YAML-driven training pipeline
- LoRA QLoRA and full fine-tuning
- Multimodal model support
- Multi-GPU and multi-node training
- Hugging Face and cloud datasets
- GGUF export command
- Preference and RL tuning modes
- Docker-based installation
Use cases
- Fine-tuning hub LLMs on custom data
- Multimodal vision-language training
- Distributed GPU training jobs
- Quantized model export for inference
- Experimenting with alignment methods