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

3

Yan Ni's avatar
Yan Ni committed
4
5
6
7
8
## Release 0.9 - 7/1/2019

### Major Features
* General NAS programming interface
    * Add `enas-mode`  and `oneshot-mode` for NAS interface: [PR #1201](https://github.com/microsoft/nni/pull/1201#issue-291094510)
9
* [Gaussian Process Tuner with Matern kernel](Tuner/GPTuner.md) 
Yan Ni's avatar
Yan Ni committed
10
11
12
13
14
15

* Multiphase experiment supports
    * Added new training service support for multiphase experiment: PAI mode supports multiphase experiment since v0.9.
    * Added multiphase capability for the following builtin tuners: 
        * TPE, Random Search, Anneal, Naïve Evolution, SMAC, Network Morphism, Metis Tuner.
    
16
    For details, please refer to [Write a tuner that leverages multi-phase](AdvancedFeature/MultiPhase.md)
Yan Ni's avatar
Yan Ni committed
17
18

* Web Portal
19
20
21
22
    * Enable trial comparation in Web Portal. For details, refer to [View trials status](Tutorial/WebUI.md)
    * Allow users to adjust rendering interval of Web Portal. For details, refer to [View Summary Page](Tutorial/WebUI.md)
    * show intermediate results more friendly. For details, refer to [View trials status](Tutorial/WebUI.md)
* [Commandline Interface](Tutorial/Nnictl.md)
Yan Ni's avatar
Yan Ni committed
23
24
25
26
27
28
29
30
31
32
    * `nnictl experiment delete`: delete one or all experiments, it includes log, result, environment information and cache. It uses to delete useless experiment result, or save disk space.
    * `nnictl platform clean`: It uses to clean up disk on a target platform. The provided YAML file includes the information of target platform, and it follows the same schema as the NNI configuration file.
### Bug fix and other changes
* Tuner Installation Improvements: add [sklearn](https://scikit-learn.org/stable/) to nni dependencies.
* (Bug Fix) Failed to connect to PAI http code - [Issue #1076](https://github.com/microsoft/nni/issues/1076)
* (Bug Fix) Validate file name for PAI platform - [Issue #1164](https://github.com/microsoft/nni/issues/1164)
* (Bug Fix) Update GMM evaluation in Metis Tuner
* (Bug Fix) Negative time number rendering in Web Portal - [Issue #1182](https://github.com/microsoft/nni/issues/1182), [Issue #1185](https://github.com/microsoft/nni/issues/1185)
* (Bug Fix) Hyper-parameter not shown correctly in WebUI when there is only one hyper parameter - [Issue #1192](https://github.com/microsoft/nni/issues/1192)

33
34
35
36
37
38
39
40
41
42
43
44
## Release 0.8 - 6/4/2019

### Major Features

* Support NNI on Windows for OpenPAI/Remote mode
  * NNI running on windows for remote mode
  * NNI running on windows for OpenPAI mode
* Advanced features for using GPU
  * Run multiple trial jobs on the same GPU for local and remote mode
  * Run trial jobs on the GPU running non-NNI jobs
* Kubeflow v1beta2 operator
  * Support Kubeflow TFJob/PyTorchJob v1beta2
45
* [General NAS programming interface](AdvancedFeature/GeneralNasInterfaces.md)
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
  * Provide NAS programming interface for users to easily express their neural architecture search space through NNI annotation
  * Provide a new command `nnictl trial codegen` for debugging the NAS code
  * Tutorial of NAS programming interface, example of NAS on MNIST, customized random tuner for NAS
* Support resume tuner/advisor's state for experiment resume
* For experiment resume, tuner/advisor will be resumed by replaying finished trial data
* Web Portal
  * Improve the design of copying trial's parameters
  * Support 'randint' type in hyper-parameter graph
  * Use should ComponentUpdate to avoid unnecessary render

### Bug fix and other changes

* Bug fix that `nnictl update` has inconsistent command styles
* Support import data for SMAC tuner
* Bug fix that experiment state transition from ERROR back to RUNNING
* Fix bug of table entries
* Nested search space refinement
* Refine 'randint' type and support lower bound
64
65
66
* [Comparison of different hyper-parameter tuning algorithm](CommunitySharings/HpoComparision.md)
* [Comparison of NAS algorithm](CommunitySharings/NasComparision.md)
* [NNI practice on Recommenders](CommunitySharings/RecommendersSvd.md)
Xiaohui Xue's avatar
Xiaohui Xue committed
67

chicm-ms's avatar
chicm-ms committed
68
69
70
## Release 0.7 - 4/29/2018

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

72
* [Support NNI on Windows](Tutorial/NniOnWindows.md)
Chi Song's avatar
Chi Song committed
73
  * NNI running on windows for local mode
74
* [New advisor: BOHB](Tuner/BohbAdvisor.md)
Chi Song's avatar
Chi Song committed
75
  * Support a new advisor BOHB, which is a robust and efficient hyperparameter tuning algorithm, combines the advantages of Bayesian optimization and Hyperband
76
* [Support import and export experiment data through nnictl](Tutorial/Nnictl.md#experiment)
Chi Song's avatar
Chi Song committed
77
78
  * Generate analysis results report after the experiment execution
  * Support import data to tuner and advisor for tuning
79
* [Designated gpu devices for NNI trial jobs](Tutorial/ExperimentConfig.md#localConfig)
Chi Song's avatar
Chi Song committed
80
  * 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
81
* Web Portal enhancement
Chi Song's avatar
Chi Song committed
82
83
84
85
  * 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
86
* NNICTL provide better error message
Chi Song's avatar
Chi Song committed
87
  * nnictl provide more meaningful error message for YAML file format error
chicm-ms's avatar
chicm-ms committed
88
89

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

chicm-ms's avatar
chicm-ms committed
91
* Unable to kill all python threads after nnictl stop in async dispatcher mode
Chi Song's avatar
Chi Song committed
92
* nnictl --version does not work with make dev-install
93
* All trail jobs status stays on 'waiting' for long time on OpenPAI platform
chicm-ms's avatar
chicm-ms committed
94
95

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

chicm-ms's avatar
chicm-ms committed
97
### Major Features
Chi Song's avatar
Chi Song committed
98

99
* [Version checking](TrainingService/PaiMode.md)
Chi Song's avatar
Chi Song committed
100
  * check whether the version is consistent between nniManager and trialKeeper
101
* [Report final metrics for early stop job](https://github.com/microsoft/nni/issues/776)
Chi Song's avatar
Chi Song committed
102
  * 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.
103
* [Separate Tuner/Assessor](https://github.com/microsoft/nni/issues/841)
Chi Song's avatar
Chi Song committed
104
  * Adds two pipes to separate message receiving channels for tuner and assessor.
chicm-ms's avatar
chicm-ms committed
105
106
107
108
* Make log collection feature configurable
* Add intermediate result graph for all trials

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

110
* [Add shmMB config key for OpenPAI](https://github.com/microsoft/nni/issues/842)
chicm-ms's avatar
chicm-ms committed
111
112
113
114
115
116
* 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
117
## Release 0.5.2 - 3/4/2019
Chi Song's avatar
Chi Song committed
118

chicm-ms's avatar
chicm-ms committed
119
### Improvements
Chi Song's avatar
Chi Song committed
120

chicm-ms's avatar
chicm-ms committed
121
122
123
124
* Curve fitting assessor performance improvement.

### Documentation
* Chinese version document: https://nni.readthedocs.io/zh/latest/
125
126
* Debuggability/serviceability document: https://nni.readthedocs.io/en/latest/Tutorial/HowToDebug.html
* Tuner assessor reference: https://nni.readthedocs.io/en/latest/sdk_reference.html
chicm-ms's avatar
chicm-ms committed
127
128
129
130
131
132

### 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.
133
134
* 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
135

136
137
## Release 0.5.1 - 1/31/2018
### Improvements
138
139
* Making [log directory](https://github.com/microsoft/nni/blob/v0.5.1/docs/ExperimentConfig.md) configurable
* Support [different levels of logs](https://github.com/microsoft/nni/blob/v0.5.1/docs/ExperimentConfig.md), making it easier for debugging
140
141
142
143
144
145

### 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
146
* Fix the bug of HDFS access failure on OpenPAI mode after OpenPAI is upgraded.
147
148
* Fix the bug that sometimes in-place flushed stdout makes experiment crash

Yan Ni's avatar
Yan Ni committed
149
## Release 0.5.0 - 01/14/2019
150

Yan Ni's avatar
Yan Ni committed
151
### Major Features
152

Yan Ni's avatar
Yan Ni committed
153
#### New tuner and assessor supports
Yan Ni's avatar
Yan Ni committed
154

155
* Support [Metis tuner](Tuner/MetisTuner.md) as a new NNI tuner. Metis algorithm has been proofed to be well performed for **online** hyper-parameter tuning.
156
* 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.
157
158
* Support [Curve fitting assessor](Assessor/CurvefittingAssessor.md) for early stop policy using learning curve extrapolation.
* Advanced Support of [Weight Sharing](AdvancedFeature/AdvancedNas.md): Enable weight sharing for NAS tuners, currently through NFS.
xuehui's avatar
xuehui committed
159

Yan Ni's avatar
Yan Ni committed
160
#### Training Service Enhancement
161

162
* [FrameworkController Training service](TrainingService/FrameworkControllerMode.md): Support run experiments using frameworkcontroller on kubernetes
163
164
165
  * 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
166

Yan Ni's avatar
Yan Ni committed
167
#### User Experience improvements
168

169
* A better trial logging support for NNI experiments in OpenPAI, Kubeflow and FrameworkController mode:
170
171
172
  * 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
173

Yan Ni's avatar
Yan Ni committed
174
## Release 0.4.1 - 12/14/2018
175

Yan Ni's avatar
Yan Ni committed
176
### Major Features
177

Yan Ni's avatar
Yan Ni committed
178
#### New tuner supports
179

180
* Support [network morphism](Tuner/NetworkmorphismTuner.md) as a new tuner
xuehui's avatar
xuehui committed
181

Yan Ni's avatar
Yan Ni committed
182
#### Training Service improvements
183

184
* Migrate [Kubeflow training service](TrainingService/KubeflowMode.md)'s dependency from kubectl CLI to [Kubernetes API](https://kubernetes.io/docs/concepts/overview/kubernetes-api/) client
185
186
187
* [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
188

Yan Ni's avatar
Yan Ni committed
189
#### NNICTL improvements
190
191

* 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
192

Yan Ni's avatar
Yan Ni committed
193
#### WebUI improvements
194
195
196
197
198
199
200

* 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
201

Yan Ni's avatar
Yan Ni committed
202
### New examples
203

204
205
* [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
206

Yan Ni's avatar
Yan Ni committed
207
## Release 0.4 - 12/6/2018
208

Yan Ni's avatar
Yan Ni committed
209
### Major Features
210

211
* [Kubeflow Training service](TrainingService/KubeflowMode.md)
212
  * Support tf-operator
213
  * [Distributed trial example](https://github.com/microsoft/nni/tree/master/examples/trials/mnist-distributed/dist_mnist.py) on Kubeflow
214
215
* [Grid search tuner](Tuner/GridsearchTuner.md)
* [Hyperband tuner](Tuner/HyperbandAdvisor.md)
216
217
218
219
220
221
222
223
224
225
* 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
226
### Others
227
228

* Asynchronous dispatcher
229
230
* Docker file update, add pytorch library
* Refactor 'nnictl stop' process, send SIGTERM to nni manager process, rather than calling stop Rest API.
231
* OpenPAI training service bug fix
232
  * Support NNI Manager IP configuration(nniManagerIp) in OpenPAI cluster config file, to fix the issue that user’s machine has no eth0 device
233
  * File number in codeDir is capped to 1000 now, to avoid user mistakenly fill root dir for codeDir
234
  * 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
235
  * Add timestamp at the beginning of each log entry in trial keeper.
236

Yan Ni's avatar
Yan Ni committed
237
## Release 0.3.0 - 11/2/2018
238

Yan Ni's avatar
Yan Ni committed
239
### NNICTL new features and updates
240

241
242
* Support running multiple experiments simultaneously.

Chi Song's avatar
Chi Song committed
243
  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:
244
245
246
247

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

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

Yan Ni's avatar
Yan Ni committed
252
### API new features and updates
253

254
* <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
255

256
* New API **nni.get_sequence_id()**.
257
258
259
  Each trial job is allocated a unique sequence number, which can be retrieved by nni.get_sequence_id() API.

  ```bash
260
  git clone -b v0.3 https://github.com/microsoft/nni.git
261
262
263
  ```

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

265
266
267
268
  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
269

Yan Ni's avatar
Yan Ni committed
270
### New tuner support
271

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

Yan Ni's avatar
Yan Ni committed
274
### New examples
275

276
* A NNI Docker image for public usage:
277
278
279
280
281

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

282
283
* 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)
284

Yan Ni's avatar
Yan Ni committed
285
### Others
286

287
* UI refactoring, refer to [WebUI doc](Tutorial/WebUI.md) for how to work with the new UI.
288
* Continuous Integration: NNI had switched to Azure pipelines
chicm-ms's avatar
chicm-ms committed
289

Yan Ni's avatar
Yan Ni committed
290
## Release 0.2.0 - 9/29/2018
291

Yan Ni's avatar
Yan Ni committed
292
### Major Features
293

294
* Support [OpenPAI](https://github.com/microsoft/pai) Training Platform (See [here](TrainingService/PaiMode.md) for instructions about how to submit NNI job in pai mode)
295
296
  * 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
297
* Support [SMAC](https://www.cs.ubc.ca/~hutter/papers/10-TR-SMAC.pdf) tuner (See [here](Tuner/SmacTuner.md) for instructions about how to use SMAC tuner)
298
299
300
301
302
  * [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
303
304


Yan Ni's avatar
Yan Ni committed
305
## Release 0.1.0 - 9/10/2018 (initial release)
306
307
308

Initial release of Neural Network Intelligence (NNI).

Yan Ni's avatar
Yan Ni committed
309
### Major Features
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325

* 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
326