Skip to content

Latest commit

 

History

History
45 lines (22 loc) · 2.51 KB

Running_Swarm_Learning_examples_using_SLM-UI.md

File metadata and controls

45 lines (22 loc) · 2.51 KB

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.

  1. For ease of use, users can extract the examples folder from the documentation tar ball on their laptops.

  2. 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 the gen-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.

  3. 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.

  4. User can use the provided template files and the generated certificates for the examples and import them into the SLM-UI installer.

  5. 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.

    NOTE:

    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:

  1. Creating a Project

  2. Adding Swarm Nodes

  3. Creating a Task

  4. Creating Task Runners

  5. Creating a Contract

  6. Executing a Task

  7. Managing the Global Settings

  8. Centralized Swarm diagnostic