-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7795 from OpenMined/dev
Update 0.8.1
- Loading branch information
Showing
130 changed files
with
7,302 additions
and
1,926 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: CD - Syft | |
|
||
on: | ||
schedule: | ||
- cron: "00 12 * * */2" # At 12:00 on every 2nd day-of-week. | ||
- cron: "00 12 * * */1" # At 12:00 UTC on every day | ||
workflow_dispatch: | ||
inputs: | ||
none: | ||
|
@@ -56,7 +56,7 @@ jobs: | |
author_email: [email protected] | ||
message: "bump version" | ||
add: "['.bumpversion.cfg', 'VERSION', 'packages/grid/VERSION', 'packages/grid/devspace.yaml', 'packages/syft/src/syft/VERSION', 'packages/syft/setup.cfg', 'packages/grid/frontend/package.json', 'packages/syft/src/syft/__init__.py', 'packages/hagrid/hagrid/manifest_template.yml']" | ||
pull_strategy: NO-PULL | ||
pull: NO-PULL | ||
|
||
- name: Build and publish | ||
env: | ||
|
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 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 |
---|---|---|
|
@@ -42,6 +42,20 @@ sy.requires(">=0.8,<0.8.1") | |
domain_client = sy.login(port=8080, email="[email protected]", password="changethis") | ||
``` | ||
|
||
## Deploy Kubernetes Helm Chart | ||
|
||
``` | ||
$ kubectl create namespace syft | ||
$ helm install my-domain syft --namespace syft --version 0.8.1-beta.12 --repo https://openmined.github.io/PySyft/helm | ||
``` | ||
|
||
# Azure or GKE Ingress | ||
|
||
``` | ||
$ helm install ... --set ingress.ingressClass="azure/application-gateway" | ||
$ helm install ... --set ingress.ingressClass="gce" | ||
``` | ||
|
||
## Deploy to a Container Engine or Cloud | ||
|
||
1. Install our handy 🛵 cli tool which makes deploying a Domain or Gateway server a one-liner: | ||
|
@@ -55,7 +69,7 @@ domain_client = sy.login(port=8080, email="[email protected]", password="change | |
|
||
`PyGrid` = our 🐳 `docker` / 🐧 `vm` `Domain` & `Gateway` Servers where `private data` lives | ||
|
||
4. During quickstart we will deploy `PyGrid` to localhost with 🐳 `docker`, however 🛵 HAGrid can deploy to `podman` or a 🐧 `ubuntu` VM on `azure` / `gcp` / `ANY_IP_ADDRESS` by using 🔨 `ansible`† | ||
4. During quickstart we will deploy `PyGrid` to localhost with 🐳 `docker`, however 🛵 HAGrid can deploy to a 🐧 `ubuntu` VM on `azure` / `gcp` / `ANY_IP_ADDRESS` by using 🔨 `ansible`† | ||
|
||
## Docs and Support | ||
|
||
|
@@ -71,7 +85,7 @@ domain_client = sy.login(port=8080, email="[email protected]", password="change | |
- PySyft 0.8 Requires: 🐍 `python 3.9 - 3.11` - Run: `pip install -U syft` | ||
\*`macOS` Apple Silicon users might need cmake: `brew install cmake` | ||
‡`Windows` users must run this first: `pip install jaxlib==0.4.10 -f https://whls.blob.core.windows.net/unstable/index.html` | ||
- PyGrid Requires: 🐳 `docker` or 🐧 `ubuntu` VM - Run: `hagrid launch ...` | ||
- PyGrid Requires: 🐳 `docker`, ☸️ `kubernetes` or 🐧 `ubuntu` VM - Run: `hagrid launch ...` | ||
|
||
# Versions | ||
|
||
|
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 |
---|---|---|
|
@@ -337,15 +337,13 @@ | |
}, | ||
"outputs": [], | ||
"source": [ | ||
"dataset.add_contributor(role=sy.roles.UPLOADER, \n", | ||
" name=\"Andrew Trask\", \n", | ||
" email=\"[email protected]\",\n", | ||
" note=\"Andrew runs this domain and prepared the dataset metadata.\")\n", | ||
"dataset.add_contributor(name=\"Andrew Trask\", \n", | ||
" email=\"[email protected]\",\n", | ||
" note=\"Andrew runs this domain and prepared the dataset metadata.\")\n", | ||
"\n", | ||
"dataset.add_contributor(role=sy.roles.EDITOR, \n", | ||
" name=\"Madhava Jay\", \n", | ||
" email=\"[email protected]\",\n", | ||
" note=\"Madhava tweaked the description to add the URL because Andrew forgot.\")" | ||
"dataset.add_contributor(name=\"Madhava Jay\", \n", | ||
" email=\"[email protected]\",\n", | ||
" note=\"Madhava tweaked the description to add the URL because Andrew forgot.\")" | ||
] | ||
}, | ||
{ | ||
|
@@ -390,10 +388,9 @@ | |
}, | ||
"outputs": [], | ||
"source": [ | ||
"ctf.add_contributor(role=sy.roles.UPLOADER, \n", | ||
" name=\"Andrew Trask\", \n", | ||
" email=\"[email protected]\",\n", | ||
" note=\"Andrew runs this domain and prepared the asset.\")" | ||
"ctf.add_contributor(name=\"Andrew Trask\", \n", | ||
" email=\"[email protected]\",\n", | ||
" note=\"Andrew runs this domain and prepared the asset.\")" | ||
] | ||
}, | ||
{ | ||
|
@@ -545,7 +542,7 @@ | |
}, | ||
"outputs": [], | ||
"source": [ | ||
"assert mock_ca_data.equals(mock.syft_action_data)" | ||
"assert mock_ca_data.equals(mock)" | ||
] | ||
}, | ||
{ | ||
|
@@ -570,6 +567,19 @@ | |
"assert ca_data.equals(real.syft_action_data)" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"### Create account for guest user\n", | ||
"### Signup is disabled by default\n", | ||
"### An Admin/DO can enable it by `domain_client.settings.allow_guest_signup(enable=True)`\n", | ||
"\n", | ||
"domain_client.register(name=\"Jane Doe\", email=\"[email protected]\", password=\"abc123\", institution=\"Caltech\", website=\"https://www.caltech.edu/\")" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
|
@@ -581,6 +591,13 @@ | |
"if node.node_type.value == \"python\":\n", | ||
" node.land()" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
|
@@ -599,7 +616,7 @@ | |
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.11.3" | ||
"version": "3.9.16" | ||
}, | ||
"toc": { | ||
"base_numbering": 1, | ||
|
Oops, something went wrong.