meta-pytorch/torchtune
PyTorch native post-training library observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 99
- Release rhythm 28
- Longevity 74
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 36
- age_days: 1048
- days_rel: 513
- days_push: 7
- n_releases_24m: 6
Adoption not part of the score
5801 stars · 747 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Torchtune is a PyTorch-native library for authoring, post-training, and experimenting with large language models. It provides hackable training recipes (SFT, DPO, PPO, GRPO, distillation, QAT), simple implementations of popular LLMs, and YAML-based configuration for training, evaluation, quantization, and inference.
Use cases
- fine-tune llama on my own dataset
- run LoRA or QLoRA finetuning of an open LLM
- train a model with DPO or PPO preference optimization
- distill a large language model into a smaller one
- experiment with LLM training recipes in pure PyTorch
- finetune a multimodal vision-language model
- quantization-aware training for LLMs
When to choose
- you want hackable, PyTorch-native fine-tuning code rather than a black-box trainer
- you need memory-efficient single- or multi-node finetuning of Llama, Qwen, Gemma, Mistral, or Phi models
- you want YAML-configured recipes for SFT, DPO, PPO, GRPO, or distillation
When to avoid
- you need a library under active development - torchtune wound down in 2025 and is no longer actively maintained
- you need point-and-click GUI-based fine-tuning
- you need inference-only serving rather than post-training
Facets
library · maturity maintenance
llm-training machine-learning deep-learning cli configuration-management large-language-models machine-learning deep-learning artificial-intelligence python cli cross-platform fine-tuning lora qlora sft dpo ppo grpo knowledge-distillation pytorch llama qwen gemma mistral multimodal yaml-configs wound-down gpu
4 sources
- readme: https://github.com/meta-pytorch/torchtune · fetched 2026-08-28 · a4bd20437b81
- homepage: https://pytorch.org/torchtune/main/ · fetched 2026-08-29 · b406e0b2662e
- site_page: https://meta-pytorch.org/torchtune/main/install.html · fetched 2026-08-29 · c331fbe12fe9
- site_page: https://meta-pytorch.org/torchtune/main/deep_dives/configs.html · fetched 2026-08-29 · 400874749612
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| meta-pytorch/torchtune | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="meta-pytorch/torchtune")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem