Skip to content

Commit 10c564c

Browse files
authored
Merge pull request #846 from FedML-AI/dev/v0.7.0
[CoreEngine] update the alpha version.
2 parents bdf608d + 93931ea commit 10c564c

File tree

101 files changed

+2460
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+2460
-72
lines changed

.github/workflows/smoke_test_cross_device_mnn_server_linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
- name: pip install -e ./
4444
run: |
4545
pip install -e ./
46+
- name: Install MNN
47+
run: |
48+
pip install mnn==1.1.6
4649
4750
- name: test server of cross-device
4851
run: |

.github/workflows/smoke_test_simulation_mpi_linux.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
include:
3535
- os: ubuntu-latest
3636
mpi: mpich
37-
install-mpi: sudo apt install -y mpich libmpich-dev
37+
install-mpi: |
38+
sudo apt-get update
39+
sudo apt install -y mpich libmpich-dev
3840
# - os: ubuntu-latest
3941
# mpi: openmpi
4042
# install-mpi: sudo apt install -y openmpi-bin libopenmpi-dev
@@ -90,4 +92,4 @@ jobs:
9092
sh run_step_by_step_example.sh 4
9193
9294
- name: Uninstall package after testing
93-
run: python -m pip uninstall --yes mpi4py
95+
run: python -m pip uninstall --yes mpi4py

devops/dockerfile/client-agent/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ RUN pip3 install -r ./fedml/requirements.txt
1515
COPY ./python ./fedml/fedml-pip
1616
WORKDIR ./fedml/fedml-pip
1717
RUN pip3 install -e ./
18-
RUN pip3 install -e '.[tensorflow]'
19-
RUN pip3 install -e '.[jax]'
20-
RUN pip3 install -e '.[mxnet]'
18+
#RUN pip3 install -e '.[tensorflow]'
19+
#RUN pip3 install -e '.[jax]'
20+
#RUN pip3 install -e '.[mxnet]'
2121

2222
WORKDIR /fedml
2323

devops/dockerfile/device-image/Dockerfile-Dev

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ RUN pip3 install -r ./fedml/requirements.txt
1515
COPY ./python ./fedml/fedml-pip
1616
WORKDIR ./fedml/fedml-pip
1717
RUN pip3 install -e ./
18-
RUN pip3 install -e '.[tensorflow]'
19-
RUN pip3 install -e '.[jax]'
20-
RUN pip3 install -e '.[mxnet]'
18+
#RUN pip3 install -e '.[tensorflow]'
19+
#RUN pip3 install -e '.[jax]'
20+
#RUN pip3 install -e '.[mxnet]'
2121
RUN pip3 install MNN==1.1.6
2222

2323
WORKDIR /fedml

devops/dockerfile/edge-server/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ RUN pip3 install -r ./fedml/requirements.txt
1414
COPY ./python ./fedml/fedml-pip
1515
WORKDIR ./fedml/fedml-pip
1616
RUN pip3 install -e ./
17-
RUN pip3 install -e '.[tensorflow]'
18-
RUN pip3 install -e '.[jax]'
19-
RUN pip3 install -e '.[mxnet]'
17+
#RUN pip3 install -e '.[tensorflow]'
18+
#RUN pip3 install -e '.[jax]'
19+
#RUN pip3 install -e '.[mxnet]'
2020

2121
WORKDIR /fedml
2222

devops/dockerfile/server-agent/Dockerfile-Dev

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ RUN pip3 install -r ./fedml/requirements.txt
1515
COPY ./python ./fedml/fedml-pip
1616
WORKDIR ./fedml/fedml-pip
1717
RUN pip3 install -e ./
18-
RUN pip3 install -e '.[tensorflow]'
19-
RUN pip3 install -e '.[jax]'
20-
RUN pip3 install -e '.[mxnet]'
18+
#RUN pip3 install -e '.[tensorflow]'
19+
#RUN pip3 install -e '.[jax]'
20+
#RUN pip3 install -e '.[mxnet]'
2121

2222
WORKDIR /fedml
2323

devops/dockerfile/server-agent/Dockerfile-Release

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ RUN pip3 install -r ./fedml/requirements.txt
1515
COPY ./python ./fedml/fedml-pip
1616
WORKDIR ./fedml/fedml-pip
1717
RUN pip3 install -e ./
18-
RUN pip3 install -e '.[tensorflow]'
19-
RUN pip3 install -e '.[jax]'
20-
RUN pip3 install -e '.[mxnet]'
18+
#RUN pip3 install -e '.[tensorflow]'
19+
#RUN pip3 install -e '.[jax]'
20+
#RUN pip3 install -e '.[mxnet]'
2121

2222
WORKDIR /fedml
2323

python/examples/cross_silo/FA_examples/__init__.py

Whitespace-only changes.

python/examples/cross_silo/FA_examples/mqtt_s3_avg_fake_data_example/__init__.py

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from fedml.fa import init, FARunner
2+
from fedml.fa.data import fa_load_data
3+
4+
if __name__ == "__main__":
5+
6+
# init FedML framework
7+
args = init()
8+
9+
# load data
10+
dataset = fa_load_data(args)
11+
12+
# start training
13+
fa_runner = FARunner(args, dataset)
14+
fa_runner.run()
15+

0 commit comments

Comments
 (0)