Skip to content

Commit

Permalink
fix(tensorrt_role): add holding libnvinfer-headers-plugin-dev to fix …
Browse files Browse the repository at this point in the history
…version conflict (autowarefoundation#4576)

* fix(tensorrt_role): add holding libnvinfer-headers-plugin-dev to fix version conflict

Signed-off-by: Yuxuan Liu <[email protected]>

* add one more

Signed-off-by: Yuxuan Liu <[email protected]>

* update the order of the readme file to look more neat

Signed-off-by: Yuxuan Liu <[email protected]>

---------

Signed-off-by: Yuxuan Liu <[email protected]>
Co-authored-by: Yuxuan Liu <[email protected]>
  • Loading branch information
Owen-Liuyuxuan and HinsRyu authored Mar 29, 2024
1 parent 59a4a95 commit 56470d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ansible/roles/tensorrt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ sudo apt-get install -y \
libcudnn8-dev=${cudnn_version} \
libnvinfer-dev=${tensorrt_version} \
libnvinfer-plugin-dev=${tensorrt_version} \
libnvinfer-headers-dev=${tensorrt_version} \
libnvinfer-headers-plugin-dev=${tensorrt_version} \
libnvparsers-dev=${tensorrt_version} \
libnvonnxparsers-dev=${tensorrt_version}

Expand All @@ -45,5 +47,7 @@ libcudnn8-dev \
libnvinfer-dev \
libnvinfer-plugin-dev \
libnvparsers-dev \
libnvonnxparsers-dev
libnvonnxparsers-dev \
libnvinfer-headers-dev \
libnvinfer-headers-plugin-dev
```
4 changes: 4 additions & 0 deletions ansible/roles/tensorrt/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- libcudnn8-dev={{ cudnn_version }}
- libnvinfer-dev={{ tensorrt_version }}
- libnvinfer-plugin-dev={{ tensorrt_version }}
- libnvinfer-headers-dev={{ tensorrt_version }}
- libnvinfer-headers-plugin-dev={{ tensorrt_version }}
- libnvparsers-dev={{ tensorrt_version }}
- libnvonnxparsers-dev={{ tensorrt_version }}
allow_change_held_packages: true
Expand Down Expand Up @@ -47,6 +49,8 @@
- libcudnn8-dev
- libnvinfer-dev
- libnvinfer-plugin-dev
- libnvinfer-headers-dev
- libnvinfer-headers-plugin-dev
- libnvparsers-dev
- libnvonnxparsers-dev
when: install_devel == 'true'

0 comments on commit 56470d5

Please sign in to comment.