#. NNICTL support tensorboard function in local and remote platform for the moment, other platforms will be supported later.
#. If you want to use tensorboard, you need to write your tensorboard log data to environment variable [NNI_OUTPUT_DIR] path.
#. In local mode, nnictl will set --logdir=[NNI_OUTPUT_DIR] directly and start a tensorboard process.
#. In remote mode, nnictl will create a ssh client to copy log data from remote machine to local temp directory firstly, and then start a tensorboard process in your local machine. You need to notice that nnictl only copy the log data one time when you use the command, if you want to see the later result of tensorboard, you should execute nnictl tensorboard command again.
#. If there is only one trial job, you don't need to set trialid. If there are multiple trial jobs running, you should set the trialid, or you could use [nnictl tensorboard start --trialid all] to map --logdir to all trial log paths.
|--config, -c| True| |YAML configure file of the experiment|
|--config, -c| True| |YAML configure file of the experiment|
|--port, -p|False| |the port of restful server|
|--port, -p|False| |the port of restful server|
<aname="resume"></a>
<aname="resume"></a>
* __nnictl resume__
* __nnictl resume__
...
@@ -61,10 +61,10 @@ nnictl support commands:
...
@@ -61,10 +61,10 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |The id of the experiment you want to resume|
|id| False| |The id of the experiment you want to resume|
|--port, -p| False| |Rest port of the experiment you want to resume|
|--port, -p| False| |Rest port of the experiment you want to resume|
<aname="stop"></a>
<aname="stop"></a>
* __nnictl stop__
* __nnictl stop__
...
@@ -81,12 +81,12 @@ nnictl support commands:
...
@@ -81,12 +81,12 @@ nnictl support commands:
* Detail
* Detail
1.If there is an id specified, and the id matches the running experiment, nnictl will stop the corresponding experiment, or will print error message.
1.If there is an id specified, and the id matches the running experiment, nnictl will stop the corresponding experiment, or will print error message.
2.If there is no id specified, and there is an experiment running, stop the running experiment, or print error message.
2.If there is no id specified, and there is an experiment running, stop the running experiment, or print error message.
3.If the id ends with *, nnictl will stop all experiments whose ids matchs the regular.
3.If the id ends with *, nnictl will stop all experiments whose ids matchs the regular.
4.If the id does not exist but match the prefix of an experiment id, nnictl will stop the matched experiment.
4.If the id does not exist but match the prefix of an experiment id, nnictl will stop the matched experiment.
5.If the id does not exist but match multiple prefix of the experiment ids, nnictl will give id information.
5.If the id does not exist but match multiple prefix of the experiment ids, nnictl will give id information.
6.Users could use 'nnictl stop all' to stop all experiments.
6.Users could use 'nnictl stop all' to stop all experiments.
<aname="update"></a>
<aname="update"></a>
* __nnictl update__
* __nnictl update__
...
@@ -104,10 +104,10 @@ nnictl support commands:
...
@@ -104,10 +104,10 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
|--filename, -f| True| |the file storing your new search space|
|--filename, -f| True| |the file storing your new search space|
* __nnictl update concurrency__
* __nnictl update concurrency__
* Description
* Description
...
@@ -122,10 +122,10 @@ nnictl support commands:
...
@@ -122,10 +122,10 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
|--value, -v| True| |the number of allowed concurrent trials|
|--value, -v| True| |the number of allowed concurrent trials|
* __nnictl update duration__
* __nnictl update duration__
...
@@ -140,10 +140,10 @@ nnictl support commands:
...
@@ -140,10 +140,10 @@ nnictl support commands:
```
```
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
|--value, -v| True| |the experiment duration will be NUMBER seconds. SUFFIX may be 's' for seconds (the default), 'm' for minutes, 'h' for hours or 'd' for days.|
|--value, -v| True| |the experiment duration will be NUMBER seconds. SUFFIX may be 's' for seconds (the default), 'm' for minutes, 'h' for hours or 'd' for days.|
* __nnictl update trialnum__
* __nnictl update trialnum__
* Description
* Description
...
@@ -158,10 +158,10 @@ nnictl support commands:
...
@@ -158,10 +158,10 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
|--value, -v| True| |the new number of maxtrialnum you want to set|
|--value, -v| True| |the new number of maxtrialnum you want to set|
<aname="trial"></a>
<aname="trial"></a>
* __nnictl trial__
* __nnictl trial__
...
@@ -180,9 +180,9 @@ nnictl support commands:
...
@@ -180,9 +180,9 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
* __nnictl trial kill__
* __nnictl trial kill__
...
@@ -198,10 +198,10 @@ nnictl support commands:
...
@@ -198,10 +198,10 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
|--trialid, -t| True| |ID of the trial you want to kill.|
|--trialid, -t| True| |ID of the trial you want to kill.|
<aname="top"></a>
<aname="top"></a>
* __nnictl top__
* __nnictl top__
...
@@ -218,10 +218,10 @@ nnictl support commands:
...
@@ -218,10 +218,10 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
|--time, -t| False| |The interval to update the experiment status, the unit of time is second, and the default value is 3 second.|
|--time, -t| False| |The interval to update the experiment status, the unit of time is second, and the default value is 3 second.|
<aname="experiment"></a>
<aname="experiment"></a>
### Manage experiment information
### Manage experiment information
...
@@ -240,9 +240,9 @@ nnictl support commands:
...
@@ -240,9 +240,9 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
* __nnictl experiment status__
* __nnictl experiment status__
...
@@ -258,9 +258,9 @@ nnictl support commands:
...
@@ -258,9 +258,9 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
* __nnictl experiment list__
* __nnictl experiment list__
...
@@ -304,12 +304,12 @@ nnictl support commands:
...
@@ -304,12 +304,12 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
|--head, -h| False| |show head lines of stdout|
|--head, -h| False| |show head lines of stdout|
|--tail, -t| False| |show tail lines of stdout|
|--tail, -t| False| |show tail lines of stdout|
|--path, -p| False| |show the path of stdout file|
|--path, -p| False| |show the path of stdout file|
* __nnictl log stderr__
* __nnictl log stderr__
* Description
* Description
...
@@ -324,12 +324,12 @@ nnictl support commands:
...
@@ -324,12 +324,12 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
|--head, -h| False| |show head lines of stderr|
|--head, -h| False| |show head lines of stderr|
|--tail, -t| False| |show tail lines of stderr|
|--tail, -t| False| |show tail lines of stderr|
|--path, -p| False| |show the path of stderr file|
|--path, -p| False| |show the path of stderr file|
* __nnictl log trial__
* __nnictl log trial__
...
@@ -345,9 +345,9 @@ nnictl support commands:
...
@@ -345,9 +345,9 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |the id of trial|
|id| False| |the id of trial|
<aname="webui"></a>
<aname="webui"></a>
### Manage webui
### Manage webui
...
@@ -371,11 +371,11 @@ nnictl support commands:
...
@@ -371,11 +371,11 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
|--trialid| False| |ID of the trial|
|--trialid| False| |ID of the trial|
|--port| False| 6006|The port of the tensorboard process|
|--port| False| 6006|The port of the tensorboard process|
* Detail
* Detail
...
@@ -398,9 +398,9 @@ nnictl support commands:
...
@@ -398,9 +398,9 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|id| False| |ID of the experiment you want to set|
<aname="package"></a>
<aname="package"></a>
### Manage package
### Manage package
...
@@ -418,9 +418,9 @@ nnictl support commands:
...
@@ -418,9 +418,9 @@ nnictl support commands:
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|------|------|------ |------|
|--name| True| |The name of package to be installed|
|--name| True| |The name of package to be installed|