From a8eadf8fadbd2f25635c5525762788e4447befed Mon Sep 17 00:00:00 2001 From: Koen van der Veen Date: Fri, 15 Dec 2023 11:07:02 +0000 Subject: [PATCH] update docker notebook --- notebooks/helm/docker-helm-syft.ipynb | 406 +++++++++++++------------- 1 file changed, 198 insertions(+), 208 deletions(-) diff --git a/notebooks/helm/docker-helm-syft.ipynb b/notebooks/helm/docker-helm-syft.ipynb index 3ce0d4b6365..376180837a6 100644 --- a/notebooks/helm/docker-helm-syft.ipynb +++ b/notebooks/helm/docker-helm-syft.ipynb @@ -41,7 +41,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Logged into as \n" + "Logged into as \n" ] }, { @@ -320,7 +320,7 @@ " flex-grow: 0;\n", " }\n", "\n", - " .grid-table67d3c3655c244210ac6987f00cc4b290 {\n", + " .grid-table64f7a5ffbda44d209ed23226aa1cea3b {\n", " display:grid;\n", " grid-template-columns: 1fr repeat(8, 1fr);\n", " grid-template-rows: repeat(2, 1fr);\n", @@ -492,25 +492,25 @@ "
\n", "
\n", "
\n", - "
\n", - "
\n", + "
\n", " \n", "
\n", - " \n", + " \n", "
\n", - " \n", "
\n", "\n", - "

0

\n", + "

0

\n", "
\n", - "
\n", + "
\n", " \n", "
\n", - "
\n", + "
\n", " \n", "
\n", "
\n", @@ -813,7 +813,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 10, "id": "d84a897e", "metadata": {}, "outputs": [ @@ -826,7 +826,7 @@ "SyftSuccess: 3 workers added" ] }, - "execution_count": 6, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -837,7 +837,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 11, "id": "4cea5229", "metadata": {}, "outputs": [ @@ -1047,7 +1047,7 @@ " flex-grow: 0;\n", " }\n", "\n", - " .grid-table161debd8746d4ca98e6a94ee5b196795 {\n", + " .grid-table6af016552d884357a2c0b0b918577dab {\n", " display:grid;\n", " grid-template-columns: 1fr repeat(12, 1fr);\n", " grid-template-rows: repeat(2, 1fr);\n", @@ -1219,25 +1219,25 @@ "
\n", "
\n", "
\n", - "
\n", - "
\n", + "
\n", " \n", "
\n", - " \n", + " \n", "
\n", - " \n", "
\n", "\n", - "

0

\n", + "

0

\n", "
\n", - "
\n", + "
\n", " \n", "
\n", - "
\n", + "
\n", " \n", "
\n", "
\n", @@ -1456,7 +1456,7 @@ " syft.service.worker.worker_service.DockerWorker]" ] }, - "execution_count": 7, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -1475,7 +1475,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 12, "id": "c7d90857", "metadata": {}, "outputs": [], @@ -1486,7 +1486,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 13, "id": "740b3cf1", "metadata": {}, "outputs": [], @@ -1497,7 +1497,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 14, "id": "f0da9c8a", "metadata": {}, "outputs": [], @@ -1521,7 +1521,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 15, "id": "4400f06f", "metadata": {}, "outputs": [ @@ -1549,7 +1549,7 @@ "output_type": "stream", "text": [ "\r", - " 0%| | 0/2 [00:00SyftSuccess: Dataset uploaded to 'determined_norvig'. To see the datasets uploaded by a client on this node, use command `[your_client].datasets`

" + "
SyftSuccess: Dataset uploaded to 'test'. To see the datasets uploaded by a client on this node, use command `[your_client].datasets`

" ], "text/plain": [ - "SyftSuccess: Dataset uploaded to 'determined_norvig'. To see the datasets uploaded by a client on this node, use command `[your_client].datasets`" + "SyftSuccess: Dataset uploaded to 'test'. To see the datasets uploaded by a client on this node, use command `[your_client].datasets`" ] }, - "execution_count": 11, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } @@ -1601,7 +1601,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 17, "id": "842988d1", "metadata": {}, "outputs": [ @@ -1634,7 +1634,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 18, "id": "aa3a5c31", "metadata": {}, "outputs": [ @@ -1758,7 +1758,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 19, "id": "2f23c7ae", "metadata": {}, "outputs": [ @@ -1771,7 +1771,7 @@ "SyftSuccess: User Code Submitted" ] }, - "execution_count": 14, + "execution_count": 19, "metadata": {}, "output_type": "execute_result" } @@ -1782,7 +1782,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 20, "id": "27be4dc4", "metadata": {}, "outputs": [ @@ -1819,7 +1819,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 21, "id": "82d92df1", "metadata": {}, "outputs": [ @@ -1832,12 +1832,12 @@ " \n", "
\n", "

Request

\n", - "

Id: e7f73ae2ab8e4f1eb0efb02d676e51c1

\n", - "

Request time: 2023-12-05 09:35:19

\n", + "

Id: 615fac3ed41c4c23be8ea9fff6016ace

\n", + "

Request time: 2023-12-15 11:03:04

\n", " \n", " \n", "

Status: RequestStatus.PENDING

\n", - "

Requested on: Determined_norvig of type Domain

\n", + "

Requested on: Test of type Domain

\n", "

Requested by: Jane Doe (info@openmined.org)

\n", "

Changes: Request to change main_function to permission RequestStatus.APPROVED. Nested Requests not resolved.

\n", "
\n", @@ -1847,12 +1847,12 @@ "text/markdown": [ "```python\n", "class Request:\n", - " id: str = e7f73ae2ab8e4f1eb0efb02d676e51c1\n", - " request_time: str = 2023-12-05 09:35:19\n", + " id: str = 615fac3ed41c4c23be8ea9fff6016ace\n", + " request_time: str = 2023-12-15 11:03:04\n", " updated_at: str = None\n", " status: str = RequestStatus.PENDING\n", " changes: str = ['Request to change main_function to permission RequestStatus.APPROVED. Nested Requests not resolved']\n", - " requesting_user_verify_key: str = 810847da4475205f7540b1823a72af4c85c327665bfdb463351fbbab2715a675\n", + " requesting_user_verify_key: str = ca43ec9f08916214cb9703333669fea5d473b1a2460f89fceaa161fc46600b17\n", "\n", "```" ], @@ -1860,7 +1860,7 @@ "syft.service.request.request.Request" ] }, - "execution_count": 16, + "execution_count": 21, "metadata": {}, "output_type": "execute_result" } @@ -1871,7 +1871,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 22, "id": "29ee2790", "metadata": {}, "outputs": [ @@ -1892,19 +1892,19 @@ "output_type": "stream", "text": [ "Would you like to proceed? [y/n]: y\n", - "Request approved for domain determined_norvig\n" + "Request approved for domain test\n" ] }, { "data": { "text/html": [ - "
SyftSuccess: Request e7f73ae2ab8e4f1eb0efb02d676e51c1 changes applied

" + "
SyftSuccess: Request 615fac3ed41c4c23be8ea9fff6016ace changes applied

" ], "text/plain": [ - "SyftSuccess: Request e7f73ae2ab8e4f1eb0efb02d676e51c1 changes applied" + "SyftSuccess: Request 615fac3ed41c4c23be8ea9fff6016ace changes applied" ] }, - "execution_count": 18, + "execution_count": 22, "metadata": {}, "output_type": "execute_result" } @@ -1915,7 +1915,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 23, "id": "78b084c0", "metadata": {}, "outputs": [], @@ -1935,7 +1935,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 24, "id": "55c3bee6", "metadata": {}, "outputs": [ @@ -1944,7 +1944,7 @@ "text/markdown": [ "```python\n", "class Job:\n", - " id: UID = 4d68a345f6f34892bc7d4d42ee1f004b\n", + " id: UID = b56adc9fdd1e48c4a275a11b96519723\n", " status: created\n", " has_parent: False\n", " result: ActionDataEmpty \n", @@ -1958,7 +1958,7 @@ "syft.service.job.job_stash.Job" ] }, - "execution_count": 21, + "execution_count": 24, "metadata": {}, "output_type": "execute_result" } @@ -1969,17 +1969,7 @@ }, { "cell_type": "code", - "execution_count": 22, - "id": "cf89cf33", - "metadata": {}, - "outputs": [], - "source": [ - "# job.subjobs" - ] - }, - { - "cell_type": "code", - "execution_count": 26, + "execution_count": 46, "id": "4d567f04", "metadata": {}, "outputs": [ @@ -2189,7 +2179,7 @@ " flex-grow: 0;\n", " }\n", "\n", - " .grid-table2becc9f73ad4415eab2f9c5e69d7fe16 {\n", + " .grid-tablef4adcf287e94440ab66813405ab8b5d0 {\n", " display:grid;\n", " grid-template-columns: 1fr repeat(28, 1fr);\n", " grid-template-rows: repeat(2, 1fr);\n", @@ -2361,25 +2351,25 @@ "
\n", "
\n", "
\n", - "
\n", - "
\n", + "
\n", " \n", "
\n", - " \n", + " \n", "
\n", - " \n", "
\n", "\n", - "

0

\n", + "

0

\n", "
\n", - "
\n", + "
\n", " \n", "
\n", - "
\n", + "
\n", " \n", "
\n", "
\n", @@ -2596,7 +2586,7 @@ "[syft.service.job.job_stash.Job]" ] }, - "execution_count": 26, + "execution_count": 46, "metadata": {}, "output_type": "execute_result" }