Prerequisites
- Linux (x86_64 or aarch64) or macOS on Apple silicon. On these platforms Dromeus installs a pinned AXL build, so you don’t need Go.
- Git and uv.
Run it
1
Install Dromeus
Clone the repository and create its environment. Run the remaining steps from the
bootstrap creates a Python environment (3.11 or later) in .venv with PyTorch, Dromeus and the bundled AXL node.dromeus directory, in one terminal.2
Write the data and the shared draft
data-0.npz to data-3.npz. The draft is the group’s agreement: the model, task, loss, optimizer, number of rounds, and the Dromeus, PyTorch and AXL versions. In a real group, one person writes it and sends the file to everyone else.3
Start four AXL nodes
axl-0.json listens for peers on 127.0.0.1:9101. The other three connect out to it, the way nodes behind a NAT would. Each node serves its HTTP bridge on its own port, 9201 to 9204.dromeus doctor checks that node 0 is ready. Every line should read ok, except possibly the clock, and the peers line should say connected to 3 peer(s).4
Train
runs/quickstart/invitation.json, and the three participants read it from the same path. On separate machines you would copy that file to each participant.dromeus watch follows node 0 round by round: the training loss on its own records, the error on a public holdout, the round time and this round’s peer, then the distance between the nodes’ models. Your numbers will differ:run quickstart complete: 20 rounds committed and the same manifest hash.5
Stop the AXL nodes
run_root. To run again, delete it with rm -rf runs/quickstart and start over from step 2.What just happened
- Each node checked the shared draft against its own task and installed versions before touching the network.
- Node 0 formed the group and wrote the invitation. The participants joined with it, and all four agreed on a sealed run manifest.
- In each round, every node took 10 optimizer steps on its own records, then exchanged a NoLoCo update with one scheduled peer through AXL. Nodes 1 to 3 had no direct link to each other: AXL routed their traffic through node 0.
Next steps
How Dromeus works
The group, the draft and what happens in a round.
Define a training task
Train your own model instead of the example.
Run across machines
Set up AXL with a stable identity, a public bootstrap peer and nodes behind NAT.
Monitor a run
Follow rounds, loss and model agreement.