Skip to content

Commit

Permalink
feat! (~frontend): Updated dependencies in order build images and to …
Browse files Browse the repository at this point in the history
…check deprecated stuff.
  • Loading branch information
antoniochavesgarcia committed Jan 22, 2024
1 parent c6caad8 commit 1919256
Show file tree
Hide file tree
Showing 16 changed files with 66 additions and 59 deletions.
3 changes: 1 addition & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# pull official base image
FROM python:3.8.6
# FROM python:3.7.7-slim-stretch # for Raspberry
FROM python:3.11.7

# set work directory
WORKDIR /usr/src/app
Expand Down
18 changes: 9 additions & 9 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
django==3.2.13
djangorestframework==3.11.0
django-cors-headers==3.2.1
django-model-utils==4.0.0
kubernetes==11.0.0
gunicorn==20.0.4
confluent-kafka==1.8.2
channels==3.0.4
daphne==3.0.2
django==4.2.9
djangorestframework==3.14.0
django-cors-headers==4.3.1
django-model-utils==4.3.1
kubernetes==29.0.0
gunicorn==21.2.0
confluent-kafka==2.3.0
channels==4.0.0
daphne==4.0.0
3 changes: 1 addition & 2 deletions federated-module/federated_backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# pull official base image
FROM python:3.8.6
# FROM python:3.7.7-slim-stretch # for Raspberry
FROM python:3.11.7

# set work directory
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion federated-module/federated_data_control_logger/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pull official base image
FROM python:3.8.6
FROM python:3.11.7

# set work directory
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion federated-module/federated_model_control_logger/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pull official base image
FROM python:3.8.6
FROM python:3.11.7

# set work directory
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion kafka_control_logger/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pull official base image
FROM python:3.8.6
FROM python:3.11.7

# set work directory
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion mlcode_executor/pthexecutor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# --build-arg BASEIMG=pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime for GPU version
ARG BASEIMG=python:3.8.6
ARG BASEIMG=python:3.11.7
FROM ${BASEIMG}

# set work directory
Expand Down
17 changes: 8 additions & 9 deletions mlcode_executor/pthexecutor/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
-f https://download.pytorch.org/whl/torch_stable.html

# GPU Accelerated
# torchvision==0.11.1+cu113
# -f https://download.pytorch.org/whl/torch_stable.html
-f https://download.pytorch.org/whl/cpu
# https://download.pytorch.org/whl/cu121

# CPU Only
torch==1.10.0+cpu
torchvision==0.11.1+cpu
# torch==2.1.2
# torchvision==0.16.2

torchinfo==1.6.3
pytorch-ignite==0.4.7
Flask==2.0.2
gunicorn==20.0.4
pytorch-ignite==0.4.13
Flask==3.0.1
gunicorn==21.2.0
4 changes: 2 additions & 2 deletions mlcode_executor/tfexecutor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# --build-arg TFTAG=2.7.0-gpu for GPU version
ARG TFTAG=2.7.0
# --build-arg TFTAG=2.15.0-gpu for GPU version
ARG TFTAG=2.15.0
FROM tensorflow/tensorflow:${TFTAG}

# set work directory
Expand Down
6 changes: 3 additions & 3 deletions mlcode_executor/tfexecutor/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==2.0.2
gunicorn==20.0.4
Flask==3.0.1
gunicorn==21.2.0
tensorflow-datasets==4.4.0
protobuf==3.20.0
protobuf==4.9.4
2 changes: 1 addition & 1 deletion model_inference/pytorch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# --build-arg BASEIMG=pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime for GPU version
ARG BASEIMG=python:3.8.6
ARG BASEIMG=python:3.11.7
FROM ${BASEIMG}

# set work directory
Expand Down
23 changes: 14 additions & 9 deletions model_inference/pytorch/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
-f https://download.pytorch.org/whl/torch_stable.html
# -f https://download.pytorch.org/whl/torch_stable.html
-f https://download.pytorch.org/whl/cpu
# -f https://download.pytorch.org/whl/cu121

torch==2.1.2
torchvision==0.16.2
torchinfo==1.8.0
pytorch-ignite==0.4.13

# GPU Accelerated
# torchvision==0.11.1+cu113

# CPU Only
torch==1.10.0+cpu
torchvision==0.11.1+cpu

torchinfo==1.6.3
pytorch-ignite==0.4.7
avro==1.11.0
confluent-kafka==1.8.2
requests==2.27.1
# torch==1.10.0+cpu
# torchvision==0.11.1+cpu

avro==1.11.3
confluent-kafka==2.3.0
requests==2.31.0
4 changes: 2 additions & 2 deletions model_inference/tensorflow/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tensorflow-io==0.23.1
confluent-kafka==1.8.2
tensorflow-io==0.35.0
confluent-kafka==2.3.0
2 changes: 1 addition & 1 deletion model_training/pytorch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# --build-arg BASEIMG=pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime for GPU version
ARG BASEIMG=python:3.8.6
ARG BASEIMG=python:3.11.7
FROM ${BASEIMG}

# set work directory
Expand Down
27 changes: 16 additions & 11 deletions model_training/pytorch/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
-f https://download.pytorch.org/whl/torch_stable.html

# -f https://download.pytorch.org/whl/torch_stable.html
-f https://download.pytorch.org/whl/cpu
# -f https://download.pytorch.org/whl/cu121
# GPU Accelerated
# torchvision==0.11.1+cu113

# CPU Only
torch==1.10.0+cpu
torchvision==0.11.1+cpu
torch==2.1.2
torchvision==0.16.2
torchinfo==1.8.0
pytorch-ignite==0.4.13


avro==1.11.3
confluent-kafka==2.3.0
requests==2.31.0


torchinfo==1.6.3
pytorch-ignite==0.4.7
avro==1.11.0
kafka-python==2.0.2
scikit-learn==1.0.2
seaborn==0.11.2
requests==2.27.1
scikit-learn==1.4.2
seaborn==0.13.1
requests==2.32.0
8 changes: 4 additions & 4 deletions model_training/tensorflow/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tensorflow-io==0.23.1
tensorflow-io==0.35.0
kafka-python==2.0.2
scikit-learn==1.0.2
seaborn==0.11.2
confluent-kafka==1.8.2
scikit-learn==1.4.2
seaborn==0.13.1
confluent-kafka==2.3.0

0 comments on commit 1919256

Please sign in to comment.