#7979th of 168 in ML frameworks and libraries

transformerengine

NVIDIA library for FP8 and FP4 Transformer training in PyTorch and JAX

Stars
3.6k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 29 weeks+343
21 Apr 2026: 3,259 stars28 Apr 2026: 3,282 stars5 May 2026: 3,292 stars12 May 2026: 3,306 stars19 May 2026: 3,323 stars26 May 2026: 3,329 stars2 Jun 2026: 3,353 stars9 Jun 2026: 3,365 stars16 Jun 2026: 3,375 stars23 Jun 2026: 3,382 stars30 Jun 2026: 3,392 stars7 Jul 2026: 3,401 stars14 Jul 2026: 3,414 stars21 Jul 2026: 3,419 stars28 Jul 2026: 3,438 stars4 Aug 2026: 3,460 stars11 Aug 2026: 3,472 stars18 Aug 2026: 3,482 stars25 Aug 2026: 3,491 stars1 Sept 2026: 3,505 stars8 Sept 2026: 3,520 stars15 Sept 2026: 3,526 stars22 Sept 2026: 3,541 stars29 Sept 2026: 3,552 stars6 Oct 2026: 3,563 stars13 Oct 2026: 3,572 stars20 Oct 2026: 3,583 stars27 Oct 2026: 3,593 stars3 Nov 2026: 3,596 stars10 Nov 2026: 3,602 stars

3,259 on 21 Apr 20263,602 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Transformer Engine provides fused kernels and drop-in modules for attention, linear layers, normalization and MoE, with autocast-style APIs for PyTorch and JAX. It manages scaling factors and amax histories for FP8, MXFP8 and NVFP4 recipes, so low-precision training can be added without rewriting a training stack. It also supports tensor, sequence, context and expert parallelism with communication overlap.

Who it is for: Engineers training large Transformer or MoE models on NVIDIA GPUs

Strengths

  • Handles FP8 scaling factors and amax histories automatically via configurable recipes
  • Supports both PyTorch and JAX with autocast-style contexts
  • FP8 on Hopper, Ada, Blackwell, Rubin; MXFP8 and NVFP4 on Blackwell
  • Integrated with Megatron-LM, Hugging Face Accelerate, Lightning and NeMo Megatron Bridge

Weaknesses

  • NVIDIA GPUs only; low-precision modes depend on specific GPU generations
  • Training-focused; the README describes no inference or serving path
  • Install needs --no-build-isolation; source builds have extra prerequisites
  • No Docker image in the repo; ready-to-run setup relies on NGC containers

What it needs

  • GPU required
  • Needs PyTorch or JAX, NVIDIA CUDA
  • Models: Transformer models, MoE, FP8, MXFP8, NVFP4

Quick answers

Is transformerengine open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Does transformerengine need a GPU?

Yes, it needs a GPU.

Also in ML frameworks and libraries

See all 168
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.8k stars+1,522 (+0.9%) in 30 daysApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd105.4k stars+1,043 (+1.0%) in 30 dayscustom license93 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,015 (+1.6%) in 30 daysAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+101 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+514 (+1.0%) in 30 daysMIT92 out of 100