Skip to content

Commit

Permalink
Merge pull request #53 from Microsoft/master
Browse files Browse the repository at this point in the history
merge master
  • Loading branch information
SparkSnail authored Nov 1, 2018
2 parents 88072dc + 30527cf commit 12a3e21
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 19 deletions.
25 changes: 9 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,16 @@ The tool dispatches and runs trial jobs generated by tuning algorithms to search

## **Install & Verify**

**Install through source code**
* We only support Linux (Ubuntu 16.04 or higher) in our current stage.
* Run the following commands in an environment that has `python >= 3.5`, `git` and `wget`.
```bash
git clone -b v0.3 https://github.com/Microsoft/nni.git
cd nni
source install.sh
```
**pip install**
* We only support Linux in current stage, Ubuntu 16.04 or higher are tested and supported. Simply run the following `pip install` in an environment that has `python >= 3.5`, `git` and `wget`.

**Verify install**
* The following example is an experiment built on TensorFlow. Make sure you have `TensorFlow installed` before running it.
* Download the examples via clone the source code.
```bash
cd ~
git clone -b v0.3 https://github.com/Microsoft/nni.git
```
* Run the mnist example.
python3 -m pip install -v --user git+https://github.com/Microsoft/nni.git@v0.2
source ~/.bashrc
```

**verify install**
* The following example is an experiment built on TensorFlow, make sure you have `TensorFlow installed` before running it.
```bash
nnictl create --config ~/nni/examples/trials/mnist/config.yml
```
Expand All @@ -51,7 +44,7 @@ The tool dispatches and runs trial jobs generated by tuning algorithms to search
Info: Checking web ui...
Info: Starting web ui...
Info: Starting web ui success!
+ Info: Web UI url: http://127.0.0.1:8080 http://10.172.141.6:8080
+ Info: Web UI url: http://yourlocalhost:8080 http://youripaddress:8080
+ Info: Start experiment success! The experiment id is LrNK4hae, and the restful server post is 51188.
```

Expand Down
7 changes: 4 additions & 3 deletions docs/InstallNNI_Ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@

* __Install NNI through pip__

python3 -m pip install --user nni-pkg
pip3 install -v --user git+https://github.com/Microsoft/nni.git@v0.2
source ~/.bashrc

* __Install NNI through source code__

git clone -b v0.3 https://github.com/Microsoft/nni.git
git clone -b v0.2 https://github.com/Microsoft/nni.git
cd nni
chmod +x install.sh
source install.sh


## Further reading
* [Overview](Overview.md)
* [Use command line tool nnictl](NNICTLDOC.md)
Expand Down

0 comments on commit 12a3e21

Please sign in to comment.