question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TensorRT version mismatch for NGC containers 20.11 and 20.10

See original GitHub issue

Description Loading a tensorrt model plan built with nvcr.io/nvidia/tensorrt:20.11-py3 results in a version mismatch with nvcr.io/nvidia/tritonserver:20.11-py3 resulting in the following startup error message:

inference-server_1 | E1125 10:45:55.243042 1 logging.cc:43] coreReadArchive.cpp (41) - Serialization Error in verifyHeader: 0 (Version tag does not match. Note: Current Version: 96, Serialized Engine Version: 97)

It seems like the NGC tensorrt container is using a slightly more recent version of tensorrt. As of my understanding, the containers with the same tag are supposed to be compatible and use the exact same version. (Which they also do according to the release notes of both containers).

Triton Information 20.11 (reproducible for 20.10)

Are you using the Triton container or did you build it yourself? NGC

To Reproduce Build a minimal tensorrt engine in 20.11 NGC tensorrt and load in 20.11 NGC triton. Quick example: https://github.com/isarsoft/yolov4-triton-tensorrt

Expected behavior TensorRT versions in NGC release of tensorrt and triton should match.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
philipp-schmidtcommented, May 19, 2021

As stated in the repo (im the author) you should be using docker to build your source to avoid such version mismatchs.

Every version of triton uses a very specific TensorRT version that you can look up in the release notes of the documentation. You need to match this exact version.

0reactions
XingBin111commented, May 19, 2021

Accroding to https://docs.nvidia.com/deeplearning/frameworks/support-matrix/index.html#unique_383286676, my TensorRT version is too low. Thanks for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TensorRT Release 20.11 - NVIDIA Documentation Center
TensorRT container image version 20.11 is based on TensorRT 7.2.1. For a list of the new features and enhancements introduced in TensorRT ......
Read more >
ゆるふわUnaさん@水星の犬(@UnaNancyOwen)/2021年06月 ...
ONNX RuntimeのTensorRT実行プロバイダーでメモリリークがみつかった件は6月に ... RT @ducha_aiki: OpenCV has new RANSAC implementations since version 4.5.0.
Read more >
タグ「NVIDIA」の記事一覧 | Qiitaの図
NVIDIA Container Toolkit (NVIDIA Docker) は何をしてくれるか ... nvidia-smi で Failed to initialize NVML: Driver/library version mismatch と言われたとき【GPU】.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found