Release.md 12.9 KB
Newer Older
Yan Ni's avatar
Yan Ni committed
1
2
# ChangeLog

chicm-ms's avatar
chicm-ms committed
3
4
5
## Release 0.7 - 4/29/2018

### Major Features
Chi Song's avatar
Chi Song committed
6

chicm-ms's avatar
chicm-ms committed
7
* [Support NNI on Windows](./WindowsLocalMode.md)
Chi Song's avatar
Chi Song committed
8
  * NNI running on windows for local mode
9
* [New advisor: BOHB](./BohbAdvisor.md)
Chi Song's avatar
Chi Song committed
10
  * Support a new advisor BOHB, which is a robust and efficient hyperparameter tuning algorithm, combines the advantages of Bayesian optimization and Hyperband
11
* [Support import and export experiment data through nnictl](./Nnictl.md#experiment)
Chi Song's avatar
Chi Song committed
12
13
  * Generate analysis results report after the experiment execution
  * Support import data to tuner and advisor for tuning
chicm-ms's avatar
chicm-ms committed
14
* [Designated gpu devices for NNI trial jobs](./ExperimentConfig.md#localConfig)
Chi Song's avatar
Chi Song committed
15
  * Specify GPU devices for NNI trial jobs by gpuIndices configuration, if gpuIndices is set in experiment configuration file, only the specified GPU devices are used for NNI trial jobs.
chicm-ms's avatar
chicm-ms committed
16
* Web Portal enhancement
Chi Song's avatar
Chi Song committed
17
18
19
20
  * Decimal format of metrics other than default on the Web UI
  * Hints in WebUI about Multi-phase
  * Enable copy/paste for hyperparameters as python dict
  * Enable early stopped trials data for tuners.
chicm-ms's avatar
chicm-ms committed
21
* NNICTL provide better error message
Chi Song's avatar
Chi Song committed
22
  * nnictl provide more meaningful error message for YAML file format error
chicm-ms's avatar
chicm-ms committed
23
24

### Bug fix
Chi Song's avatar
Chi Song committed
25

chicm-ms's avatar
chicm-ms committed
26
* Unable to kill all python threads after nnictl stop in async dispatcher mode
Chi Song's avatar
Chi Song committed
27
* nnictl --version does not work with make dev-install
chicm-ms's avatar
chicm-ms committed
28
29
30
* All trail jobs status stays on 'waiting' for long time on PAI platform

## Release 0.6 - 4/2/2019
Chi Song's avatar
Chi Song committed
31

chicm-ms's avatar
chicm-ms committed
32
### Major Features
Chi Song's avatar
Chi Song committed
33

34
* [Version checking](https://github.com/Microsoft/nni/blob/master/docs/en_US/PaiMode.md#version-check)
Chi Song's avatar
Chi Song committed
35
  * check whether the version is consistent between nniManager and trialKeeper
chicm-ms's avatar
chicm-ms committed
36
* [Report final metrics for early stop job](https://github.com/Microsoft/nni/issues/776)
Chi Song's avatar
Chi Song committed
37
  * If includeIntermediateResults is true, the last intermediate result of the trial that is early stopped by assessor is sent to tuner as final result. The default value of includeIntermediateResults is false.
chicm-ms's avatar
chicm-ms committed
38
* [Separate Tuner/Assessor](https://github.com/Microsoft/nni/issues/841)
Chi Song's avatar
Chi Song committed
39
  * Adds two pipes to separate message receiving channels for tuner and assessor.
chicm-ms's avatar
chicm-ms committed
40
41
42
43
* Make log collection feature configurable
* Add intermediate result graph for all trials

### Bug fix
Chi Song's avatar
Chi Song committed
44

chicm-ms's avatar
chicm-ms committed
45
46
47
48
49
50
51
* [Add shmMB config key for PAI](https://github.com/Microsoft/nni/issues/842)
* Fix the bug that doesn't show any result if metrics is dict
* Fix the number calculation issue for float types in hyperband
* Fix a bug in the search space conversion in SMAC tuner
* Fix the WebUI issue when parsing experiment.json with illegal format
* Fix cold start issue in Metis Tuner

chicm-ms's avatar
chicm-ms committed
52
## Release 0.5.2 - 3/4/2019
Chi Song's avatar
Chi Song committed
53

chicm-ms's avatar
chicm-ms committed
54
### Improvements
Chi Song's avatar
Chi Song committed
55

chicm-ms's avatar
chicm-ms committed
56
57
58
59
60
61
62
63
64
65
66
67
* Curve fitting assessor performance improvement.

### Documentation
* Chinese version document: https://nni.readthedocs.io/zh/latest/
* Debuggability/serviceability document: https://nni.readthedocs.io/en/latest/HowToDebug.html
* Tuner assessor reference: https://nni.readthedocs.io/en/latest/sdk_reference.html#tuner

### Bug Fixes and Other Changes
* Fix a race condition bug that does not store trial job cancel status correctly.
* Fix search space parsing error when using SMAC tuner.
* Fix cifar10 example broken pipe issue.
* Add unit test cases for nnimanager and local training service.
68
69
* Add integration test azure pipelines for remote machine, OpenPAI and kubeflow training services.
* Support Pylon in OpenPAI webhdfs client.
chicm-ms's avatar
chicm-ms committed
70

71
72
## Release 0.5.1 - 1/31/2018
### Improvements
Yan Ni's avatar
Yan Ni committed
73
74
* Making [log directory](https://github.com/Microsoft/nni/blob/v0.5.1/docs/en_US/ExperimentConfig.md) configurable
* Support [different levels of logs](https://github.com/Microsoft/nni/blob/v0.5.1/docs/en_US/ExperimentConfig.md), making it easier for debugging 
75
76
77
78
79
80

### Documentation
* Reorganized documentation & New Homepage Released: https://nni.readthedocs.io/en/latest/

### Bug Fixes and Other Changes
* Fix the bug of installation in python virtualenv, and refactor the installation logic
81
* Fix the bug of HDFS access failure on OpenPAI mode after OpenPAI is upgraded. 
82
83
* Fix the bug that sometimes in-place flushed stdout makes experiment crash

Yan Ni's avatar
Yan Ni committed
84
## Release 0.5.0 - 01/14/2019
85

Yan Ni's avatar
Yan Ni committed
86
### Major Features
87

Yan Ni's avatar
Yan Ni committed
88
#### New tuner and assessor supports
Yan Ni's avatar
Yan Ni committed
89

90
* Support [Metis tuner](MetisTuner.md) as a new NNI tuner. Metis algorithm has been proofed to be well performed for **online** hyper-parameter tuning.
91
* Support [ENAS customized tuner](https://github.com/countif/enas_nni), a tuner contributed by github community user, is an algorithm for neural network search, it could learn neural network architecture via reinforcement learning and serve a better performance than NAS.
92
93
* Support [Curve fitting assessor](CurvefittingAssessor.md) for early stop policy using learning curve extrapolation.
* Advanced Support of [Weight Sharing](./AdvancedNas.md): Enable weight sharing for NAS tuners, currently through NFS.
xuehui's avatar
xuehui committed
94

Yan Ni's avatar
Yan Ni committed
95
#### Training Service Enhancement
96

xuehui's avatar
xuehui committed
97
* [FrameworkController Training service](./FrameworkControllerMode.md): Support run experiments using frameworkcontroller on kubernetes
98
99
100
  * FrameworkController is a Controller on kubernetes that is general enough to run (distributed) jobs with various machine learning frameworks, such as tensorflow, pytorch, MXNet.
  * NNI provides unified and simple specification for job definition.
  * MNIST example for how to use FrameworkController.
xuehui's avatar
xuehui committed
101

Yan Ni's avatar
Yan Ni committed
102
#### User Experience improvements
103

104
* A better trial logging support for NNI experiments in OpenPAI, Kubeflow and FrameworkController mode:
105
106
107
  * An improved logging architecture to send stdout/stderr of trials to NNI manager via Http post. NNI manager will store trial's stdout/stderr messages in local log file.
  * Show the link for trial log file on WebUI.
* Support to show final result's all key-value pairs.
xuehui's avatar
xuehui committed
108

Yan Ni's avatar
Yan Ni committed
109
## Release 0.4.1 - 12/14/2018
110

Yan Ni's avatar
Yan Ni committed
111
### Major Features
112

Yan Ni's avatar
Yan Ni committed
113
#### New tuner supports
114

115
* Support [network morphism](NetworkmorphismTuner.md) as a new tuner
xuehui's avatar
xuehui committed
116

Yan Ni's avatar
Yan Ni committed
117
#### Training Service improvements
118

119
* Migrate [Kubeflow training service](KubeflowMode.md)'s dependency from kubectl CLI to [Kubernetes API](https://kubernetes.io/docs/concepts/overview/kubernetes-api/) client
120
121
122
* [Pytorch-operator](https://github.com/kubeflow/pytorch-operator) support for Kubeflow training service
* Improvement on local code files uploading to OpenPAI HDFS
* Fixed OpenPAI integration WebUI bug: WebUI doesn't show latest trial job status, which is caused by OpenPAI token expiration
xuehui's avatar
xuehui committed
123

Yan Ni's avatar
Yan Ni committed
124
#### NNICTL improvements
125
126

* Show version information both in nnictl and WebUI. You can run **nnictl -v** to show your current installed NNI version
xuehui's avatar
xuehui committed
127

Yan Ni's avatar
Yan Ni committed
128
#### WebUI improvements
129
130
131
132
133
134
135

* Enable modify concurrency number during experiment
* Add feedback link to NNI github 'create issue' page
* Enable customize top 10 trials regarding to metric numbers (largest or smallest)
* Enable download logs for dispatcher & nnimanager
* Enable automatic scaling of axes for metric number
* Update annotation to support displaying real choice in searchspace
xuehui's avatar
xuehui committed
136

Yan Ni's avatar
Yan Ni committed
137
### New examples
138
139
140
141

* [FashionMnist](https://github.com/Microsoft/nni/tree/master/examples/trials/network_morphism), work together with network morphism tuner
* [Distributed MNIST example](https://github.com/Microsoft/nni/tree/master/examples/trials/mnist-distributed-pytorch) written in PyTorch

Yan Ni's avatar
Yan Ni committed
142
## Release 0.4 - 12/6/2018
143

Yan Ni's avatar
Yan Ni committed
144
### Major Features
145
146
147

* [Kubeflow Training service](./KubeflowMode.md)
  * Support tf-operator
Yan Ni's avatar
Yan Ni committed
148
  * [Distributed trial example](https://github.com/Microsoft/nni/tree/master/examples/trials/mnist-distributed/dist_mnist.py) on Kubeflow
149
150
* [Grid search tuner](GridsearchTuner.md) 
* [Hyperband tuner](HyperbandAdvisor.md)
151
152
153
154
155
156
157
158
159
160
* Support launch NNI experiment on MAC
* WebUI
  * UI support for hyperband tuner
  * Remove tensorboard button
  * Show experiment error message
  * Show line numbers in search space and trial profile
  * Support search a specific trial by trial number
  * Show trial's hdfsLogPath
  * Download experiment parameters

Yan Ni's avatar
Yan Ni committed
161
### Others
162
163
164
165
166

* Asynchronous dispatcher
* Docker file update, add pytorch library 
* Refactor 'nnictl stop' process, send SIGTERM to nni manager process, rather than calling stop Rest API. 
* OpenPAI training service bug fix
167
  * Support NNI Manager IP configuration(nniManagerIp) in OpenPAI cluster config file, to fix the issue that user’s machine has no eth0 device 
168
  * File number in codeDir is capped to 1000 now, to avoid user mistakenly fill root dir for codeDir
169
  * Don’t print useless ‘metrics is empty’ log in OpenPAI job’s stdout. Only print useful message once new metrics are recorded, to reduce confusion when user checks OpenPAI trial’s output for debugging purpose
170
  * Add timestamp at the beginning of each log entry in trial keeper.
171

Yan Ni's avatar
Yan Ni committed
172
## Release 0.3.0 - 11/2/2018
173

Yan Ni's avatar
Yan Ni committed
174
### NNICTL new features and updates
175

176
177
* Support running multiple experiments simultaneously.

Chi Song's avatar
Chi Song committed
178
  Before v0.3, NNI only supports running single experiment once a time. After this release, users are able to run multiple experiments simultaneously. Each experiment will require a unique port, the 1st experiment will be set to the default port as previous versions. You can specify a unique port for the rest experiments as below:
179
180
181
182

  ```bash
  nnictl create --port 8081 --config <config file path>
  ```
chicm-ms's avatar
chicm-ms committed
183

184
* Support updating max trial number.
185
  use `nnictl update --help` to learn more. Or refer to [NNICTL Spec](Nnictl.md) for the fully usage of NNICTL.
chicm-ms's avatar
chicm-ms committed
186

Yan Ni's avatar
Yan Ni committed
187
### API new features and updates
188

189
* <span style="color:red">**breaking change**</span>: nn.get_parameters() is refactored to nni.get_next_parameter. All examples of prior releases can not run on v0.3, please clone nni repo to get new examples. If you had applied NNI to your own codes, please update the API accordingly.
chicm-ms's avatar
chicm-ms committed
190

191
* New API **nni.get_sequence_id()**. 
192
193
194
195
196
197
198
  Each trial job is allocated a unique sequence number, which can be retrieved by nni.get_sequence_id() API.

  ```bash
  git clone -b v0.3 https://github.com/Microsoft/nni.git
  ```

* **nni.report_final_result(result)** API supports more data types for result parameter.
199

200
201
202
203
  It can be of following types:
  * int
  * float
  * A python dict containing 'default' key, the value of 'default' key should be of type int or float. The dict can contain any other key value pairs.
chicm-ms's avatar
chicm-ms committed
204

Yan Ni's avatar
Yan Ni committed
205
### New tuner support
206

207
* **Batch Tuner** which iterates all parameter combination, can be used to submit batch trial jobs.
chicm-ms's avatar
chicm-ms committed
208

Yan Ni's avatar
Yan Ni committed
209
### New examples
210

211
* A NNI Docker image for public usage:
212
213
214
215
216

  ```bash
  docker pull msranni/nni:latest
  ```

217
218
* New trial example: [NNI Sklearn Example](https://github.com/Microsoft/nni/tree/master/examples/trials/sklearn)
* New competition example: [Kaggle Competition TGS Salt Example](https://github.com/Microsoft/nni/tree/master/examples/trials/kaggle-tgs-salt)
219

Yan Ni's avatar
Yan Ni committed
220
### Others
221

222
223
224
* UI refactoring, refer to [WebUI doc](WebUI.md) for how to work with the new UI.
* Continuous Integration: NNI had switched to Azure pipelines
* [Known Issues in release 0.3.0](https://github.com/Microsoft/nni/labels/nni030knownissues).
chicm-ms's avatar
chicm-ms committed
225

Yan Ni's avatar
Yan Ni committed
226
## Release 0.2.0 - 9/29/2018
227

Yan Ni's avatar
Yan Ni committed
228
### Major Features
229

230
* Support [OpenPAI](https://github.com/Microsoft/pai) Training Platform (See [here](./PaiMode.md) for instructions about how to submit NNI job in pai mode)
231
232
  * Support training services on pai mode. NNI trials will be scheduled to run on OpenPAI cluster
  * NNI trial's output (including logs and model file) will be copied to OpenPAI HDFS for further debugging and checking
233
* Support [SMAC](https://www.cs.ubc.ca/~hutter/papers/10-TR-SMAC.pdf) tuner (See [here](SmacTuner.md) for instructions about how to use SMAC tuner)
234
235
236
237
238
  * [SMAC](https://www.cs.ubc.ca/~hutter/papers/10-TR-SMAC.pdf) is based on Sequential Model-Based Optimization (SMBO). It adapts the most prominent previously used model class (Gaussian stochastic process models) and introduces the model class of random forests to SMBO to handle categorical parameters. The SMAC supported by NNI is a wrapper on [SMAC3](https://github.com/automl/SMAC3)
* Support NNI installation on [conda](https://conda.io/docs/index.html) and python virtual environment
* Others
  * Update ga squad example and related documentation
  * WebUI UX small enhancement and bug fix
fishyds's avatar
fishyds committed
239

Yan Ni's avatar
Yan Ni committed
240
### Known Issues
241

fishyds's avatar
fishyds committed
242
243
[Known Issues in release 0.2.0](https://github.com/Microsoft/nni/labels/nni020knownissues).

Yan Ni's avatar
Yan Ni committed
244
## Release 0.1.0 - 9/10/2018 (initial release)
245
246
247

Initial release of Neural Network Intelligence (NNI).

Yan Ni's avatar
Yan Ni committed
248
### Major Features
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264

* Installation and Deployment
  * Support pip install and source codes install
  * Support training services on local mode(including Multi-GPU mode) as well as multi-machines mode
* Tuners, Assessors and Trial
  * Support AutoML algorithms including:  hyperopt_tpe, hyperopt_annealing, hyperopt_random, and evolution_tuner
  * Support assessor(early stop) algorithms including: medianstop algorithm
  * Provide Python API for user defined tuners and assessors
  * Provide Python API for user to wrap trial code as NNI deployable codes
* Experiments
  * Provide a command line toolkit 'nnictl' for experiments management
  * Provide a WebUI for viewing experiments details and managing experiments
* Continuous Integration
  * Support CI by providing out-of-box integration with [travis-ci](https://github.com/travis-ci) on ubuntu
* Others
  * Support simple GPU job scheduling
265

Yan Ni's avatar
Yan Ni committed
266
### Known Issues
267

Scarlett Li's avatar
Scarlett Li committed
268
[Known Issues in release 0.1.0](https://github.com/Microsoft/nni/labels/nni010knownissues).