Skip to content

Commit 8da3622

Browse files
author
Ralf Grubenmann
committed
Publish post about new CLI interface
1 parent bec4fa8 commit 8da3622

1 file changed

Lines changed: 28 additions & 3 deletions

File tree

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: "Tutorial: Using the MLBench Commandline Interface"
44
author: r_grubenmann
5-
published: false
5+
published: true
66
tags: [tutorial,guide]
77
excerpt_separator: <!--more-->
88
---
@@ -55,7 +55,32 @@ Run started with name my-run-2
5555

5656
You will be prompted to select the benchmark image you want to run (or to specify a custom image). Afterwards, a new benchmark run will be started in the cluster with 2 workers.
5757

58-
To see the status of this run, execute:
58+
You can also start multiple runs at the same time, which will be scheduled as nodes become available:
59+
60+
```shell
61+
$ mlbench run my-run 2 4 8 16
62+
63+
Benchmark:
64+
65+
[0] PyTorch Cifar-10 ResNet-20 Open-MPI
66+
[1] PyTorch Cifar-10 ResNet-20 Open-MPI (SCaling LR)
67+
[2] PyTorch Linear Logistic Regrssion Open-MPI
68+
[3] Tensorflow Cifar-10 ResNet-20 Open-MPI
69+
[4] Custom Image
70+
71+
Selection [0]: 1
72+
73+
[...]
74+
75+
Run started with name my-run-2
76+
Run started with name my-run-4
77+
Run started with name my-run-8
78+
Run started with name my-run-16
79+
```
80+
81+
which would start runs with 2, 4, 8 and 16 workers, respectively.
82+
83+
To see the status of a run, execute:
5984

6085
```shell
6186
$ mlbench status my-run-2
@@ -75,7 +100,7 @@ To download the results of a current or finished run, use:
75100
$ mlbench download my-run-2
76101
```
77102

78-
which will download all the metrics of the run as a zip file. This file also contains the official benchmark result once the run finishes.
103+
which will download all the metrics of the run as a zip file. This file also contains the official benchmark result once the run finishes, in the form of the ``official_result.txt``.
79104

80105
You can also access all the information of the run in the dashboard. To get the dashboard URL, simply run:
81106

0 commit comments

Comments
 (0)