Creating a federation usually starts with a single node. This node will be the administrator of the federation and will control things such as who gets access to a federation and the overall sync schedule of the federation
After you log in to the SymetryML GUI, you arrive at the main SymetryML GUI interface. In the upper left corner you see the heading Projects, and directly below is the Create Project icon, which provides a drop-down menu with the following options:
SymetryML GUI : Creating a Federation In this tutorial, we are going to focus on the latter two options which constitute the federated learning capabilities of SymetryML:
When you click on the Create Federation option, you are presented with the following consecutive windows:
Federated Learning: Creating a Federation (window1) Federated Learning: Creating a Federation (window2) The following information needs to be supplied:
Parameters Needed
Description
This is the name of the local project.
This applies to the local project, declare whether the local project is CPU, GPU, Partition, etc.
Optional parameter specifying the encoder to be used.
Click Next to choose the type of Federation backend.
AWS is the default choice for Federation Type. If you wish to use NATS proceed here
Creating AWS Federation
Parameters Needed
Description
Name for your federation.
This is the region where S3 bucket will reside.
This is the name of the S3 bucket where updates will be saved to.
The frequency at which your nodes will share their information.
Enter AWS Access Key information here.
Enter AWS Secret Key information here.
Once all the information above is satisfied, click Finish. Click here to continue to the next section, Load data to local project.
Creating NATS Federation
Parameters Needed
Description
Name for your federation.
Location of the NATS server
The frequency at which your nodes will share their information.
One of None, Password, Token
User name if Authentication Type is Password
Password if Authentication Type is Password
Token if Authentication Type is Token
Once all the information above is satisfied, click Finish. Click here to continue to the next section, Load data to local project.
Federated Learning: Creating a Federation - NATS Federation Restrictions
Parameters Needed
Description