paper-with-me

홈 › Papers

torchtune: PyTorch native post-training library

2026-05-20 · Mark Obozov, Maxime Griot, Joseph Cummings, Evan Smothers, Felipe Mello, Rafi Ayub, Philip John Bontrager, Salman Mohammadi, Ariel Kwiatkowski, Nathan Azrak, Mircea Mironenco arxiv

Modern LLMs typically require multistage training pipelines to achieve strong downstream performance, with post-training serving as the main interface for adapting open-weight models. We introduce torchtune, a PyTorch-native library designed to streamline the post-training lifecycle of LLMs, enabling efficient fine-tuning, experimentation, and deployment-oriented workflows. Unlike many existing fine-tuning frameworks, which often optimize for ease of use, specialized recipes, or hardware efficiency at the cost of transparency and extensibility, torchtune emphasizes modularity, hackability, and direct access to the underlying PyTorch components. In this paper, we present the design principles behind torchtune, describe how they are reflected in its model builders, training recipes, and distributed training stack, and evaluate the library across representative post-training settings. We compare against popular fine-tuning frameworks, including Axolotl and Unsloth, and show that torchtune provides strong performance and memory efficiency across many settings while remaining flexible enough for rapid research iteration. These results position torchtune as a practical foundation for reproducible LLMs post-training research.

📄 PDF Abstract BibTeX arXiv:2605.21442

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TorchAO: PyTorch-Native Training-to-Serving Model Optimization

2025-07-21 · Andrew Or, Apurva Jain, Daniel Vega-Myhre, Jesse Cai 외 arxiv

We present TorchAO, a PyTorch-native model optimization framework leveraging quantization and sparsity to provide an end-to-end, training-to-serving workflow for AI models. TorchAO supports a variety of popular model opt…

MCTensor: A High-Precision Deep Learning Library with Multi-Component Floating-Point

2022-07-18 · Tao Yu, Wentao Guo, Jianan Canal Li, Tiancheng Yuan 외

In this paper, we introduce MCTensor, a library based on PyTorch for providing general-purpose and high-precision arithmetic for DL training. MCTensor is used in the same way as PyTorch Tensor: we implement multiple basi…

TorchRL: A data-driven decision-making library for PyTorch

2023-06-01 · Albert Bou, Matteo Bettini, Sebastian Dittert, Vikash Kumar 외

PyTorch has ascended as a premier machine learning framework, yet it lacks a native and comprehensive library for decision and control tasks suitable for large development teams dealing with complex real-world data and e…

Computational EfficiencyDecision MakingReinforcement Learning (RL)

PyTorchVideo: A Deep Learning Library for Video Understanding

2021-11-18 · Haoqi Fan, Tullie Murrell, Heng Wang, Kalyan Vasudev Alwala 외

We introduce PyTorchVideo, an open-source deep-learning library that provides a rich set of modular, efficient, and reproducible components for a variety of video understanding tasks, including classification, detection,…

Deep LearningSelf-Supervised LearningVideo Understanding

EagerPy: Writing Code That Works Natively with PyTorch, TensorFlow, JAX, and NumPy

2020-08-10 · Jonas Rauber, Matthias Bethge, Wieland Brendel

EagerPy is a Python framework that lets you write code that automatically works natively with PyTorch, TensorFlow, JAX, and NumPy. Library developers no longer need to choose between supporting just one of these framewor…