Overview of GPT support in FasterTransformer
mainFasterTransformer provides optimized kernels, memory management, and model parallelism for GPT-style decoding models. It is designed to handle very large models (like GPT-3 with 175B parameters) that cannot fit on a single GPU by supporting multi-GPU and multi-node inference.
Key characteristics of the GPT implementation:
- Uses GeLU activation.
- Does not include an encoder module or cross multi-head attention.
- Optimized for high-efficiency kernels and low latency.