Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version from 0.17.0 to 0.19.0 #2

Merged
merged 211 commits into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
211 commits
Select commit Hold shift + click to select a range
d09e8b7
Upgrade black and isort (#784)
danieljanes Jul 23, 2021
333316b
Format docstring (#785)
danieljanes Jul 25, 2021
fc43f8e
Upgrade CI to Ubuntu 20.04 (#786)
danieljanes Jul 26, 2021
67cb2f3
Virtual Client Simulation (#781)
danieljanes Jul 26, 2021
2f376c9
Fix poetry version in baselines (#788)
danieljanes Jul 26, 2021
6e11c7c
Add option to skip final distributed evaluation (#793)
danieljanes Jul 26, 2021
033c937
fixig 792 (#794)
pedropgusmao Jul 27, 2021
73d2c83
Upgrading torch to 1.9 and torchvision to 0.10.0 (#798)
pedropgusmao Jul 28, 2021
92fad70
Disable final distributed evaluation (#800)
danieljanes Jul 28, 2021
3db5d10
Update torch and torchvision in baselines (#801)
danieljanes Jul 28, 2021
de2394e
Create missing __init__.py modules (#792)
danieljanes Aug 4, 2021
896d241
Fix issue when importing ray module (#806)
tanertopal Aug 9, 2021
6a8ce98
Rename QffedAvg to QFedAvg (#802)
danieljanes Aug 15, 2021
103127e
Tensorboard Strategy Decorator. (#789)
MakGulati Aug 18, 2021
a17f706
Pytorch example for Federated Variational Encoder using Flower Framew…
AmitChaulwar Aug 18, 2021
c103f8c
Upgrade Ray (#819)
danieljanes Aug 18, 2021
e1f7e8a
Update mypy (#737)
danieljanes Aug 20, 2021
59a32d5
Improve FedOpt (#821)
pedropgusmao Aug 24, 2021
ccd9a6d
Fixing script to work with Ray ^1.6.0 without mypy `--no-implicit-ree…
pedropgusmao Sep 1, 2021
5934ac1
Implementation of FedAdam (#822)
pedropgusmao Sep 2, 2021
c1a77d9
Clean up federated VAE example (#820)
danieljanes Sep 2, 2021
2e7a921
FedYogi (#828)
pedropgusmao Sep 3, 2021
ab86045
Update changelog.rst (#829)
pedropgusmao Sep 3, 2021
1a8711d
Simulation extended example (#791)
danieljanes Sep 3, 2021
42f98c8
Introduce warning when available clients are misconfigured (#830)
danieljanes Sep 3, 2021
f46794f
Simulation quickstart example (#790)
danieljanes Sep 5, 2021
6e35fe5
Improve notebook compatibility (#832)
danieljanes Sep 5, 2021
d8407ad
Update pip, setuptools, poetry (#834)
danieljanes Sep 6, 2021
df4d5e0
Improve gRPC server docs (#841)
tanertopal Sep 13, 2021
8fa0fbe
Upgrade TF version in examples (#849)
tanertopal Sep 16, 2021
193a98f
Fixes example and removes dep which is not required (#850)
tanertopal Sep 16, 2021
98bfdb9
Update documentation dependencies and fix styling (#848)
tanertopal Sep 16, 2021
25012a2
Improve Ray initialization (#835)
danieljanes Sep 16, 2021
ad5da6c
Improve the error message in NumPyClient (#851)
tanertopal Sep 16, 2021
7db5eb3
Improve quickstart PyTorch example (#852)
danieljanes Sep 17, 2021
1889037
PyTorch Lightning example (#617)
danieljanes Sep 23, 2021
d963b39
Create Flower 0.17 release notes (#854)
danieljanes Sep 24, 2021
9406853
Prepare 0.18.0 (#855)
danieljanes Sep 24, 2021
588bcca
Create get properties msg (#795)
pedropgusmao Sep 24, 2021
29bfdee
Update release process documentation (#856)
danieljanes Sep 25, 2021
afae43a
Upgrades poetry to version 1.1.10. It fixes some weird bugs during (#…
pedropgusmao Sep 28, 2021
e5f6c5b
Upgrading `setuptools` from `57.5.0` to `58.1.0` (#861)
pedropgusmao Sep 29, 2021
a5b21ca
Adding possibility of sending a `List[str]` instead of just the numbe…
pedropgusmao Sep 29, 2021
1fcde4e
Fix typos & edit link in docs (#862)
lbhm Oct 4, 2021
2dbef1d
Migrate mypy config to pyproject.toml (#853)
architjen Oct 4, 2021
2600493
Improve "ray" import check so it works on Colab (#866)
tanertopal Oct 11, 2021
05f6a2c
Fix Ray dependency to 1.6.0 (#872)
danieljanes Oct 12, 2021
3afa82e
Android strategy (#865)
akhilmathurs Oct 14, 2021
48fafe5
Add release notes (#878)
danieljanes Oct 14, 2021
46562da
Fix Quickstart (PyTorch) docs (#879)
danieljanes Oct 15, 2021
b062f23
Update docs with new architecture diagrams (#881)
danieljanes Oct 17, 2021
81d5d0b
Create Jupyter Notebook example (#833)
danieljanes Oct 17, 2021
df34a20
Opacus Examples (#805)
tatiana-s Oct 25, 2021
1b8dc4c
Fix FedAdam and FedYogi to match the paper (#885)
Jueun-Park Oct 28, 2021
4d73aea
Upgrade TensorFlow to 2.6.2 (#896)
danieljanes Nov 10, 2021
8ef58cf
Changed tensor convertor from torch.Tensor() to torch.tensor() (#886)
PratikGarai Nov 10, 2021
e6aad8e
Rename PyTorch tensor call motivated by #886 (#898)
tanertopal Nov 12, 2021
a8c2f42
Revert "adding testing result" (#900)
cozek Nov 14, 2021
4d95d26
Auto-format Opacus example, add pyproject.toml (#902)
danieljanes Nov 14, 2021
a47cf6b
correct num_examples calculation (#909)
mariaboerner1987 Nov 25, 2021
30441fa
add PR for num_examples in changelog (#912)
mariaboerner1987 Nov 26, 2021
7365a21
Update dataset.py (#918)
MakGulati Dec 1, 2021
ceb5c7a
fixing ray get_properties issue (#923)
pedropgusmao Dec 3, 2021
715d029
Update pyproject.toml in baselines (#925)
danieljanes Dec 6, 2021
b50ef84
added tfltransfer library (#946)
akhilmathurs Dec 16, 2021
e48f7c4
Fix typos in pytorch example (#945)
remde Dec 17, 2021
8b90548
Update torch version in baselines (#947)
pedropgusmao Dec 17, 2021
e573e6e
Updating FedOpt and subclasses to latest version of the paper (#895)
pedropgusmao Dec 22, 2021
27fc729
Fix Android example server comment (#950)
sisco0 Dec 22, 2021
7887952
Updated PyTorch Quickstart Example comment (#954)
sisco0 Dec 22, 2021
d54687c
FAQ page for the documentation (#948)
mariaboerner1987 Dec 22, 2021
028755b
Federated HuggingFace Transformers using Flower (#863)
cozek Dec 23, 2021
f40d931
Mention new examples in README, fix docs (#957)
danieljanes Dec 25, 2021
566e615
Test if docs can be build in PRs (#958)
tanertopal Dec 26, 2021
921d5be
Add Act instructions for developers (#960)
sisco0 Dec 26, 2021
fccb625
Update CI Python versions to latest (#963)
tanertopal Dec 28, 2021
1b4b04a
Update scripts and docs to Python 3.7.12 (#964)
danieljanes Dec 28, 2021
3ccdc3a
Added __version__ to Flower (#952)
sisco0 Dec 28, 2021
06ba8a2
Add .DS_Store to .gitignore (#965)
danieljanes Dec 28, 2021
59d34b8
Include __version__ in changelog.rst (#968)
tanertopal Dec 28, 2021
ab82619
Test if __version__ is correctly importable (#967)
tanertopal Dec 29, 2021
c6350d1
Update pip/setuptools/poetry (#970)
danieljanes Dec 29, 2021
3f832be
Update dependencies (#972)
danieljanes Dec 30, 2021
0d13f48
Remove flwr_example and flwr_experimental from packages (#869)
danieljanes Dec 30, 2021
509bdca
Documentation for Adding a New Message Round (#812)
hei411 Dec 30, 2021
759b734
Improve formatting scripts (#977)
danieljanes Jan 1, 2022
fc85a81
Make CI workflows and actions naming consistent (#984)
tanertopal Jan 3, 2022
13b505e
Fix missing type error thrown by mypy (#982)
tanertopal Jan 4, 2022
6f19231
Fix typos at comments and variable names in Python files (#980)
sisco0 Jan 4, 2022
4de97cf
Returning history object rounds (#974)
pedropgusmao Jan 5, 2022
8b56703
Document risk of setting allow_pickle to true (#986)
tanertopal Jan 5, 2022
5b92ef6
Preparing to enable SSL/TLS for gRPC server (#842)
tanertopal Jan 5, 2022
b33c5c4
Add secure gRPC client implemenation (#844)
tanertopal Jan 5, 2022
6db31ff
Document how to enable SSL in public API (#845)
tanertopal Jan 6, 2022
31a0870
Add contributors image to README (#987)
danieljanes Jan 6, 2022
415ec55
Renaming of variable for clarity (#988)
tanertopal Jan 6, 2022
1c93318
Improve wording for secure gRPC docs (#993)
tanertopal Jan 6, 2022
293e36c
Create templates for PR and issues (#995)
mariaboerner1987 Jan 7, 2022
5198cc8
Add guide for secure gRPC (#994)
tanertopal Jan 7, 2022
faf4d90
create doc for baseline contributions (#1003)
mariaboerner1987 Jan 13, 2022
7fb4035
update the mxnet documentation (#1005)
mariaboerner1987 Jan 13, 2022
7c55e97
Scikit doc (#1004)
mariaboerner1987 Jan 13, 2022
7ffbd14
Fix to the tfltransfer library (#1001)
akhilmathurs Jan 17, 2022
4068eb9
Make max_workers configurable (#978)
danieljanes Jan 17, 2022
39c7da3
Update changelog for SSL-enabled connections (#992)
tanertopal Jan 19, 2022
cc4dbb2
Bumped mypy and tensorflow-cpu to newer versions (#962)
sisco0 Jan 19, 2022
ab13d52
No-op cleanups (#1014)
danieljanes Jan 20, 2022
317043f
Update baselines dev tool config (#1017)
danieljanes Jan 20, 2022
cb66854
Refactor client shutdown (#1018)
danieljanes Jan 20, 2022
f7cc5de
Fix logging message in client for secure connection. (#1024)
tanertopal Jan 25, 2022
3412161
Add MLCube+Flower example (#779)
tanertopal Jan 27, 2022
86af2da
MLcube workspaces (#1034)
tanertopal Jan 28, 2022
10ba8a1
Use plausible for docs (#1039)
tanertopal Feb 1, 2022
37a8f51
Fix linter error in docs (#1042)
tanertopal Feb 2, 2022
a97f495
Fix link in documentation (#1045)
mariaboerner1987 Feb 3, 2022
dbbb91c
Upgrading Ray and updating simulation_pytorch example (#1036)
jafermarq Feb 4, 2022
525f98d
Update README with Flower logo and links (#1051)
danieljanes Feb 8, 2022
6227e91
Fix typo in tf quickstart doc (#1054)
kinshukdua Feb 11, 2022
c84ee44
Auto-format MLCube example (#1065)
danieljanes Feb 14, 2022
5fb4f9c
Align order of client methods (#1067)
danieljanes Feb 14, 2022
4b01154
Include .cache in rm-caches.sh (#1063)
danieljanes Feb 15, 2022
0b804e7
Decrease default gRPC keepalive time (#1069)
tanertopal Feb 15, 2022
74358bd
Submit a set (instead of a list) of futures to the ThreadPoolExecutor…
danieljanes Feb 15, 2022
ca9d5eb
Auto-format simulation_pytorch example (#1071)
danieljanes Feb 15, 2022
895367d
Migrate from HasField to WhichOneof (#1072)
danieljanes Feb 15, 2022
d80c8c2
Introduce gRPC status message (#1073)
danieljanes Feb 16, 2022
1585137
Upgrade types-protobuf and mypy-protobuf (#1075)
danieljanes Feb 18, 2022
7473520
Integrate client status into PropertiesRes (#1077)
danieljanes Feb 18, 2022
80f3385
Increase sleep time after server start to 3s (#1086)
danieljanes Feb 22, 2022
56fe82f
Add FAQ about Jupyter Notebooks / Google Colab (#1085)
danieljanes Feb 22, 2022
7eec9e1
Create vscode devcontainer to streamline dev envs (#1080)
tanertopal Feb 23, 2022
d982191
Update changelog.rst (#1089)
tanertopal Feb 23, 2022
05075cf
Fix documentation and scripts of mlcube example (#1090)
tanertopal Feb 23, 2022
87c285c
Make get_properties optional (#1068)
danieljanes Feb 24, 2022
f7c7c53
Fix bug with random.sample throwing an Exception (#1093)
tanertopal Feb 24, 2022
ab9635f
Update changelog (#1088)
danieljanes Feb 25, 2022
3bf1852
Limit grpcio dependency to <=1.43.0 (#1095)
danieljanes Feb 28, 2022
2afa9b0
Prepare Flower 0.18.0 release (#1094)
danieljanes Feb 28, 2022
03988b0
Update flwr-nightly to 0.19.0 (#1099)
danieljanes Feb 28, 2022
694f442
Update simulation notebook to install Flower stable release (#1100)
danieljanes Feb 28, 2022
a54e096
Log server start in code examples (#1098)
danieljanes Feb 28, 2022
1595f3d
Align pyproject.toml structure in code examples (#1103)
danieljanes Feb 28, 2022
8f219b9
Update simulation_pytorch example to Flower 0.18.0 (#1102)
danieljanes Feb 28, 2022
f3edd01
Improve SSL log (#1101)
danieljanes Feb 28, 2022
698e592
Remove deprecated KerasClient (#857)
danieljanes Mar 1, 2022
b829ef5
Remove unused parameter from aggregation function (#1104)
danieljanes Mar 1, 2022
698b625
Remove no-op extras (#973)
danieljanes Mar 1, 2022
bbf4810
Use Python 3.9.10 on CI (#1105)
danieljanes Mar 1, 2022
c3ccc84
Perform centralized and federated evaluation (#1091)
sancarlim Mar 1, 2022
7556ed9
Upgrade gRPC-related dependencies (#1096)
danieljanes Mar 1, 2022
78409ff
Remove deprecated proto fields (#870)
danieljanes Mar 2, 2022
7dff2a8
Remove deprecated QffedAvg (#1107)
danieljanes Mar 2, 2022
e091bfc
`create_lda_partitions ` now to receive a `seed` or RNG (#1079)
pedropgusmao Mar 2, 2022
2e7edd7
Disable federated evaluation (#1108)
sancarlim Mar 2, 2022
e4d7ae6
Update notebook example (#1109)
danieljanes Mar 2, 2022
85f80a9
Fedopt baseline (#919)
pedropgusmao Mar 2, 2022
c0460e6
Remove deprecated Strategy return formats (#1112)
danieljanes Mar 6, 2022
cc4421a
Update doc layout template (#1118)
tanertopal Mar 9, 2022
ed57232
Removing deprecated `get_resource_ids() (#1126)
pedropgusmao Mar 14, 2022
517fcee
Update sim.ipynb (#1116)
gubertoli Mar 14, 2022
7fd1aef
Quickstart Pytorch with ResNet18 (#1124)
pedropgusmao Mar 14, 2022
6e9a261
Change both Hydra and Omegaconf to latest dev version containing supp…
pedropgusmao Mar 14, 2022
8e718e2
Simplify quickstart TensorFlow example (#1125)
danieljanes Mar 15, 2022
9cd61d1
Update README.md (#1128)
danieljanes Mar 15, 2022
c1d7cbb
Update dev dependencies (#1131)
danieljanes Mar 16, 2022
d966414
Fix NumPy-related mypy issues (#1133)
danieljanes Mar 19, 2022
0995270
Upgrade importlib-metadata to ^4.4 (#1130)
danieljanes Mar 19, 2022
24c8aec
Remove support for Python 3.6 (#871)
danieljanes Mar 20, 2022
fa88396
Document custom strategy implementation (#1097)
danieljanes Mar 20, 2022
cd2bdc8
Upgrade pip, setuptools, and poetry (#1132)
danieljanes Mar 20, 2022
a56f318
Shorten quickstart PyTorch example (#1117)
danieljanes Mar 21, 2022
b73a1d2
Jax Example (#906)
mariaboerner1987 Mar 21, 2022
a9bea80
Fixed an error in the quickstart_pytorch example on GPU. (#1140)
g-pichler Mar 22, 2022
589436d
Alters FedAvg to include Momentum => FedAvgM (#1076)
pedropgusmao Mar 23, 2022
918add8
Include FedAvgM experiments in Baselines (#1110)
pedropgusmao Mar 23, 2022
86de2c1
Remove deprecated DefaultStrategy (#1142)
danieljanes Mar 23, 2022
39b1f8e
Format JAX example (#1143)
danieljanes Mar 23, 2022
7c83730
Upgrade Sphinx, disable flake8 (#1153)
danieljanes Mar 25, 2022
23617cd
Enable metric aggregation through user-provided functions (#1144)
danieljanes Mar 25, 2022
0df2a2d
Include changelog question in PR template (#1154)
tanertopal Mar 25, 2022
a9fdb3f
Create FedBN Baseline Example (#914)
mariaboerner1987 Mar 25, 2022
3b7622c
Re-enable flake8 (#1155)
danieljanes Mar 26, 2022
14b44a8
Revert PyTorch quickstart to simple CNN (#1156)
danieljanes Mar 26, 2022
8f50808
Update black to fix bug related to click dependency of it (#1165)
tanertopal Mar 30, 2022
4c4d645
Fix README links to Flower Baselines (#1167)
danieljanes Mar 31, 2022
27b1f21
Update evaluation.rst (#1173)
Vingt100 Apr 4, 2022
1e95b16
Fix docs on mobile / switch to Furo theme (#1174)
danieljanes Apr 5, 2022
dbfabcc
Update implementing-strategies.rst (#1175)
Vingt100 Apr 5, 2022
5a2d907
Create notebook tutorial (#1141)
danieljanes Apr 5, 2022
2cd8e9e
Introduce the Flower Enhancement Docs process (#1122)
nfnt Apr 6, 2022
044a966
Let simulation start server with custom ClientManager (#1171)
negedng Apr 13, 2022
45708b9
Consolidate mypy overrides (#1180)
danieljanes Apr 13, 2022
11f6317
option to not shutdown ray if already initialised (#1177)
jafermarq Apr 17, 2022
71e3329
Simple C++ Example (#1111)
pedropgusmao Apr 23, 2022
9cbf767
Introduce wrapper types to gRPC stack (#1191)
danieljanes Apr 25, 2022
976eba1
Experimental support for Python 3.10 and Python 3.11 (#1135)
danieljanes Apr 25, 2022
d112390
Unify documentation separator (#1166)
RISHIKESHAVAN Apr 25, 2022
56b6a12
Generate coverage report when running tests (#1199)
danieljanes Apr 26, 2022
2d45f12
Require Python ^3.7 for all examples (#1197)
danieljanes Apr 26, 2022
a702af9
Add `ClientLike` and `to_client` function (#1200)
danieljanes Apr 28, 2022
ff672ce
Enable request timeouts (#1162)
tanertopal Apr 29, 2022
e0c48c2
Adding advanced_pytorch example (#1007)
cozek May 5, 2022
1bc9649
Update changelog (#1205)
danieljanes May 8, 2022
9cc383c
Update changelog for Flower 0.19 (#1217)
danieljanes May 18, 2022
737a0f1
version 0.17.0 of Flower
rafaelaBrum Jul 11, 2022
9d48b4e
Testing without changing versions
rafaelaBrum Jul 11, 2022
4f95e4a
Log message to test forced distributed eval round
rafaelaBrum Jul 11, 2022
348d485
Updating strategy code
rafaelaBrum Jul 13, 2022
e882523
Merge tag 'v0.19.0' of https://github.com/adap/flower into update_ver…
rafaelaBrum Jul 13, 2022
ecb3d12
Loosening mandatory dependencies
rafaelaBrum Jul 13, 2022
5cf32d5
Loosening mandatory dependencies
rafaelaBrum Jul 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 37 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
FROM ubuntu:20.04

# https://code.visualstudio.com/docs/remote/containers-advanced#_creating-a-nonroot-user
ARG USERNAME=flwr-vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID

# Create the user
RUN groupadd --gid $USER_GID $USERNAME \
&& useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
#
# [Optional] Add sudo support. Omit if you don't need to install software after connecting.
&& apt-get update \
&& apt-get install -y sudo bash \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME

# A persistent volume will be configured in devcontainer.json so we don't loose the commandhistory
# after rebuilding the container
RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \
&& mkdir /commandhistory \
&& touch /commandhistory/.bash_history \
&& chown -R $USERNAME /commandhistory \
&& echo $SNIPPET >> "/home/$USERNAME/.bashrc"

# Install system dependencies
RUN apt update
RUN apt install -y curl wget gnupg python3 python-is-python3 python3-pip git \
build-essential clang-format tmux vim

RUN python -m pip install \
pip==22.0.4 \
setuptools==60.9.3 \
poetry==1.1.13

USER $USERNAME
ENV PATH="/home/$USERNAME/.local/bin:${PATH}"
17 changes: 17 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"dockerFile": "Dockerfile",
"postCreateCommand": "poetry install --extras \"simulation\"",
"extensions": ["ms-python.python"],
"settings": {
"files.watcherExclude": {},
"search.exclude": {},
"terminal.integrated.defaultProfile.linux": "bash"
},
"remoteUser": "flwr-vscode",
"containerEnv": {
"POETRY_VIRTUALENVS_CREATE": "false"
},
"mounts": [
"source=flwr-bashhistory,target=/commandhistory,type=volume"
]
}
3 changes: 1 addition & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ indent_style = space
indent_size = 2

[*.py]
indent_style = space
indent_size = 4
profile = black

[*.rst]
indent_style = space
Expand Down
51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Bug Report
description: Create a report to help us reproduce and correct the bug
labels: ['bug']

body:
- type: markdown
attributes:
value: >
#### Before submitting a bug, please make sure the issue hasn't been already
addressed by searching through [the past issues](https://github.com/adap/flower/issues).
Please also go through the Flower Slack channel if a similar behavior is already appeared and a solution is already given.
- type: textarea
attributes:
label: Describe the bug
description: >
A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: Steps/Code to Reproduce
description: |
Please add a minimal code example that can reproduce the error when running it.
placeholder: |
```
Sample code to reproduce the problem
```
validations:
required: true
- type: textarea
attributes:
label: Expected Results
description: >
Please paste or describe the expected results.
placeholder: >
Example: The server aggregated the weights from all clients.
validations:
required: true
- type: textarea
attributes:
label: Actual Results
description: |
Please paste or describe the results you observe instead of the expected results. If you observe an error, please paste the error message including the **full traceback** of the exception.
placeholder: >
Please paste or specifically describe the actual output or traceback.
validations:
required: true
- type: markdown
attributes:
value: >
Thanks for contributing!
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: Slack Channel
url: https://flower.dev/join-slack
about: Connect with other Flower users and contributors and discuss with them or ask them questions.
- name: Discussion
url: https://github.com/adap/flower/discussions
about: Ask about new features or general questions. Please use the discussion area in most of the cases instead of the issues.
- name: Flower Issues
url: https://github.com/adap/flower/issues
about: Contribute new features/enhancements, report bugs, or improve the documentation.
- name: Flower Mail
url: https://flower.dev/
about: If your project needs professional support please contact the Flower team ([email protected]).
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/doc_improvement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Improve Documentation
description: Create an issue/PR to help us improve the documentation. You can use the issue to report an improvement or directly open a PR with the suggested change.
labels: ['documentation']

body:
- type: markdown
attributes:
value: >
#### We are happy that you want to improve the documentation. Please contact us if you are planning to add a new chapter or blog post.
- type: textarea
attributes:
label: Describe what the documentation is missing.
description: >
Which part of the documentation needs improvement?
validations:
required: true
- type: textarea
attributes:
label: Suggest your improvement.
description: >
What information do you want to change/add?
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Feature request
description: Suggest a new baseline, strategy, example, ...
labels: ['feature request']

body:
- type: markdown
attributes:
value: >
#### If you want to propose a new feature, please check the PRs if someone already works on this feature.
- type: textarea
attributes:
label: Describe the type of feature and its functionality.
validations:
required: true
- type: textarea
attributes:
label: Describe step by step what files and adjustments are you planning to include.
validations:
required: true
- type: textarea
attributes:
label: Is there something else you want to add?
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Question
description: Do you have questions? Please check our Flower Slack channel or the Flower Discussion.
labels: ['question']

body:
- type: markdown
attributes:
value: >
#### Please start a discussion in the Flower discussion before submitting an issue https://github.com/adap/flower/discussions. Only submit a question to the issues if you have not received a reply on the Flower Slack channel or within the discussion area.
- type: textarea
attributes:
label: What is your question?
validations:
required: true
34 changes: 34 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!--
Thanks for contributing a pull request! Please ensure you have taken a look at
the contribution guidelines: https://github.com/adap/flower/blob/main/CONTRIBUTING.md

Does the changelog need to be updated?
See: https://github.com/adap/flower/blob/main/doc/source/changelog.rst
-->

#### Reference Issues/PRs

<!--
Example: Fixes #1234. See also #3456.
Please use keywords (e.g., Fixes) to create a link to the issues or pull requests
you resolved.
-->

#### What does this implement/fix? Explain your changes.

<!--
Explain why this PR is needed and what kind of changes have you done.
Example: the variable rnd was not clear and therefore renamed to fl_round.
-->

#### Any other comments?


<!--
Please be aware that it may take some time until we can check this PR.
If you have an urgent request or question please use the Flower Slack channel.
The Slack channel is really active and contributors respond pretty fast.

We value your contribution and are aware of the time you put into this PR.
Therefore, thank you for your contribution.
-->
14 changes: 7 additions & 7 deletions .github/workflows/baselines.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test Baselines
name: Baselines

on:
push:
Expand All @@ -13,19 +13,19 @@ defaults:
working-directory: baselines

jobs:
test:
runs-on: ubuntu-18.04
test_baselines:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8.3
python-version: 3.8.12
- name: Install build tools
run: |
python -m pip install -U pip==21.1.1
python -m pip install -U setuptools==56.2.0
python -m pip install -U poetry==1.1.6
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
poetry config virtualenvs.create false
- name: Install dependencies
run: |
Expand Down
40 changes: 34 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,52 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build_docs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build docs
uses: actions/setup-python@v2
with:
python-version: 3.7.12
- name: Install build tools
run: |
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
poetry config virtualenvs.create false
- name: Install dependencies (mandatory only)
run: python -m poetry install --extras "simulation"
- name: Build and deploy docs
env:
AWS_DEFAULT_REGION: ${{ secrets. AWS_DEFAULT_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets. AWS_SECRET_ACCESS_KEY }}
run: ./dev/build-docs.sh

deploy_docs:
runs-on: ubuntu-18.04
needs: build_docs
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Deploy docs
uses: actions/setup-python@v2
with:
python-version: 3.7.9
python-version: 3.7.12
- name: Install build tools
run: |
python -m pip install -U pip==21.1.1
python -m pip install -U setuptools==56.2.0
python -m pip install -U poetry==1.1.6
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
poetry config virtualenvs.create false
- name: Install dependencies (mandatory only)
run: python -m poetry install --extras "baseline examples-tensorflow examples-pytorch http-logger ops"
run: python -m poetry install --extras "simulation"
- name: Build and deploy docs
env:
AWS_DEFAULT_REGION: ${{ secrets. AWS_DEFAULT_REGION }}
Expand Down
Loading