Skip to content

Commit

Permalink
update tensorflow version
Browse files Browse the repository at this point in the history
  • Loading branch information
jshihstsci committed Sep 27, 2023
1 parent 264518a commit 6d1dcd6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lambda/JobPredict/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ RUN mv /etc/ssl/certs/ca-bundle.crt /etc/ssl/certs/ca-bundle.crt.org && ln -s /e
RUN yum update -y java-1.8.0-openjdk

#RUN python3.7 -m pip install --upgrade pip && python3.7 -m pip install -r requirements.txt && python3.7 -m pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.6.2-cp37-cp37m-manylinux2010_x86_64.whl
RUN python3.11 -m pip install --upgrade pip && python3.11 -m pip install -r requirements.txt && python3.11 -m pip install tensorflow-cpu==2.13.0
RUN python3.11 -m pip install --upgrade pip && python3.11 -m pip install -r requirements.txt && python3.11 -m pip install tensorflow-cpu==2.12.1
ADD models ./models/
CMD ["predict_handler.lambda_handler"]
6 changes: 3 additions & 3 deletions modeling/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ unzip \
zlib1g-dev

RUN DEBIAN_FRONTEND=noninteractive \
&& curl -o Python-3.11.0.tgz https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz \
&& tar -xf Python-3.11.0.tgz \
&& cd Python-3.11.0 \
&& curl -o Python-3.11.5.tgz https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz \
&& tar -xf Python-3.11.5.tgz \
&& cd Python-3.11.5 \
&& ./configure --enable-optimizations \
&& make altinstall \
&& update-alternatives --install /usr/local/bin/python python /usr/local/bin/python3.11 10
Expand Down
2 changes: 1 addition & 1 deletion modeling/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tensorflow==2.13.0
tensorflow==2.12.1
scikit-learn==1.3.0
boto3==1.17.79
pandas==2.1.0
Expand Down

0 comments on commit 6d1dcd6

Please sign in to comment.