-
Notifications
You must be signed in to change notification settings - Fork 909
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/fix-fds-api-docs' into fix-fds-a…
…pi-docs
- Loading branch information
Showing
70 changed files
with
792 additions
and
886 deletions.
There are no files selected for viewing
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../ | ||
|
||
# Extract the latest release notes from the changelog, which starts at the line containing | ||
# the latest version tag and ends one line before the previous version tag. | ||
tags=$(git tag --sort=-creatordate) | ||
new_version=$(echo "$tags" | sed -n '1p') | ||
old_version=$(echo "$tags" | sed -n '2p') | ||
|
||
awk -v start="$new_version" -v end="$old_version" ' | ||
$0 ~ start {flag=1; next} | ||
$0 ~ end {flag=0} | ||
flag && !printed && /^$/ {next} # skip the first blank line | ||
flag && !printed {printed=1} | ||
flag' doc/source/ref-changelog.md |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
flwr>=1.0, <2.0 | ||
torch==1.13.1 | ||
torchvision==0.14.1 | ||
|
||
validators==0.18.2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
flwr>=1.0, <2.0 | ||
tensorflow-macos>=2.9.1, != 2.11.1 ; sys_platform == "darwin" and platform_machine == "arm64" | ||
tensorflow-cpu>=2.9.1, != 2.11.1 ; platform_machine == "x86_64" | ||
tensorflow-macos>=2.9.1, != 2.11.1 ; sys_platform == "darwin" and platform_machine == "arm64" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
name = "flower-android-kotlin" | ||
version = "0.1.0" | ||
|
@@ -7,7 +11,3 @@ authors = ["Steven Hé (Sīchàng) <[email protected]>"] | |
[tool.poetry.dependencies] | ||
python = ">=3.8,<3.11" | ||
flwr = ">=1.0,<2.0" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ authors = ["The Flower Authors <[email protected]>"] | |
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8,<3.11" | ||
# flwr = { path = "../../", develop = true } # Development | ||
flwr = ">=1.0,<2.0" | ||
tensorflow-cpu = {version = ">=2.9.1,<2.11.1 || >2.11.1", markers = "platform_machine == \"x86_64\""} | ||
tensorflow-macos = {version = ">=2.9.1,<2.11.1 || >2.11.1", markers = "sys_platform == \"darwin\" and platform_machine == \"arm64\""} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
flwr>=1.0, <2.0 | ||
tensorflow-macos>=2.9.1, != 2.11.1 ; sys_platform == "darwin" and platform_machine == "arm64" | ||
tensorflow-cpu>=2.9.1, != 2.11.1 ; platform_machine == "x86_64" | ||
tensorflow-macos>=2.9.1, != 2.11.1 ; sys_platform == "darwin" and platform_machine == "arm64" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,13 @@ | ||
ARG BASE_IMAGE_TYPE=cpu | ||
# these images have been pushed to Dockerhub but you can find | ||
# each Dockerfile used in the `base_images` directory | ||
FROM jafermarq/jetsonfederated_$BASE_IMAGE_TYPE:latest | ||
ARG BASE_IMAGE | ||
|
||
RUN apt-get install wget -y | ||
# Pull the base image from NVIDIA | ||
FROM $BASE_IMAGE | ||
|
||
# Download and extract CIFAR-10 | ||
# To keep things simple, we keep this as part of the docker image. | ||
# If the dataset is already in your system you can mount it instead. | ||
ENV DATA_DIR=/app/data/cifar-10 | ||
RUN mkdir -p $DATA_DIR | ||
WORKDIR $DATA_DIR | ||
RUN wget https://www.cs.toronto.edu/\~kriz/cifar-10-python.tar.gz | ||
RUN tar -zxvf cifar-10-python.tar.gz | ||
|
||
WORKDIR /app | ||
# Scripts needed for Flower client | ||
ADD client.py /app | ||
ADD utils.py /app | ||
|
||
# update pip | ||
# Update pip | ||
RUN pip3 install --upgrade pip | ||
|
||
# making sure the latest version of flower is installed | ||
RUN pip3 install flwr>=1.0.0 | ||
# Install flower | ||
RUN pip3 install flwr>=1.0 | ||
RUN pip3 install tqdm==4.65.0 | ||
|
||
ENTRYPOINT ["python3","-u","./client.py"] | ||
WORKDIR /client |
Oops, something went wrong.