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 Then check that the machine is ready:See Configuration for every field and
node.yaml. Exactly one node is the initiator; the rest are participants.node.yaml
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, setenrollment_window_seconds on the initiator:
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.