Home/Inference & Serving/FasterTransformer
FasterTransformer logo

FasterTransformer

NVIDIA/FasterTransformer

Transformer related optimization including BERT and GPT

GraphCanon updated 2w · GitHub synced 2w · 29 views this month

6.4k stars935 forksLast push 2y C++ Apache-2.0

Decision brief

Highly optimized transformer encoder and decoder for inferencing, supporting BERT and GPT on various frameworks like TensorFlow, PyTorch.

Good fit when

  • When aiming for high performance with GPU-based FP16 computations for BERT or GPT models specifically.
  • For integrating highly optimized API into TensorFlow, PyTorch, or Triton backend.

Avoid when

  • If looking for active development and latest improvements on LLM Inference as NVIDIA recommends TensorRT-LLM over FasterTransformer now.
  • When specific frameworks not including TensorFlow, PyTorch, or Triton are required.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (862d since push)
As of 2w
Provenance
Not a fork · Organization account
As of 2w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Backing

Company context for Nvidia. Display-only - separate from trust and ranking.

Company
NVIDIA Corporation·GitHub org profile·1mo
Employees
11,528·Wikidata (P1128 employees)·1mo
Commercial model
Pure OSS·GitHub org profile (public repos)·1mo

Install

git clone https://github.com/NVIDIA/FasterTransformer

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Repository for NVIDIA's FasterTransformer, focusing on highly optimized transformer-based encoder and decoder components for inference. Notably supports BERT and GPT models with integration options for TensorFlow, PyTorch, and Triton backend.

Capability facts

Languages
c++

Source: github.language · Aug 7, 2026

Categories

Graph entities

Tags

README

Note: FasterTransformer development has transitioned to TensorRT-LLM. All developers are encouraged to leverage TensorRT-LLM to get the latest improvements on LLM Inference. The NVIDIA/FasterTransformer repo will stay up, but will not have further development.

FasterTransformer

This repository provides a script and recipe to run the highly optimized transformer-based encoder and decoder component, and it is tested and maintained by NVIDIA.

Table Of Contents

  • FasterTransformer
    • Table Of Contents
    • Model overview
      • Support matrix
    • Advanced
      • Global Environment
    • Performance
      • BERT base performance
        • BERT base performances of FasterTransformer new features
        • BERT base performance on TensorFlow
        • BERT base performance on PyTorch
      • Decoding and Decoder performance
        • Decoder and Decoding end-to-end translation performance on TensorFlow
        • Decoder and Decoding end-to-end translation performance on PyTorch
      • GPT performance
    • Release notes
      • Changelog
      • Known issues

Model overview

In NLP, encoder and decoder are two important components, with the transformer layer becoming a popular architecture for both components. FasterTransformer implements a highly optimized transformer layer for both the encoder and decoder for inference. On Volta, Turing and Ampere GPUs, the computing power of Tensor Cores are used automatically when the precision of the data and weights are FP16.

FasterTransformer is built on top of CUDA, cuBLAS, cuBLASLt and C++. We provide at least one API of the following frameworks: TensorFlow, PyTorch and Triton backend. Users can integrate FasterTransformer into these frameworks directly. For supporting frameworks, we also provide example codes to demonstrate how to use, and show the performance on these frameworks.

Support matrix

ModelsFrameworkFP16INT8 (after Turing)Sparsity (after Ampere)Tensor parallelPipeline parallelFP8 (after Hopper)
BERTTensorFlowYesYes----
BERTPyTorchYesYesYesYesYes-
BERTTriton backendYes--YesYes-
BERTC++YesYes---Yes
XLNetC++Yes-----
EncoderTensorFlowYesYes----
EncoderPyTorchYesYesYes---
DecoderTensorFlowYes-----
Decode

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.