The pieces
The draft is the agreement
The draft records everything the group must agree on before training: the run ID, the number of participants and rounds, the local steps per round, the NoLoCo and transport settings, and optional privacy and divergence settings. The task is recorded as hashes of its model, task and loss definitions, its code and its optimizer settings. The Dromeus, PyTorch and AXL versions are recorded too. Before a node contacts the network, it checks the draft against its own task and installed versions. If anything differs, it stops with aDraftError that names the field. This catches a mismatched model or library version before any round runs, instead of as a silent divergence later.
Forming the group
One node is the initiator; the others are participants.- The initiator writes an invitation file for the draft.
- You deliver that file to every participant at the path its node configuration names. Participants wait for it, up to
invitation_timeout_seconds. - The nodes join over AXL and seal a run manifest: the draft plus every member’s AXL public key. Every node ends formation with the same manifest hash.
FormationError if the group isn’t complete when the window closes. See node configuration.
Membership is fixed for the rest of the run.
A training round
Every node repeats the same loop for the number of rounds in the draft:1
Train locally
The node’s optimizer takes
local_steps steps on the node’s own batches.2
Exchange with one peer
The node computes NoLoCo’s outer gradient from its current (fast) weights and its slow weights. It sends the outer gradient and its slow weights to this round’s scheduled peer and receives the peer’s.
3
Apply the outer update
The node applies NoLoCo’s outer momentum update and correction, controlled by the draft’s
alpha, beta and gamma.4
Commit
The node writes a checkpoint under its
run_root and records the round’s training loss and any public evaluation metrics.Measuring agreement
Each round, nodes exchange a small CountSketch of their model. Every node uses the sketches to measure how far each model is from the group’s mean, and logs it as the consensus distance. You can watch it live withdromeus watch and turn it into warnings with a divergence policy. See Monitor a run.
Transfers
AXL encrypts and routes traffic between machines. Dromeus splits each update into chunks with acknowledgments and bounded retries, and checks the sender, round and tensor contents of everything it receives. The draft’s transport limits bound payload size, chunking, retries and in-flight data. To cut traffic, setNoLoCo(top_k_fraction=...): the outer gradient then sends only its largest entries as int8, and slow weights are sent as int8. Error feedback carries the compression error into later rounds.
When something fails
If a peer fails or misses a deadline, the run stops with aRunError. There is no automatic group restart. See Errors and limits.