Skip to content

Commit 66038e2

Browse files
committed
Update versions.md
1 parent 1842bbb commit 66038e2

File tree

1 file changed

+0
-82
lines changed

1 file changed

+0
-82
lines changed

dev/versions.md

Lines changed: 0 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -108,38 +108,6 @@ see https://github.com/moby/moby/issues/39302#issuecomment-639687466_
108108
1. `go mod tidy`
109109
1. Check that the diff in `go.mod` is reasonable
110110

111-
### request-monitor
112-
113-
1. `cd request-monitor/`
114-
1. `rm -rf go.mod go.sum && go mod init && go clean -modcache`
115-
1. `go mod tidy`
116-
1. Check that the diff in `go.mod` is reasonable
117-
118-
## Python
119-
120-
The same Python version should be used throughout Cortex (e.g. search for `3.6` and update all accordingly).
121-
122-
It's probably safest to use the minor version of Python that you get when you
123-
run `apt-get install python3` ([currently that's what TensorFlow's Docker image does](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/dockerfiles/dockerfiles/cpu.Dockerfile))
124-
, or what you get by default in Google CoLab. In theory, it should be safe to use the lowest of the maximum supported
125-
python versions in our pip dependencies (e.g. [tensorflow](https://pypi.org/project/tensorflow)
126-
, [Keras](https://pypi.org/project/Keras),
127-
, [pandas](https://pypi.org/project/pandas), [scikit-learn](https://pypi.org/project/scikit-learn)
128-
, [scipy](https://pypi.org/project/scipy), [torch](https://pypi.org/project/torch)
129-
, [xgboost](https://pypi.org/project/xgboost))
130-
131-
## TensorFlow / TensorFlow Serving
132-
133-
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-
143111
## Nvidia device plugin
144112

145113
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
167135
1. Update the links at the top of the file to the URL you copied from
168136
1. Check that your diff is reasonable (and put back any of our modifications)
169137

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)
175-
* e.g. `echo $'[neuron] \nname=Neuron YUM Repository \nbaseurl=https://yum.repos.neuron.amazonaws.com \nenabled=1' > /etc/yum.repos.d/neuron.repo`
176-
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-
216138
## Istio
217139

218140
1. Find the latest [release](https://istio.io/latest/news/releases) and check the release notes (here are
@@ -337,10 +259,6 @@ supported (<https://github.com/awslabs/amazon-eks-ami/issues/176>)
337259
1. refresh shell
338260
1. `kubectl version`
339261

340-
## Ubuntu base images
341-
342-
1. Search the codebase for `ubuntu` and update versions as appropriate
343-
344262
## Alpine base images
345263

346264
1. Find the latest release on [Dockerhub](https://hub.docker.com/_/alpine)

0 commit comments

Comments
 (0)