nvidia/transformerengine

A library for accelerating Transformer models on NVIDIA GPUs, including using 8-bit and 4-bit floating point (FP8 and FP4) precision on Hopper, Ada and...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 10 minutes ago
Added to GitGenius on September 19th, 2026
Created on September 20th, 2022
Open Issues & Pull Requests: 362 (+0)
GitHub issues: Enabled
Number of forks: 831
Total Stargazers: 3,546 (+0)
Total Subscribers: 37 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 31.2 hours
Mean response time: 50.0 days
90th percentile: 96.2 days
Tracked items: 560

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 14% of issues opened in the past year have never received a reply. 72% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "build" is answered fastest, typically in about 11 hours, while "MoE" waits about 8 weeks. 55% of tracked open issues have had no activity in three months. Only 51% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 163
New in 7 days: 4
Closed in 7 days: 0
Avg open age: 295 days
Stale 30+ days: 133
Stale 90+ days: 93

Recent activity

Opened in 7 days: 4
Closed in 7 days: 0
Comments in 7 days: 10
Events in 7 days: 28

Top labels

  • bug (190)
  • question (80)
  • attention (52)
  • enhancement (42)
  • MoE (36)
  • build (33)
  • performance (14)
  • megatron (13)

Detailed Description

Transformer Engine is a library for accelerating Transformer models on NVIDIA GPUs through low-precision arithmetic and optimized kernels.

The library addresses the challenge of training and running large Transformer models efficiently by enabling 8-bit and 4-bit floating point precision on Hopper, Ada, and Blackwell GPUs. This approach reduces memory consumption and increases throughput while maintaining model convergence. The tool provides automatic mixed precision capabilities that allow developers to use lower precision formats for computations where they do not impact accuracy, while preserving higher precision where needed for numerical stability.

Teams building large language models or other Transformer-based systems on NVIDIA hardware should consider this library if they need to reduce memory footprint or improve training and inference speed. It integrates with both PyTorch and JAX, making it suitable for projects already using these frameworks. The library is particularly valuable for organizations training models at scale, where memory and compute efficiency directly affect feasibility and cost.

The project maintains active development with regular updates addressing new GPU architectures and training methodologies. The team publishes technical documentation and case studies demonstrating real-world applications, including integration with production systems and open-source model training efforts. Development focuses on expanding low-precision support across different model architectures and training paradigms, with particular attention to mixture-of-experts models and reinforcement learning workloads.