TIP:
User can get a quick intuition and overview of SLM-UI by looking at this video.
Before you start using the SLM-UI, HPE recommends you to read the Documentation section to understand about the architecture of Swarm Learning, how these nodes work, how model training happens, and Swarm Learning Concepts section.
Perform the following steps to run the SL examples using SLM-UI.
-
For ease of use, users can extract the examples folder from the documentation tar ball on their laptops.
-
Users must generate x.509 certificates for their own environment. HPE-provided
gen-cert
utility under swarm-learning/examples/utils can be used for generating self-signed certificates just for the purposes of running the examples. Run thegen-cert
utility on one of the Linux host to generate the self-signed certificates. Ensure that these certificates are copied to your laptop under the examples folder. -
User can use Linux remote desktop to display the SLM-UI on the local browser (instead of the remote laptop browser). With this, the SLM-UI's file open dialog box shows all local Linux files to the user. This makes it easier to upload the training artifacts like certs, SWOP profile, Task yaml, etc.
Alternatively, user can use cross-platform file sharing to mount the artifacts directory from the Linux machine on his laptop.
-
User can use the provided template files and the generated certificates for the examples and import them into the SLM-UI installer.
-
User can use the certificate names which are hardcoded inside the provided template yaml files. In case, user changes the certificate names, then they need to make the corresponding changes in the SWOP yaml file.
HPE recommends that users use their own certificates in actual production environment.
To run the Swarm Learning examples using SLM-UI, perform the following steps: