Skip to content

Commit 4ec75a1

Browse files
authored
Merge pull request #131 from SMILELab-FL/v1.1-dev
V1.1 dev
2 parents a4d8219 + a697f81 commit 4ec75a1

150 files changed

Lines changed: 1488 additions & 5749 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,16 @@ dmypy.json
148148
cython_debug/
149149

150150
# dataset
151+
fedlab_benchmarks/algorithm/fedavg/scale/shakespeare-rnn/pkl_dataset/*
152+
153+
fedlab_benchmarks/datasets/data/mnist/*
154+
!fedlab_benchmarks/datasets/data/mnist/*.py
155+
156+
157+
fedlab_benchmarks/datasets/data/cifar10/*
158+
!fedlab_benchmarks/datasets/data/cifar10/*.py
159+
160+
151161
fedlab_benchmarks/datasets/data/*/data
152162
fedlab_benchmarks/datasets/data/*/meta
153163
tests/data/mnist/*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# FedLab: A Flexible Federated Learning Framework
44

5-
[![Documentation Status](https://readthedocs.org/projects/fedlab/badge/?version=latest)](https://fedlab.readthedocs.io/en/latest/?badge=latest) [![License](https://img.shields.io/github/license/SMILELab-FL/FedLab)](https://opensource.org/licenses/Apache-2.0) [![arXiv](https://img.shields.io/badge/arXiv-2107.11621-red.svg)](https://arxiv.org/abs/2107.11621) [![GH Actions Tests](https://github.com/SMILELab-FL/FedLab/actions/workflows/CI.yml/badge.svg)](https://github.com/SMILELab-FL/FedLab/actions) [![codecov](https://codecov.io/gh/SMILELab-FL/FedLab/branch/v1.0/graph/badge.svg?token=4HHB5JCSC6)](https://codecov.io/gh/SMILELab-FL/FedLab)
5+
[![GH Actions Tests](https://github.com/SMILELab-FL/FedLab/actions/workflows/CI.yml/badge.svg)](https://github.com/SMILELab-FL/FedLab/actions) [![Documentation Status](https://readthedocs.org/projects/fedlab/badge/?version=latest)](https://fedlab.readthedocs.io/en/latest/?badge=latest) [![License](https://img.shields.io/github/license/SMILELab-FL/FedLab)](https://opensource.org/licenses/Apache-2.0) [![codecov](https://codecov.io/gh/SMILELab-FL/FedLab/branch/v1.0/graph/badge.svg?token=4HHB5JCSC6)](https://codecov.io/gh/SMILELab-FL/FedLab) [![arXiv](https://img.shields.io/badge/arXiv-2107.11621-red.svg)](https://arxiv.org/abs/2107.11621) [![Pyversions](https://img.shields.io/pypi/pyversions/fedlab.svg?style=flat-square)](https://pypi.python.org/pypi/fedlab)
66

77

88
_Read this in other languages: [English](README.md), [简体中文](README.zh-cn.md)._

docs/source/contributing.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ We encourage you to contribute to the improvement of FedLab or the FedLab reprod
2323
2424
fedlab
2525
│ ├── core
26+
│ │ ├── communicator # communication module of FedLab
2627
│ │ ├── client # client related implementations
27-
│ │ ├── communicator # communication module of FedLab
28-
│ │ ├── hierarchical # hierarchical communication pattern modules
28+
│ │ │ └── scale # scale manager and serial trainer
2929
│ │ └── server # server related implementations
30+
│ │ └── scale # scale manager
31+
│ │ └── hierarchical # hierarchical communication pattern modules
3032
│ └── utils # functional modules
3133
│ └── dataset # functional modules associated with dataset
3234

docs/source/examples.rst

Lines changed: 0 additions & 163 deletions
This file was deleted.

docs/source/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ FedLab provides the necessary modules for FL simulation, including communication
1919

2020
overview
2121
install
22-
examples
22+
tutorial
2323
contributing
2424
reference
2525

@@ -35,7 +35,7 @@ Gallery
3535
:shadow: md
3636
:img-bottom: ../imgs/ex-results/fedavg-CNN-MLP-acc-dark.png
3737
:class-card: sd-rounded-3
38-
:link: examples
38+
:link: tutorial
3939
:link-type: ref
4040

4141
.. grid-item::
@@ -45,7 +45,7 @@ Gallery
4545
:shadow: md
4646
:img-bottom: ../imgs/ex-results/fedavg-CNN-MLP-loss-dark.png
4747
:class-card: sd-rounded-3
48-
:link: examples
48+
:link: tutorial
4949
:link-type: ref
5050

5151

docs/source/install.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.. _installation:
22

33
Installation & Set up
4-
======================
4+
=====================
55

66
FedLab can be installed by source code or pip.
77

88
Source Code
9-
^^^^^^^^^^^^^^
9+
^^^^^^^^^^^
1010

1111
Download source code from GitHub:
1212

@@ -22,9 +22,13 @@ Install dependencies:
2222
$ pip install -r requirements.txt
2323
2424
Pip
25-
^^^^
25+
^^^
2626

27-
Pip install is coming soon.
27+
We support install FedLab with pip:
28+
29+
.. code-block:: shell-session
30+
31+
$ pip install fedlab
2832
2933
Dataset Download
3034
^^^^^^^^^^^^^^^^

docs/source/overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,6 @@ How to use FedLab?
182182
==================
183183

184184
- :ref:`installation`.
185-
- :ref:`examples`.
185+
- :ref:`tutorial`.
186186

187187

0 commit comments

Comments
 (0)