You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/User/Frequently_asked_questions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,7 +280,7 @@ SWOP profile supports mounts with private data. If the installation path or any
280
280
No. The program and parameters should be the same across all the Swarm Learning nodes.
281
281
282
282
### How to resolve "ERROR: Invalid requirement: 'swarmlearning==client': Expected end or semicolon" error while building user container?
283
-
Latest version of pip has become stricter, especially in handling package names and version specifiers. You can resolve this error by downgrading pip to 24.0 in dockerfile or build task yaml file. You can check dockerfile of any of the 'example/contrib/' examples for reference.
283
+
Latest version of pip has become stricter, especially in handling package names and version specifiers. You can resolve this error by downgrading pip to 24.0 in dockerfile or build task yaml file. You can check dockerfile of any of the 'breakhis', 'cancer-pred', 'cataract-detection' or 'nail-disease' examples for reference.
Copy file name to clipboardExpand all lines: examples/README.md
+36-31Lines changed: 36 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,35 +1,6 @@
1
-
## Prerequisite for all examples
2
-
1. Start license server and install valid license before running any of the examples. Refer [Installing licenses and starting license server](/docs/Install/HPE_Swarm_Learning_installation.md).
3
-
4
-
2. Install the Swarm Learning product using the Web UI installer. Refer [Web UI installation](/docs/Install/HPE_Swarm_Learning_installation.md)
5
-
6
-
For more information on starting license server and installing the Swarm Learning, see [HPE Swarm Learning Installation and Configuration Guide](/docs/Install/HPE_Swarm_Learning_installation.md).
7
-
8
-
9
-
In this section, examples use different models, data, ML platforms, and Swarm cluster configurations. All examples require valid X.509 certificates to be used by different Swarm Learning components.
10
-
<blockquote>
11
-
NOTE: Spire based example is automated and doesn't need any certificates to be generated. Spire agent and server containers will manage the certificates internally.
12
-
</blockquote>
13
-
14
-
A certificate generation utility (`gen-cert`) is provided with each example to enable users to run the examples quickly, using self-signed certificates.
15
-
```{#CODEBLOCK_WLX_CZN_WWB}
16
-
./swarm-learning/examples/utils/gen-cert -h
17
-
Usage: gen-cert -e EXAMPLE-NAME -i HOST-INDEX
18
-
-e Name of the example e.g. mnist, mnist-pyt, cifar10 etc.
19
-
-i Host index like 1,2 etc.
20
-
-h Show help.
21
-
```
22
-
23
-
<blockquote>
24
-
NOTE: HPE recommends that users must use their own certificates in actual production environment.
25
-
</blockquote>
26
-
27
-
## How to resolve "ERROR: Invalid requirement: 'swarmlearning==client': Expected end or semicolon" error while building user container?
28
-
Latest version of pip has become stricter, especially in handling package names and version specifiers. You can resolve this error by downgrading pip to 24.0 in dockerfile or build task yaml file. You can check dockerfile of any of the 'example/contrib/' examples for reference.
29
-
30
1
## Swarm Learning Examples
31
2
32
-
Several examples of using Swarm Learning are provided with the package.
3
+
Several examples of using Swarm Learning are provided. These examples use different models, datasets, ML platforms, and Swarm cluster configurations.
33
4
34
5
For details of running each example, see the below:
35
6
@@ -40,9 +11,43 @@ For details of running each example, see the below:
40
11
-[NIH](/examples/nih/README.md)
41
12
-[Reverse Proxy based examples](/examples/reverse-proxy/README.md)
42
13
-[Spire based example](/examples/spire/cifar10/README.md)
14
+
- Following are the community contributed examples:
1. Start license server and install valid license before running any of the examples. Refer [Installing licenses and starting license server](/docs/Install/HPE_Swarm_Learning_installation.md).
23
+
24
+
2. Install the Swarm Learning product using the Web UI installer. Refer [Web UI installation](/docs/Install/HPE_Swarm_Learning_installation.md)
25
+
26
+
For more information on starting license server and installing the Swarm Learning, see [HPE Swarm Learning Installation and Configuration Guide](/docs/Install/HPE_Swarm_Learning_installation.md).
27
+
28
+
3. All examples require valid X.509 certificates to be used by different Swarm Learning components.
29
+
30
+
A certificate generation utility (`gen-cert`) is provided with each example to enable users to run the examples quickly, using self-signed certificates.
31
+
```{#CODEBLOCK_WLX_CZN_WWB}
32
+
./swarm-learning/examples/utils/gen-cert -h
33
+
Usage: gen-cert -e EXAMPLE-NAME -i HOST-INDEX
34
+
-e Name of the example e.g. mnist, mnist-pyt, cifar10 etc.
35
+
-i Host index like 1,2 etc.
36
+
-h Show help.
37
+
```
38
+
39
+
<blockquote>
40
+
NOTE: Spire based example is automated and doesn't need any certificates to be generated. Spire agent and server containers will manage the certificates internally.
41
+
</blockquote>
42
+
43
+
<blockquote>
44
+
NOTE: HPE recommends that users must use their own certificates in actual production environment.
45
+
</blockquote>
46
+
47
+
## How to resolve "ERROR: Invalid requirement: 'swarmlearning==client': Expected end or semicolon" error while building user container?
48
+
Latest version of pip has become stricter, especially in handling package names and version specifiers. You can resolve this error by downgrading pip to 24.0 in dockerfile or build task yaml file. You can check dockerfile of any of the 'breakhis', 'cancer-pred', 'cataract-detection' or 'nail-disease' examples for reference.
49
+
50
+
## System setup for the examples
46
51
47
52
1. The instructions in these examples assume that Swarm Learning runs on 1 to 2 host systems.
0 commit comments