google-research/t5x

T5X is a modular, composable framework for training, evaluating, and running inference on sequence models at scale using JAX and Flax.

View on GitHub ↗Jump to charts ↓

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 6 minutes ago
Added to GitGenius on September 23rd, 2026
Created on November 1st, 2021
Open Issues & Pull Requests: 179 (+0)
GitHub issues: Enabled
Number of forks: 339
Total Stargazers: 3,001 (+0)
Total Subscribers: 34 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 89.9 days
Mean response time: 160.1 days
90th percentile: 424.4 days
Tracked items: 5

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 722 days
Stale 30+ days: 6
Stale 90+ days: 6

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

T5X is a modular, composable framework for training, evaluating, and running inference on sequence models at scale using JAX and Flax.

The tool addresses the need for a research-friendly, high-performance implementation of large language models by reimplementing the original T5 codebase on top of JAX and Flax instead of Mesh TensorFlow. This approach enables better composability and modularity while maintaining support for distributed training across multiple accelerators. The framework is designed to be self-service, allowing researchers to configure and launch experiments with minimal overhead.

T5X is well-suited for teams with access to TPU or GPU infrastructure who need to train or fine-tune sequence models at various scales. The recommended path uses XManager with Google Cloud's Vertex AI for TPU-based training, which handles resource provisioning and cleanup automatically. The tool also supports GPU training on single-node or multi-node SLURM clusters, with example scripts provided for pretraining and fine-tuning tasks. Teams without cloud infrastructure access or those preferring alternative frameworks should evaluate whether the JAX and Flax ecosystem aligns with their existing tooling.

Development activity shows consistent investment in supporting multiple hardware platforms. The project maintains dedicated GPU support with example configurations and scripts for common tasks. Documentation is comprehensive, with a ReadTheDocs site and complete guides covering setup, training, and inference workflows. The codebase includes contributed examples for specific use cases like machine translation and question-answering tasks, indicating ongoing refinement based on real-world usage patterns.