An official PyTorch library for fine-tuning large language models. torchtune provides composable, tested building blocks for LoRA, QLoRA, full fine-tuning, and DPO on models like LLaMA, Mistral, and Gemma.
May 2, 2026·1 min read
torchtune — PyTorch-Native LLM Fine-Tuning Library
An official PyTorch library for fine-tuning large language models. torchtune provides composable, tested building blocks for LoRA, QLoRA, full fine-tuning, and DPO on models like LLaMA, Mistral, and Gemma.
Agent ready
Review-first install path
This asset needs a review step. The copied prompt tells the agent to dry-run, show the writes, then proceed only after confirmation.
Needs Confirmation · 64/100Policy: confirm
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Community
Entrypoint
torchtune Overview
Review-first command
npx -y tokrepo@latest install 04c97299-45e0-11f1-9bc6-00163e2b0d79 --target codexDry-run first, confirm the writes, then run this command.
Discussion
Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.