Cleaned up the source code of AsyncFilter (#378) #1544
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MindSpore CI Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
branches: [main] | |
jobs: | |
MindSpore-Tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setting up Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: "latest" | |
auto-update-conda: true | |
activate-environment: "plato" | |
- name: Install dependencies | |
shell: bash -l {0} | |
run: | | |
sudo apt-get update | |
sudo apt install -y python3-pip | |
conda activate plato | |
conda install mindspore-cpu -c mindspore -c conda-forge -y | |
pip3 install numpy python-socketio aiohttp requests boto3 pyyaml datasets | |
pip3 install Pillow==9.5.0 | |
- name: Training workloads | |
shell: bash -l {0} | |
run: | | |
conda activate plato | |
./run --config=configs/MNIST/fedavg_lenet5_mindspore.yml | |
./run --config=configs/MNIST/mistnet_lenet5_mindspore.yml |