How do I resume a run, or rerun everything from scratch?¶
run_together and the individual CartLoader commands plan their work as a Makefile, so:
- Resume: rerun the same command. Steps whose outputs already exist are skipped, so an interrupted or failed run continues from where it stopped.
- Rerun everything: add
--restart, which rebuilds every step (make -B). - Preview: add
--dry-runto write the Makefile and print the planned commands without executing them.
With run_together¶
1 2 3 4 5 6 7 8 9 | |
Changing a setting such as --n-factor or --width adds new models alongside the existing ones on the next run. --restart is only needed to redo steps whose outputs already exist.
With the individual commands¶
1 2 | |
See also: