File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
dockerfile/multi-stages-build Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ RUN pip3 install -r ./fedml/requirements.txt
4040RUN pip3 install --upgrade gevent
4141
4242
43- ARG BASE_IMAGE=public.ecr.aws/x6k8q1x9/fedml-device-image:base
4443FROM ${BASE_IMAGE} AS fedml-training-env-base
4544
4645ADD ./devops/scripts/runner.sh ./fedml/runner.sh
@@ -70,7 +69,7 @@ RUN pip3 install MNN==1.1.6
7069WORKDIR /fedml
7170
7271COPY --from=fedml-training-env-base /fedml/fedml-pip /fedml/fedml-pip
73- COPY --from=fedml-training-env-base /fedml/fedml-pip/python/ fedml ${FEDML_PIP_HOME}
72+ COPY --from=fedml-training-env-base /fedml/fedml-pip/fedml ${FEDML_PIP_HOME}
7473
7574ENV MODE=normal FEDML_VERSION=${VERSION} ACCOUNT_ID=0 SERVER_DEVICE_ID=0 \
7675 FEDML_PACKAGE_NAME=package FEDML_PACKAGE_URL=s3_url \
@@ -84,7 +83,7 @@ FROM ${BASE_IMAGE} AS fedml-client-agent
8483WORKDIR /fedml
8584
8685COPY --from=fedml-training-env-base /fedml/fedml-pip /fedml/fedml-pip
87- COPY --from=fedml-image- base /fedml/fedml-pip/python /fedml ${FEDML_PIP_HOME}
86+ COPY --from=fedml-training-env- base /fedml/fedml-pip/fedml ${FEDML_PIP_HOME}
8887
8988ENV ACCOUNT_ID=0 FEDML_VERSION=${VERSION} CLIENT_DEVICE_ID=0 CLIENT_OS_NAME=linux
9089
Original file line number Diff line number Diff line change @@ -4,20 +4,20 @@ push_arm_arch_images=$1
44
55export FEDML_VERSION=` cat python/setup.py | grep version= | awk -F' =' ' {print $2}' | awk -F' ,' ' {print $1}' | awk -F' "' ' {print $2}' `
66if [[ $push_arm_arch_images == " " ]]; then
7- docker push fedml/fedml:latest-torch1.12 .1-cuda11.3 -cudnn8-devel
8- docker push fedml/fedml:${FEDML_VERSION} -torch1.12 .1-cuda11.3 -cudnn8-devel
7+ docker push fedml/fedml:latest-torch1.13 .1-cuda11.6 -cudnn8-devel
8+ docker push fedml/fedml:${FEDML_VERSION} -torch1.13 .1-cuda11.6 -cudnn8-devel
99fi
1010
1111if [[ $push_arm_arch_images != " " ]]; then
12- docker push fedml/fedml:latest-torch1.12 .1-cuda11.3 -cudnn8-devel-arm64
13- docker push fedml/fedml:${FEDML_VERSION} -torch1.12 .1-cuda11.3 -cudnn8-devel-arm64
12+ docker push fedml/fedml:latest-arm64- torch1.13 .1-cuda11.6 -cudnn8-devel
13+ docker push fedml/fedml:${FEDML_VERSION} -arm64- torch1.13 .1-cuda11.6 -cudnn8-devel-arm64
1414
1515 docker push fedml/fedml:latest-nvidia-jetson-l4t-ml-r35.1.0-py3
1616 docker push fedml/fedml:${FEDML_VERSION} -nvidia-jetson-l4t-ml-r35.1.0-py3
1717
18- # docker push fedml/fedml:latest-raspberrypi4-32-py37
19- # docker push fedml/fedml:${FEDML_VERSION}-raspberrypi4-32-py37
18+ # docker push fedml/fedml:latest-raspberrypi4-32-py38
19+ # docker push fedml/fedml:${FEDML_VERSION}-raspberrypi4-32-py38
2020
21- docker push fedml/fedml:latest-raspberrypi4-64-py37
22- docker push fedml/fedml:${FEDML_VERSION} -raspberrypi4-64-py37
21+ docker push fedml/fedml:latest-raspberrypi4-64-py38
22+ docker push fedml/fedml:${FEDML_VERSION} -raspberrypi4-64-py38
2323fi
You can’t perform that action at this time.
0 commit comments