Skip to main content
Once you have a training task, running a group takes four steps: one person writes the shared draft, every node checks it, each node gets its own configuration, and every node starts. This guide assumes each machine already runs an AXL node connected to the group. See AXL setup.
1

Write the shared draft

One person writes the draft once and sends the same file to every node.
make_draft fills in every hash, the Dromeus and PyTorch versions installed on this machine, and the bundled AXL build. Every node must install the same versions. Use a new run_id for every run.Optional settings, available from Python only:Don’t edit a draft by hand. Change the task and write a new draft.
2

Check the draft on every node

Each node confirms the draft matches its task and installed versions, without touching the network:
dromeus check prints the draft hash. Compare it across nodes to confirm everyone has the same file.
3

Configure each node

Each machine has its own node.yaml. Exactly one node is the initiator; the rest are participants.
node.yaml
Then check that the machine is ready:
See Configuration for every field and dromeus doctor for the checks.
4

Start every node

Start the initiator and the participants. Each node passes its own records.
The initiator writes the invitation to its invitation_path. Copy that file to the invitation_path of every participant. Participants wait for it for up to invitation_timeout_seconds.

What run returns

Node.run returns a RunResult when every round is committed: If the run can’t finish, run raises a DromeusError subclass, and dromeus run exits with a matching exit code.

Close enrollment on time

To stop a stale invitation from starting a run late, set enrollment_window_seconds on the initiator:
The invitation then expires that many seconds after the initiator writes it. Participants refuse an expired invitation, and the initiator stops with a FormationError if the group isn’t complete when the window closes. Expiry compares wall clocks across machines, so keep every node’s clock synchronized with NTP.