28
28
29
29
# Triton Inference Server Support for Jetson and JetPack
30
30
31
- A release of Triton for [ JetPack 4.6.1 ] ( https://developer.nvidia.com/embedded/jetpack )
31
+ A release of Triton for [ JetPack 5.0 ] ( https://developer.nvidia.com/embedded/jetpack )
32
32
is provided in the attached tar file in the [ release notes] ( https://github.com/triton-inference-server/server/releases ) .
33
33
34
34
![ Triton on Jetson Diagram] ( images/triton_on_jetson.png )
@@ -54,11 +54,11 @@ The TensorRT execution provider however is supported.
54
54
On JetPack, although HTTP/REST and GRPC inference protocols are supported, for edge
55
55
use cases, direct [ C API integration] ( inference_protocols.md#c-api ) is recommended.
56
56
57
- You can download the ` .tar ` files for Jetson from the Triton Inference Server
57
+ You can download the ` .tgz ` file for Jetson from the Triton Inference Server
58
58
[ release page] ( https://github.com/triton-inference-server/server/releases ) in the
59
59
_ "Jetson JetPack Support"_ section.
60
60
61
- The ` .tar ` file contains the Triton server executable and shared libraries,
61
+ The ` .tgz ` file contains the Triton server executable and shared libraries,
62
62
as well as the C++ and Python client libraries and examples.
63
63
64
64
## Installation and Usage
@@ -113,12 +113,9 @@ pip3 install --upgrade expecttest xmlrunner hypothesis aiohttp pyyaml scipy ninj
113
113
Apart from these PyTorch dependencies, the PyTorch wheel corresponding to the release must also be installed (for build and runtime):
114
114
115
115
```
116
- pip3 install --upgrade https://developer.download.nvidia.com/compute/redist/jp/v461 /pytorch/torch-1.11 .0a0+17540c5-cp36-cp36m -linux_aarch64.whl
116
+ pip3 install --upgrade https://developer.download.nvidia.com/compute/redist/jp/v50 /pytorch/torch-1.12 .0a0+2c916ef.nv22.3-cp38-cp38 -linux_aarch64.whl
117
117
```
118
118
119
- ** Note** : Seeing a core dump when using numpy 1.19.5 on Jetson is a [ known issue] ( https://github.com/numpy/numpy/issues/18131 ) .
120
- We recommend using numpy version 1.19.4 or earlier to work around this issue.
121
-
122
119
The following dependencies must be installed before building Triton client libraries/examples:
123
120
124
121
```
@@ -127,23 +124,23 @@ apt-get install -y --no-install-recommends \
127
124
jq
128
125
129
126
pip3 install --upgrade wheel setuptools cython && \
130
- pip3 install --upgrade grpcio-tools numpy==1.19.4 attrdict pillow
127
+ pip3 install --upgrade grpcio-tools numpy attrdict pillow
131
128
```
132
129
133
- ** Note** : OpenCV 4.1.1 is installed as a part of JetPack. It is one of the dependencies for the client build.
130
+ ** Note** : OpenCV 4.2.0 is installed as a part of JetPack. It is one of the dependencies for the client build.
134
131
135
132
** Note** : When building Triton on Jetson, you will require a recent version of cmake.
136
- We recommend using cmake 3.21.0 . Below is a script to upgrade your cmake version to 3.21.0 .
133
+ We recommend using cmake 3.21.1 . Below is a script to upgrade your cmake version to 3.21.1 .
137
134
138
135
```
139
136
apt remove cmake
140
137
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | \
141
138
gpg --dearmor - | \
142
139
tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null && \
143
- apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && \
140
+ apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' && \
144
141
apt-get update && \
145
142
apt-get install -y --no-install-recommends \
146
- cmake-data=3.21.0-0kitware1ubuntu18 .04.1 cmake=3.21.0-0kitware1ubuntu18 .04.1
143
+ cmake-data=3.21.1-0kitware1ubuntu20 .04.1 cmake=3.21.1-0kitware1ubuntu20 .04.1
147
144
```
148
145
149
146
### Runtime Dependencies for Triton
@@ -174,7 +171,7 @@ apt-get update && \
174
171
jq
175
172
176
173
pip3 install --upgrade wheel setuptools && \
177
- pip3 install --upgrade grpcio-tools numpy==1.19.4 attrdict pillow
174
+ pip3 install --upgrade grpcio-tools numpy attrdict pillow
178
175
```
179
176
180
177
The PyTorch runtime depenencies are the same as the build dependencies listed above.
0 commit comments