You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Find the latest release on [GitHub](https://github.com/tensorflow/tensorflow/releases)
134
-
1. Search the codebase for the current minor TensorFlow version (e.g. `2.3`) and update versions as appropriate
135
-
1. Update the version for libnvinfer in `images/tensorflow-serving-gpu/Dockerfile` dockerfile as appropriate (https://www.tensorflow.org/install/gpu)
136
-
137
-
Note: it's ok if example training notebooks aren't upgraded, as long as the exported model still works
138
-
139
-
## CUDA/cuDNN
140
-
141
-
1. Search the codebase for the previous CUDA version and `cudnn`. It might be nice to use the version of CUDA which does not require a special pip command when installing pytorch.
142
-
143
111
## Nvidia device plugin
144
112
145
113
1. Update the version in `images/nvidia/Dockerfile` ([releases](https://github.com/NVIDIA/k8s-device-plugin/releases)
@@ -167,52 +135,6 @@ Note: it's ok if example training notebooks aren't upgraded, as long as the expo
167
135
1. Update the links at the top of the file to the URL you copied from
168
136
1. Check that your diff is reasonable (and put back any of our modifications)
169
137
170
-
## Neuron
171
-
172
-
1.`docker run --rm -it amazonlinux:2`
173
-
1. Run the `echo $'[neuron] ...' > /etc/yum.repos.d/neuron.repo` command
174
-
from [Dockerfile.neuron-rtd](https://github.com/aws/aws-neuron-sdk/blob/master/docs/neuron-container-tools/docker-example/Dockerfile.neuron-rtd) (it needs to be updated to work properly with the new lines)
1. Run `yum info aws-neuron-tools`, `yum info aws-neuron-runtime`, and `yum info procps-ng` to check the versions
177
-
that were installed, and use those versions in `images/neuron-rtd/Dockerfile`
178
-
1. Check if there are any updates
179
-
to [Dockerfile.neuron-rtd](https://github.com/aws/aws-neuron-sdk/blob/master/docs/neuron-container-tools/docker-example/Dockerfile.neuron-rtd)
180
-
which should be brought in to `images/neuron-rtd/Dockerfile`
181
-
1. Set the version of `aws-neuron-tools` and `aws-neuron-runtime` in `images/python-handler-inf/Dockerfile`
182
-
and `images/tensorflow-serving-inf/Dockerfile`
183
-
1. Run `docker run --rm -it ubuntu:18.04`
184
-
1. Run the first `RUN` command used in `images/tensorflow-serving-inf/Dockerfile`, having omitted the version specified
185
-
for `tensorflow-model-server-neuron` and the cleanup line at the end
186
-
1. Run `apt-cache policy tensorflow-model-server-neuron` to find the version that was installed, and update it
187
-
in `images/tensorflow-serving-inf/Dockerfile`
188
-
1. Check if there are any updates
189
-
to [Dockerfile.tf-serving](https://github.com/aws/aws-neuron-sdk/blob/master/docs/neuron-container-tools/docker-example/Dockerfile.tf-serving)
190
-
which should be brought in to `images/tensorflow-serving-inf/Dockerfile`
191
-
1. Take a deep breath, cross your fingers, rebuild all images, and confirm that the Inferentia examples work. You may need to change the versions of `neuron-cc`, `tensorflow-neuron`, and/or `torch-neuron` in `requirements.txt` files:
192
-
1. Run `docker run --rm -it ubuntu:18.04`
193
-
1. Run `apt-get update && apt-get install -y curl python3.6 python3.6-distutils` (change the python version if necessary)
194
-
1. Run `curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.6 get-pip.py && pip install --upgrade pip` (change the python version if necessary)
195
-
1. Run `pip install --extra-index-url https://pip.repos.neuron.amazonaws.com neuron-cc tensorflow-neuron torch-neuron`
196
-
1. Run `pip list` to show the versions of all installed dependencies
197
-
198
-
## Python packages
199
-
200
-
1. Update versions in `python/serve/*requirements.txt`
201
-
202
-
## S6-overlay supervisor
203
-
204
-
1. Locate the `s6-overlay` installation in `images/python-handler-*/Dockerfile` and `images/tensorflow-handler/Dockerfile`.
205
-
1. Update the version in each serving image with the newer one in https://github.com/just-containers/s6-overlay.
206
-
207
-
## Nginx
208
-
209
-
1. Run a base image of ubuntu that matches the version tag used for the serving images. The running command
210
-
is `docker run -it --rm <base-image>`
211
-
1. Run `apt update && apt-cache policy nginx`. Notice the latest minor version of nginx (e.g. `1.14`)
212
-
1. Locate the `nginx` package in `images/python-handler-*/Dockerfile` and `images/tensorflow-handler/Dockerfile`.
213
-
1. Update the version for all `nginx` appearances using the minor version from step 2 and add an asterisk at the end to
214
-
denote any version (e.g. `1.14.*`)
215
-
216
138
## Istio
217
139
218
140
1. Find the latest [release](https://istio.io/latest/news/releases) and check the release notes (here are
0 commit comments