pytorch

    pytorch/torchtitan

    A PyTorch native platform for training generative AI models

    machine-learning
    Python
    BSD-3-Clause
    5.9K stars
    1.1K forks
    5.9K GitHub watchers
    Updated Nov 3, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    2 releases in the last 90 days, the latest 5 days ago, with 256 contributors on GitHub.

    Use Cases & Benefits

    • Provides a PyTorch native platform for rapid experimentation and large-scale training of generative AI models including LLMs and diffusion models.
    • Enables scalable multi-dimensional parallelism and advanced distributed training features with minimal model code changes for efficient generative AI model development.
    • Use for pretraining large language models like Llama 3.1 with multi-node GPU clusters using composable parallelism techniques.
    • Use for experimenting with novel generative AI architectures such as mixture-of-experts and multimodal models leveraging flexible extension points.
    • Use for integrating advanced training optimizations like activation checkpointing, float8 precision, and distributed checkpointing to accelerate research workflows.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    BSD 3-Clause

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    torchtitan is currently in a pre-release state and under extensive development. We showcase training Llama 3.1 LLMs at scale, and are working on other types of generative AI models, including LLMs with MoE architectures, multimodal LLMs, and diffusion models, in the experiments folder. To use the latest features of torchtitan, we recommend using the most recent PyTorch nightly.

    torchtitan is a PyTorch native platform designed for rapid experimentation and large-scale training of generative AI models. As a minimal clean-room implementation of PyTorch native scaling techniques, torchtitan provides a flexible foundation for developers to build upon. With torchtitan extension points, one can easily create custom extensions tailored to specific needs.

    Our mission is to accelerate innovation in the field of generative AI by empowering researchers and developers to explore new modeling architectures and infrastructure techniques.

    The Guiding Principles when building torchtitan

    torchtitan has been showcasing PyTorch's latest distributed training features, via pretraining Llama 3.1 LLMs of various sizes. To accelerate contributions to and innovations around torchtitan, we are hosting a new experiments folder. We look forward to your contributions!

    Excerpt from the pytorch/torchtitan README on GitHub (BSD-3-Clause license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    1.1K+138

    Open issues

    376-271

    Compared with peers in Machine Learning

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    pytorch/torchtitan compared with Machine Learning repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    photoprism/photoprism40.4K—651 day ago
    huggingface/diffusers34.8K—653 days ago
    onnx/onnx21.6K—6331 days ago
    lukas-blecher/LaTeX-OCR16.6K—18—
    milesial/Pytorch-UNet11.7K—18—
    pytorch/torchtitan5.9K—655 days ago
    Category median21.6K—63—

    Also by pytorch

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description