#75 · Primary category: Deep Learning Frameworks
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 Blackwell GPUs, to provide better performance with lower memory utilization in both training and inference.
Project last updated:08/29/26
GitHub Stars
3.5K
Forks
814
Contributors
198
License
Apache-2.0
Why we included this project
Transformer Engine is NVIDIA's own library for making low-precision training practical on its GPUs. It ships drop-in PyTorch and JAX modules for building Transformer layers with FP8 support, and on Blackwell it adds MXFP8 and NVFP4, so you can cut memory use and speed up both training and inference without hand-writing the scaling-factor bookkeeping that mixed precision normally demands. NVIDIA runs many of its own LLM and MoE training jobs on it, and it plugs into NeMo and MaxText, so the optimizations have clearly been exercised at scale. On Hopper, Ada, and Blackwell GPUs the fused kernels and parallelism-aware features (MoE, tensor/sequence/context parallelism) are directly useful, and the framework-agnostic C++ API lets other deep learning libraries bolt on FP8 support. It is not a turnkey training tool, so expect to work within your existing PyTorch or JAX stack rather than adopting a new workflow.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
tensorflow
An Open Source Machine Learning Framework for Everyone
pytorch
Tensors and Dynamic neural networks in Python with strong GPU acceleration
keras
Deep Learning for humans
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
ray
Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.