FasterTransformer
FreeNVIDIA Framework for LLM Inference(Transitioned to TensorRT-LLM)
About FasterTransformer
FasterTransformer is a high-performance library from NVIDIA that provides highly optimized implementations of transformer-based encoder and decoder components for inference. Built on CUDA, cuBLAS, and cuBLASLt, it leverages Tensor Cores on Volta, Turing, and Ampere GPUs for accelerated FP16 inference. The library offers APIs and integration examples for TensorFlow, PyTorch, and Triton Inference Server, and supports a wide range of models including BERT, GPT, GPT-J, BLOOM, T5, and Swin Transformer. Features include support for FP16, INT8 quantization (Turing+), FP8 (Hopper), tensor parallelism, pipeline parallelism, and sparsity. Note: Development of FasterTransformer has transitioned to TensorRT-LLM; the repository remains available but will not receive further updates.
Key Features
Pros & Cons
- High performance on NVIDIA GPUs via Tensor Core utilization
- Support for multiple precision levels (FP16, INT8, FP8) for speed or memory trade-offs
- Seamless integration with popular frameworks like TensorFlow and PyTorch
- Open source and free to use
- Well-documented with examples and performance data
- No longer actively developed; all future improvements merge into TensorRT-LLM
- Limited to NVIDIA GPUs (requires CUDA/cuBLAS)
- May require C++/CUDA knowledge for custom extensions
- No support for non-NVIDIA hardware