Aggregator Node Guide
How to start the aggregator node and automate server configuration
Last updated
Was this helpful?
How to start the aggregator node and automate server configuration
Last updated
Was this helpful?
This guide provides step-by-step instructions for the entire Aggregator workflow. By the end, you will have successfully created configuration files, requested task assignment(s) from admin, assigned tasks to the executor/trainer node, saved metadata of the training workflow, updated global model, uploaded loss score(s), and claimed your staking rewards.
Connect your Metamask Wallet and login in to the dashboard.
Stack necessary tokens for the Aggregator node role.
you will see API key for the authenticating user. You will use those API keys as arguments to the Aggregator/Server automation module.
Windows
For Windows users, we suggest installing WSL. Follow the guidance:
Mac/Linux
You can install Anaconda via
Setup up container using SoraChain Ai's Docker image
Before proceeding, make sure you have cloned the client repository described in the "AI Layer Repo" section.
After setting up the environment ,download test AI Layer repository to work with different nodes.
We have developed an automation script that handles the complete setup process, including configuring the environment, uploading configuration files to the database for trainer nodes, and initializing the aggregator node. The aggregator assigns tasks to trainer nodes and ultimately builds a global model.
The script requires the following parameters as arguments:
Client IDs – Unique identifiers for trainers participating in the network
Model name or path – Specifies the model to be used for training
Data path – Location of the dataset
Workspace directory – Where configuration files are generated before being uploaded to the database
Training mode – Defined by the task creator; SoraEngine supports standard SFT training as well as efficient LoRA PEFT training and quantization
SoraAccess keys – Used for authentication
SoraBucketName – Specifies the directory where trainer node configuration files will be uploaded
This automation simplifies the deployment of trainer and aggregator nodes within the SoraEngine ecosystem, ensuring seamless task assignment and global model aggregation. 🚀
In the dev/test environment, We can enable automation without defining access keys. By default, we are storing our configuration files in workspace/SoraWorkspace directory.