File tree Expand file tree Collapse file tree 8 files changed +12
-13
lines changed
test/apis/keras/document-denoiser Expand file tree Collapse file tree 8 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ python versions in our pip dependencies (e.g. [tensorflow](https://pypi.org/proj
143143## TensorFlow / TensorFlow Serving
144144
1451451 . Find the latest release on [ GitHub] ( https://github.com/tensorflow/tensorflow/releases )
146- 1 . Search the codebase for the current minor TensorFlow version (e.g. ` 2.4 ` ) and update versions as appropriate
146+ 1 . Search the codebase for the current minor TensorFlow version (e.g. ` 2.3 ` ) and update versions as appropriate
1471471 . Update the version for libnvinfer in ` images/tensorflow-serving-gpu/Dockerfile ` dockerfile as appropriate (https://www.tensorflow.org/install/gpu )
148148
149149Note: it's ok if example training notebooks aren't upgraded, as long as the exported model still works
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class PythonPredictor:
9090
9191## TensorFlow Predictor
9292
93- ** Uses TensorFlow version 2.4.1 by default**
93+ ** Uses TensorFlow version 2.3.0 by default**
9494
9595### Interface
9696
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ Your `predictor` method can return different types of objects such as `JSON`-par
131131
132132## TensorFlow Predictor
133133
134- ** Uses TensorFlow version 2.4.1 by default**
134+ ** Uses TensorFlow version 2.3.0 by default**
135135
136136### Interface
137137
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ COPY pkg/cortex/serve/cortex_internal.requirements.txt /src/cortex/serve/cortex_
4848RUN pip install --no-cache-dir \
4949 -r /src/cortex/serve/serve.requirements.txt \
5050 -r /src/cortex/serve/cortex_internal.requirements.txt \
51- tensorflow-cpu==2.4.1 \
52- tensorflow-serving-api==2.4.1
51+ tensorflow-cpu==2.3.0 \
52+ tensorflow-serving-api==2.3.0
5353
5454COPY pkg/cortex/serve/init/install-core-dependencies.sh /usr/local/cortex/install-core-dependencies.sh
5555RUN chmod +x /usr/local/cortex/install-core-dependencies.sh
Original file line number Diff line number Diff line change 1- FROM tensorflow/serving:2.4.1
1+ FROM tensorflow/serving:2.3.0
22
33RUN apt-get update -qq && apt-get install -y -q \
44 curl \
Original file line number Diff line number Diff line change 1- FROM tensorflow/serving:2.4 .0-gpu
1+ FROM tensorflow/serving:2.3 .0-gpu
22
3- # https://www.tensorflow.org/install/gpu
43RUN apt-get update -qq && apt-get install -y --no-install-recommends -q \
5- libnvinfer7=7.1.3 -1+cuda11.0 \
6- libnvinfer-plugin7=7.1.3 -1+cuda11.0 \
4+ libnvinfer6=6.0.1 -1+cuda10.1 \
5+ libnvinfer-plugin6=6.0.1 -1+cuda10.1 \
76 curl \
87 && apt-get clean -qq && rm -rf /var/lib/apt/lists/*
98
Original file line number Diff line number Diff line change 3030if [ " ${CORTEX_IMAGE_TYPE} " = " tensorflow-predictor" ]; then
3131 if ! module_exists " tensorflow" || ! module_exists " tensorflow_serving" ; then
3232 pip install --no-cache-dir -U \
33- tensorflow-cpu==2.4.1 \
34- tensorflow-serving-api==2.4.1
33+ tensorflow-cpu==2.3.0 \
34+ tensorflow-serving-api==2.3.0
3535 fi
3636elif [ " ${CORTEX_IMAGE_TYPE} " = " onnx-predictor-cpu" ] && ! module_exists " onnxruntime" ; then
3737 pip install --no-cache-dir -U \
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ requests==2.22.0
33opencv-python == 4.1.2.30
44keras == 2.3.1
55h5py == 2.10.0
6- tensorflow-cpu == 2.4.1
6+ tensorflow-cpu == 2.3.0
You can’t perform that action at this time.
0 commit comments