RELEASE.md 9.31 KB
Newer Older
Yan Ni's avatar
Yan Ni committed
1
2
3
4
5
# ChangeLog

## Release 0.5.0 - 01/14/2019
### Major Features
#### New tuner and assessor supports
xuehui's avatar
xuehui committed
6
7
8
  * Support [Metis tuner](./HowToChooseTuner.md#MetisTuner) as a new NNI tuner. Metis algorithm has been proofed to be well performed for **online** hyper-parameter tuning.
  * 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.
  * Support [Curve fitting assessor](./HowToChooseTuner.md#Curvefitting) for early stop policy using learning curve extrapolation. 
Yan Ni's avatar
Yan Ni committed
9
10
  * Advanced Support of [Weight Sharing](./AdvancedNAS.md): Enable weight sharing for NAS tuners, currently through NFS.

xuehui's avatar
xuehui committed
11

Yan Ni's avatar
Yan Ni committed
12
#### Training Service Enhancement
xuehui's avatar
xuehui committed
13
14
15
16
17
* [FrameworkController Training service](./FrameworkControllerMode.md): Support run experiments using frameworkcontroller on kubernetes
   * 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.

Yan Ni's avatar
Yan Ni committed
18
#### User Experience improvements
xuehui's avatar
xuehui committed
19
20
21
22
23
  * A better trial logging support for NNI experiments in PAI, Kubeflow and FrameworkController mode:
      * 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.

Yan Ni's avatar
Yan Ni committed
24
25
26
## Release 0.4.1 - 12/14/2018
### Major Features
#### New tuner supports
xuehui's avatar
xuehui committed
27
28
  * Support [network morphism](./HowToChooseTuner.md#NetworkMorphism) as a new tuner

Yan Ni's avatar
Yan Ni committed
29
#### Training Service improvements
xuehui's avatar
xuehui committed
30
31
32
33
34
  * Migrate [Kubeflow training service](https://github.com/Microsoft/nni/blob/master/docs/KubeflowMode.md)'s dependency from kubectl CLI to [Kubernetes API](https://kubernetes.io/docs/concepts/overview/kubernetes-api/) client
  * [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

Yan Ni's avatar
Yan Ni committed
35
#### NNICTL improvements
xuehui's avatar
xuehui committed
36
37
  * Show version information both in nnictl and WebUI. You can run **nnictl -v** to show your current installed NNI version

Yan Ni's avatar
Yan Ni committed
38
#### WebUI improvements
xuehui's avatar
xuehui committed
39
40
41
42
43
44
45
  * 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

Yan Ni's avatar
Yan Ni committed
46
### New examples
xuehui's avatar
xuehui committed
47
48
49
50
  * [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
51
## Release 0.4 - 12/6/2018
52

Yan Ni's avatar
Yan Ni committed
53
### Major Features
54
55
56
57
58
59
60
61
62
63
64
65
66
67
  * [Kubeflow Training service](./KubeflowMode.md)
    * Support tf-operator
    * [Distributed trial example](../examples/trials/mnist-distributed/dist_mnist.py) on Kubeflow
  * [Grid search tuner](../src/sdk/pynni/nni/README.md#Grid) 
  * [Hyperband tuner](../src/sdk/pynni/nni/README.md#Hyperband)
  * 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
68
### Others
69
70
71
72
73
74
75
76
77
  * 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
    *  Support NNI Manager IP configuration(nniManagerIp) in PAI cluster config file, to fix the issue that user’s machine has no eth0 device 
    *  File number in codeDir is capped to 1000 now, to avoid user mistakenly fill root dir for codeDir
    *  Don’t print useless ‘metrics is empty’ log int PAI job’s stdout. Only print useful message once new metrics are recorded, to reduce confusion when user checks PAI trial’s output for debugging purpose
    *  Add timestamp at the beginning of each log entry in trial keeper.

Yan Ni's avatar
Yan Ni committed
78
79
## Release 0.3.0 - 11/2/2018
### NNICTL new features and updates
80
81
82
* Support running multiple experiments simultaneously. 

    Before v0.3, NNI only supports running single experiment once a time. After this realse, 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:
chicm-ms's avatar
chicm-ms committed
83
84

    ```nnictl create --port 8081 --config <config file path>```
85
86
* Support updating max trial number.
    use ```nnictl update --help``` to learn more. Or refer to [NNICTL Spec](https://github.com/Microsoft/nni/blob/master/docs/NNICTLDOC.md) for the fully usage of NNICTL.
chicm-ms's avatar
chicm-ms committed
87

Yan Ni's avatar
Yan Ni committed
88
### API new features and updates
89
* <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
90

91
92
93
94
95
96
* New API **nni.get_sequence_id()**. 
    Each trial job is allocated a unique sequence number, which can be retrieved by nni.get_sequence_id() API.

    ```git clone -b v0.3 https://github.com/Microsoft/nni.git```
* **nni.report_final_result(result)** API supports more data types for result parameter. 
    It can be of following types:
chicm-ms's avatar
chicm-ms committed
97
98
99
100
    * 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.

Yan Ni's avatar
Yan Ni committed
101
### New tuner support
102
* **Batch Tuner** which iterates all parameter combination, can be used to submit batch trial jobs.
chicm-ms's avatar
chicm-ms committed
103

Yan Ni's avatar
Yan Ni committed
104
### New examples
105
106
107
108
109
* A NNI Docker image for public usage:
      ```docker pull msranni/nni:latest```
* 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)
    
Yan Ni's avatar
Yan Ni committed
110
### Others
111
112
113
* 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
114
115


Yan Ni's avatar
Yan Ni committed
116
117
## Release 0.2.0 - 9/29/2018
### Major Features
118
   * Support [OpenPAI](https://github.com/Microsoft/pai) (aka pai) Training Service (See [here](./PAIMode.md) for instructions about how to submit NNI job in pai mode)
fishyds's avatar
fishyds committed
119
120
      * 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
xuehui's avatar
xuehui committed
121
   * Support [SMAC](https://www.cs.ubc.ca/~hutter/papers/10-TR-SMAC.pdf) tuner (See [here](HowToChooseTuner.md) for instructions about how to use SMAC tuner)
fishyds's avatar
fishyds committed
122
123
124
125
126
127
      * [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

Yan Ni's avatar
Yan Ni committed
128
### Known Issues
fishyds's avatar
fishyds committed
129
130
[Known Issues in release 0.2.0](https://github.com/Microsoft/nni/labels/nni020knownissues).

Yan Ni's avatar
Yan Ni committed
131
## Release 0.1.0 - 9/10/2018 (initial release)
132
133
134

Initial release of Neural Network Intelligence (NNI).

Yan Ni's avatar
Yan Ni committed
135
### Major Features
136
137
138
   * 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
Scarlett Li's avatar
Scarlett Li committed
139
   * Tuners, Assessors and Trial
140
141
      * Support AutoML algorithms including:  hyperopt_tpe, hyperopt_annealing, hyperopt_random, and evolution_tuner
      * Support assessor(early stop) algorithms including: medianstop algorithm
Scarlett Li's avatar
Scarlett Li committed
142
      * Provide Python API for user defined tuners and assessors
143
144
145
      * Provide Python API for user to wrap trial code as NNI deployable codes
   * Experiments
      * Provide a command line toolkit 'nnictl' for experiments management
goooxu's avatar
goooxu committed
146
      * Provide a WebUI for viewing experiments details and managing experiments
147
148
149
150
151
   * 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 

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