torchtune is Meta's official PyTorch-native library for fine-tuning large language models. It provides composable building blocks for training recipes covering LoRA, QLoRA, full fine-tuning, DPO, and knowledge distillation. Supports Llama, Mistral, Gemma, Qwen, and Phi model families with distributed training across multiple GPUs. Designed as a hackable, dependency-minimal alternative to higher-level frameworks.
Best LLaMA-Factory Alternatives
2 editor-verified alternatives · LLaMA-Factory overview →
source: tools.alternatives · stored order · active records only; review scores are annotations and never change membership or order
Ray is an open-source distributed computing framework built for scaling AI and Python applications from a laptop to thousands of GPUs. It provides libraries for distributed training, hyperparameter tuning, model serving, reinforcement learning, and data processing under a single unified API. Ray's public site highlights OpenAI and other enterprise users. Maintained by Anyscale with Apache-2.0 open-source licensing.
Open-source LLaMA-Factory alternatives
torchtune, Ray — see all open-source developer tools.
LLaMA-Factory head-to-head
FAQ
What is the best LLaMA-Factory alternative?
torchtune tops our editor-verified list of 2 LLaMA-Factory alternatives.
Are there open-source LLaMA-Factory alternatives?
Yes — torchtune, Ray are open source.