Last Run Macro

Any command that accepts a RUN_ID as an argument will also accept -. The hyphen is a placeholder for the ID of the last run that you launched.

For example, in the following scenario, - would be an alias for outer-converter even though adaptive-pushrod is still in the Running state.

$ engine list -n 2
┌──────────────────────┬──────────────────────────────────┬───────────────────────┬────────────────┬────────────────┐
│ Run │ Run Details │ Configuration │ Scalars │ Commit Message │
├──────────────────────┼──────────────────────────────────┼───────────────────────┼────────────────┼────────────────┤
│ ID: outer-converter │ Status: Canceled │ GPUs: 2x K80 │ step: 160 │ Engine ML Test │
│ Commit: af1464 │ Created: 24 minutes ago │ dataset: kitti/object │ acc: 0.611678 │ 2 GPUs │
│ Branch: demo │ Training: 19 minutes, 28 seconds │ model: avod_model │ loss: 0.156536 │ │
│ │ Finished: 8 minutes ago │ │ │ │
├──────────────────────┼──────────────────────────────────┼───────────────────────┼────────────────┼────────────────┤
│ ID: adaptive-pushrod │ Status: Running │ GPUs: 8x K80 │ step: 1060 │ Engine ML Test │
│ Commit: d4ea15 │ Created: 40 minutes ago │ dataset: kitti/object │ acc: 0.981592 │ 8 GPUs │
│ Branch: demo │ Training: 36 minutes, 24 seconds │ model: avod_model │ loss: 0.006201 │ │
└──────────────────────┴──────────────────────────────────┴───────────────────────┴────────────────┴────────────────┘
$ engine list -
┌──────────────────────┬──────────────────────────────────┬───────────────────────┬────────────────┬────────────────┐
│ Run │ Run Details │ Configuration │ Scalars │ Commit Message │
├──────────────────────┼──────────────────────────────────┼───────────────────────┼────────────────┼────────────────┤
│ ID: outer-converter │ Status: Canceled │ GPUs: 2x K80 │ step: 160 │ Engine ML Test │
│ Commit: af1464 │ Created: 24 minutes ago │ dataset: kitti/object │ acc: 0.611678 │ 2 GPUs │
│ Branch: demo │ Training: 19 minutes, 28 seconds │ model: avod_model │ loss: 0.156536 │ │
│ │ Finished: 8 minutes ago │ │ │ │
└──────────────────────┴──────────────────────────────────┴───────────────────────┴────────────────┴────────────────┘