The Swarm Learning package contains docker container images for each Swarm Learning component. The Swarm Learning container images are available in a docker registry as described in section Pulling docker images.
The evaluation license for running the Swarm Learning components are available at My HPE Software Center (MSC). Use your HPE Passport account to access MSC and download evaluation license.
Swarm Learning docker images are available on HPE docker registry - hub.myenterpriselicense.hpe.com.
Docker registry access is password
protected. User needs to login to docker registry using HPE Passport email id and password 'hpe_eval'. All Swarm Learning images are signed by HPE with the name as 'hpe-ai-swarm-learning'. Users can inspect and pull these images after enabling docker content trust by setting the environment variable as 'DOCKER_CONTENT_TRUST=1'. See resources for details.
The following Swarm Learning images are available on HPE docker registry:
-
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/apls:0.3.0
-- this is the docker image for the License Manager component. -
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/spire-server:0.3.0
-- this is the docker image for the SPIRE Server component. -
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sn:0.3.0
-- this is the docker image for the Swarm Network component. -
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sl-tf:0.3.0
-- this is the docker image for the TensorFlow-based Swarm Learning component. -
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sl-pyt:0.3.0
-- this is the docker image for the PyTorch-based Swarm Learning component. -
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swci:0.3.0
-- this is the docker image for Swarm Learning Command Interface component.
The steps to be followed to download Swarm Learning docker images on the Linux environment.
-
Use HPE Passport email id as username and 'hpe_eval' as password to login to registry
docker login hub.myenterpriselicense.hpe.com -u <HPE-PASSPORT-EMAIL> -p hpe_eval
-
Enable docker content trust
export DOCKER_CONTENT_TRUST=1
-
Optionally, inspect repos and validate HPE signer name for all the Swarm Learning images is
hpe-ai-swarm-learning
For exampledocker trust inspect --pretty hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/apls
Sample output
Signatures for hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/apls
SIGNED TAG DIGEST SIGNERS
0.3.0 4d889c26c9e583b0c0e394e8876047133ed6ce487188c88827c82451fdc75885 hpe-ai-swarm-learning
List of signers and their keys for hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/apls
SIGNER KEYS
hpe-ai-swarm-learning cba8a8726e82
Administrative keys for hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/apls
Repository Key: 26ec79d1aa6d2338ea7ab6ca498e46d1948e38e668cfa9899c7c4d1c8a23aa45
Root Key: 43af4d638af9c5d0202318c951049719ce3f82181447c9f4f1c1bb6c02799f83
-
Pull all signed images with tag '0.3.0'
docker pull hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/apls:0.3.0 docker pull hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/spire-server:0.3.0 docker pull hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sn:0.3.0 docker pull hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sl-tf:0.3.0 docker pull hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sl-pyt:0.3.0 docker pull hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swci:0.3.0
Licenses for running the Swarm Learning package should be installed on the License Server. After completing the product installation, start the License Server container using the swarm-learning/bin/run-apls
script. The parameters for this script are described in the Running Swarm Learning section. Then, connect to the License Server's management interface using a web browser. This site can be reached using the link, -address-or-FQDN-of-host-running-License-Server-container>:5814/autopass
.
The default username is, "admin"
, and the password, "password"
.
Use the management interface to install licenses and manage them. See chapter "HPE AutoPass License Server License Management" in AutoPass License Server User Guide.
NOTE: Whenever the container running the License Server (apls) is stopped or the host system running the License Sever reboots, the License Server needs to be started and the licenses have to be reinstalled again. HPE recommends not to stop the License Server container once it is started.
Use the swarm-learning/bin/uninstall
script to uninstall the Swarm Learning package. This script does not accept any command line parameters. It should be run on every node where Swarm Learning package was installed.
When run, it stops all Swarm Learning components that are running on that host, removes the docker container images, and deletes the "docs", "examples" and "scripts" directories installed under swarm-learning.
NOTE: If needed, any log output produced by the containers should be saved before invoking the script as they will not be available after the script is executed. Also output files that have been written under the "examples" directory by previous runs might also require attention.