Replies: 1 comment
-
TensorRT-LLM Triton backend support for BERT inference in Triton Inference ServerThe TensorRT-LLM Triton backend is primarily designed for decoder-only large language models (LLMs) and is not intended as a native serving solution for encoder-only models such as BERT. 1. Intended scope of TensorRT-LLM backendThe :contentReference[oaicite:0]{index=0} Triton backend focuses on:
Because of this design, encoder-only architectures are not a primary target. 2. BERT model compatibility:contentReference[oaicite:2]{index=2} is an encoder-only transformer used for:
While BERT models can sometimes be compiled using
3. What happens with compiled BERT modelsEven if a BERT model is successfully built with
4. Recommended alternatives for BERT in TritonFor reliable and production-ready inference, the following approaches are typically used: TensorRT backend
ONNX Runtime backend
Python backend
5. Design limitation behind the lack of supportThe TensorRT-LLM backend is optimized for:
BERT, in contrast:
This architectural mismatch is the main reason for missing native support. 6. Conclusion
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I compiled a BERT model for classification using trtllm-build, but cannot find any documentation on inferring BERT models with the TensorRT-LLM Triton backend. Only one relevant discussion was found, but this part of the discussion dates back too long. triton-inference-server/tensorrtllm_backend#368
Beta Was this translation helpful? Give feedback.
All reactions