torchtune vs xTuring
LLM fine-tuning workflows compared
torchtune and xTuring are Python tools for adapting and evaluating language models. torchtune centers on editable PyTorch training recipes, while xTuring combines data preparation, fine-tuning, inference, and evaluation through a higher-level API and CLI.

torchtune: Fine-Tune and Post-Train Large Language Models
torchtune is a PyTorch library for configuring and running LLM post-training workflows, from supervised fine-tuning to preference optimization. It is aimed at developers who want editable recipes and model-specific configs, but is no longer actively maintained.

xTuring: Fine-Tune and Run Personalized LLMs
xTuring is a Python library for preparing data, fine-tuning, evaluating, and running open-source language models locally or in a private cloud. It is aimed at developers who want model customization through a high-level API and methods such as LoRA and quantization.
| torchtune | xTuring | |
|---|---|---|
| Language | Python | Python |
| License | BSD-3-Clause | Apache-2.0 |
| Stars | 5.8k | 2.7k |
| Forks | 756 | 212 |
| Last analyzed | Oct 3, 2026 | Oct 3, 2026 |
Key differences
- torchtune provides PyTorch recipes for supervised fine-tuning, distillation, preference optimization, reinforcement learning, and quantization-aware training; xTuring offers an end-to-end toolkit for data preparation, fine-tuning, generation, and evaluation.
- torchtune emphasizes YAML configs and model-specific implementations that developers can inspect and adapt; xTuring emphasizes high-level APIs, model registries, and command-line or UI tools.
- torchtune supports single-device, multi-device, and some multi-node training; xTuring highlights local or private-cloud workflows and CPU inference on Intel platforms.
- torchtune is licensed under BSD-3-Clause, while xTuring is licensed under Apache-2.0.
- torchtune's development wound down in 2025 and it is no longer actively maintained; xTuring's repository is not archived.
- The projects list 5.8k stars and 756 forks for torchtune, and 2.7k stars and 212 forks for xTuring.
Choose torchtune if you…
- need editable PyTorch recipes for LLM post-training methods such as DPO or knowledge distillation.
- want to adapt training configs or model implementations for an existing torchtune workflow.
- can work with the project's limited upstream maintenance and check compatibility with your environment.
Choose xTuring if you…
- want data preparation, fine-tuning, generation, and evaluation together in a Python API and CLI toolkit.
- need options such as LoRA, INT8, or INT4 LoRA to explore lower-resource customization.
- want to run model workflows locally or in a private cloud, including CPU inference on Intel platforms.
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.