torchtune vs Qwen

LLM training workflows compared

torchtune and Qwen are Python projects for working with large language models, including fine-tuning. torchtune centers on editable PyTorch post-training recipes across supported model families, while Qwen focuses on running, adapting, and deploying Qwen checkpoints.

torchtuneQwen
LanguagePythonPython
LicenseBSD-3-ClauseApache-2.0
Stars5.8k21.9k
Forks7562k
Last analyzedOct 3, 2026Oct 3, 2026

Key differences

  • torchtune provides recipes for methods including supervised fine-tuning, distillation, DPO, PPO, GRPO, and quantization-aware training; Qwen provides tooling for its base and chat checkpoints, including inference and fine-tuning.
  • torchtune emphasizes editable YAML configurations and PyTorch implementations; Qwen documents inference and deployment paths using tools such as Transformers, ModelScope, vLLM, and FastChat.
  • Qwen includes web, CLI, and OpenAI-style API deployment examples, plus CPU and multi-GPU inference routes; torchtune focuses on training workflows across single-device, multi-device, and some multi-node setups.
  • torchtune is licensed under BSD-3-Clause, while Qwen is licensed under Apache-2.0.
  • Both projects are no longer actively maintained; torchtune’s development wound down in 2025, while Qwen directs users to Qwen2 as its successor project.

Choose torchtune if you…

  • need editable PyTorch recipes for post-training methods across supported model families.
  • want to inspect or adapt YAML training configurations, including for LoRA, QLoRA, or preference optimization.
  • are maintaining an existing torchtune workflow and can plan around limited upstream support.
Read the torchtune analysis →

Choose Qwen if you…

  • want to run or adapt Qwen base and chat checkpoints, with inference examples for conversational and batch use.
  • need documented options for quantization, fine-tuning, or deployment through web, CLI, or API examples.
  • are evaluating local inference paths such as CPU, multiple GPUs, or vLLM and can account for the repository’s maintenance status.
Read the Qwen 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 ❤️