Skip to main content
Installing Dromeus provides the dromeus command. Each command makes one library call, so anything a command does you can also do from Python. Every command accepts --debug to print the full traceback on error, and dromeus --version prints the installed version.

Point at your task

draft, check, run and doctor take a --task option of the form module:function. Dromeus loads module from the current directory and calls the function with no arguments. It may return:
  • the TrainingTask, which is enough for draft, check and doctor;
  • (TrainingTask, LocalData), which run needs, since a running node trains on its own records.
The example has both: task() and setup().

dromeus draft

Prints the draft hash. It uses the default NoLoCo and transport settings, without privacy or divergence warnings. For those, call dromeus.make_draft from Python.

dromeus check

Confirms that the model, task and loss definitions in the draft match your task, and that this machine has the Dromeus and PyTorch versions the draft names. Prints the draft hash so nodes can compare it. Doesn’t touch the network.

dromeus doctor

--task is optional. Doctor runs these checks and prints one line for each, with a fix for anything not ok: Example output:

dromeus run

Prints the run ID, committed rounds and manifest hash when the run completes. Progress goes to the node’s event log; follow it with dromeus watch.

dromeus watch

Prints one line per event as the node writes it: formation, each committed round and each consensus distance. It waits for the log to appear and stops when the run completes or fails. --once prints what is logged so far and exits. See Monitor a run.

Exit codes

Errors print as one line on stderr. Add --debug for the full traceback.