{"adoption": {"forks": 747, "observed_at": "2026-08-28T04:09:29.749587+00:00", "stars": 5801}, "canonical_url": "https://ross.abutalabs.com/products/torchtune", "card": {"archived": false, "artifact_type": "library", "description": "PyTorch native post-training library", "domain": ["large-language-models", "machine-learning", "deep-learning", "artificial-intelligence"], "enriched": true, "function": ["llm-training", "machine-learning", "deep-learning", "cli", "configuration-management"], "health_score": 92, "homepage": "https://pytorch.org/torchtune/main/", "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["meta-pytorch/torchtune"], "name": "meta-pytorch/torchtune", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-08-26T11:43:39+00:00", "repo": "meta-pytorch/torchtune", "stars": 5801, "tags": ["fine-tuning", "lora", "qlora", "sft", "dpo", "ppo", "grpo", "knowledge-distillation", "pytorch", "llama", "qwen", "gemma", "mistral", "multimodal", "yaml-configs", "wound-down", "gpu"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/torchtune", "repo": "meta-pytorch/torchtune", "role": "main", "score": 69}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:29.749587+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:52:46.228549+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4bd20437b81184bf17deabaefe75c8d8c1a9f29e607115cf533a22aa42f9d6c", "fetched_at": "2026-08-28T04:09:29.749587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/torchtune"}, {"content_hash": "b406e0b2662ece8529498e360183b9fbfac898937480e794cd1771512b349e2d", "fetched_at": "2026-08-29T08:47:54.804554+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/torchtune/main/"}, {"content_hash": "c331fbe12fe9b5d40e732886de2452c980470bfdc51b12d74a7511c1effa01b8", "fetched_at": "2026-08-29T08:47:54.813557+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/install.html"}, {"content_hash": "400874749612b600a9190e8cb9c6c4c9c50c878d5f312f41240750af9652c152", "fetched_at": "2026-08-29T08:47:54.816582+00:00", "kind": "site_page", "missing": false, "url": "https://meta-pytorch.org/torchtune/main/deep_dives/configs.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 74, "rhythm": 28}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1048, "days_push": 7, "days_rel": 513, "gap_med": 36, "n_releases_24m": 6}, "score": 69, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}