Skip to content

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Transformer inference on TensorRT with INT-8 precision

Repository contains inference example and accuracy validation of quantized transformer TensorRT models. All onnx models are published on Hugging Face 🤗:

Our example notebooks automatically download the appropriate onnx and build engine.

Metrics:

GPT2-XL

TensorRT INT8+FP32 torch FP16
Lambada Acc 72.11% 71.43%