Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 3.02 KB

README.md

File metadata and controls

71 lines (53 loc) · 3.02 KB

Prerequisite for all examples

  1. Start license server and install valid license before running any of the examples. Refer Installing licenses and starting license server.

  2. Install the Swarm Learning product using the Web UI installer. Refer Web UI installation

  3. After Web UI completes its installation, verify if swarm-learning wheel file and its symbolic link are placed under the lib directory.

Swarm Learning Examples

Several examples of using Swarm Learning are provided with the package.

They 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. A certificate generation utility (gen-cert) is provided to enable users to run the examples quickly.

NOTE:HPE recommends that users must use their own certificates in actual production environment.

For details of running each example, see the below:

This example demonstrates Swarm learning use case on following setup.

  • Based on 2 hosts
  • Mnist dataset
  • ML platform is Tensorflow
  • SL-ML pairs are spawned using SWOP

This example demonstrates Swarm learning use case on following setup. Additionally this example has branches to show case CPU based and GPU based (amd, nvidia) local training of machine learning application.

  • Based on single host
  • Mnist dataset
  • ML platform is PyTorch
  • SL-ML pairs are spawned using SWOP

This example demonstrates Swarm learning use case on following setup.

  • Based on 2 hosts
  • Cifar dataset
  • ML platform is Tensorflow
  • SL-ML pairs are spawned using run-sl script

This example demonstrates Swarm learning use case on following setup.

  • Based on 1 host
  • Credit card fraud detection dataset
  • ML platform is Tensorflow
  • SL-ML pairs are spawned using SWOP

This example demonstrates Swarm learning use case on following setup.

  • Based on 2 hosts
  • BreakHis dataset
  • ML platform is Tensorflow
  • SL-ML pairs are spawned using run-sl script

This example demonstrates Swarm learning use case on following setup.

  • Based on 2 hosts
  • Cancer prediction dataset
  • ML platform is Tensorflow
  • SL-ML pairs are spawned using run-sl script

These examples demonstrates Swarm learning using a Reverse proxy server. For details see

  • Uses 'services' instead of opening up network ports for connecting among Swarm components
  • ML platform is Tensorflow
  • SL-ML pairs are spawned using SWOP