axolotl vs torchtune

LLM fine-tuning and post-training frameworks compared

axolotl and torchtune are Python projects for configuring and running LLM post-training workflows, including supervised fine-tuning and preference optimization. axolotl emphasizes a broad, YAML-configured workflow with multimodal and distributed options, while torchtune provides editable PyTorch recipes and model-specific configurations but is no longer actively maintained.

axolotltorchtune
LanguagePythonPython
LicenseApache-2.0BSD-3-Clause
Stars12.5k5.8k
Forks1.5k756
Last analyzedOct 3, 2026Oct 3, 2026

Key differences

  • axolotl covers supervised and preference tuning, reinforcement learning, and supported vision, audio, and video models; torchtune also includes knowledge distillation and packages recipes for specific model families.
  • axolotl uses YAML configuration across preprocessing, training, evaluation, quantization, and inference; torchtune centers on inspectable PyTorch recipes and YAML configs that can be edited or overridden.
  • axolotl lists distributed options including FSDP2, DeepSpeed, and multi-node workflows; torchtune supports single-device and multi-device training, with multi-node options for some recipes.
  • axolotl is licensed under Apache-2.0; torchtune is licensed under BSD-3-Clause, while its third-party model weights may have separate terms.
  • axolotl is not archived; torchtune's development wound down in 2025, so it may suit maintaining existing workflows better than projects that rely on ongoing upstream support.

Choose axolotl if you…

  • need a configurable workflow spanning fine-tuning, evaluation, quantization, and inference.
  • want to run supported multimodal training or use distributed integrations such as FSDP2 and DeepSpeed.
  • plan to experiment with LoRA, QLoRA, preference tuning, or reinforcement learning in one framework.
Read the axolotl analysis →

Choose torchtune if you…

  • want editable PyTorch recipes and model-specific configurations.
  • need to inspect or adapt existing torchtune workflows, including knowledge distillation or preference optimization.
  • want to investigate memory and performance techniques such as activation offloading or lower-precision optimizers.
Read the torchtune analysis →

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.

OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️