Installation.md 2.56 KB
Newer Older
1
**Installation of NNI**
Scarlett Li's avatar
Scarlett Li committed
2
3
===

4
5
Currently we only support installation on Linux & Mac.

Scarlett Li's avatar
Scarlett Li committed
6
7
8
## **Installation**
* __Dependencies__

Chi Song's avatar
Chi Song committed
9
10
11
12
13
  ```bash
  python >= 3.5
  git
  wget
  ```
Scarlett Li's avatar
Scarlett Li committed
14

Chi Song's avatar
Chi Song committed
15
  python pip should also be correctly installed. You could use "python3 -m pip -v" to check pip version. 
Scarlett Li's avatar
Scarlett Li committed
16
17
18

* __Install NNI through pip__

Chi Song's avatar
Chi Song committed
19
20
21
  ```bash
  python3 -m pip install --user --upgrade nni
  ```
Scarlett Li's avatar
Scarlett Li committed
22
23

* __Install NNI through source code__
Chi Song's avatar
Chi Song committed
24
25
26
27
28
29

  ```bash
  git clone -b v0.4.1 https://github.com/Microsoft/nni.git
  cd nni
  source install.sh
  ```
Scarlett Li's avatar
Scarlett Li committed
30

31
32
* __Install NNI in docker image__

Chi Song's avatar
Chi Song committed
33
  You can also install NNI in a docker image. Please follow the instructions [here](../deployment/docker/README.md) to build NNI docker image. The NNI docker image can also be retrieved from Docker Hub through the command `docker pull msranni/nni:latest`.
34

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## **System requirements**

Below are the minimum system requirements for NNI on Linux. Due to potential programming changes, the minimum system requirements for NNI may change over time.

||Minimum Requirements|Recommended Specifications|
|---|---|---|
|**Operating System**|Ubuntu 16.04 or above|Ubuntu 16.04 or above|
|**CPU**|Intel® Core™ i3 or AMD Phenom™ X3 8650|Intel® Core™ i5 or AMD Phenom™ II X3 or better|
|**GPU**|NVIDIA® GeForce® GTX 460|NVIDIA® GeForce® GTX 660 or better|
|**Memory**|4 GB RAM|6 GB RAM|
|**Storage**|30 GB available hare drive space|
|**Internet**|Boardband internet connection|
|**Resolution**|1024 x 768 minimum display resolution|

Below are the minimum system requirements for NNI on macOS. Due to potential programming changes, the minimum system requirements for NNI may change over time.

||Minimum Requirements|Recommended Specifications|
|---|---|---|
|**Operating System**|macOS 10.14.1 (latest version)|macOS 10.14.1 (latest version)|
|**CPU**|Intel® Core™ i5-760 or better|Intel® Core™ i7-4770 or better|
|**GPU**|NVIDIA® GeForce® GT 750M or AMD Radeon™ R9 M290 or better|AMD Radeon™ R9 M395X or better|
|**Memory**|4 GB RAM|8 GB RAM|
|**Storage**|70GB available space 7200 RPM HDD|70GB available space SSD|
|**Internet**|Boardband internet connection|
|**Resolution**|1024 x 768 minimum display resolution|

Scarlett Li's avatar
Scarlett Li committed
61
## Further reading
Chi Song's avatar
Chi Song committed
62

Scarlett Li's avatar
Scarlett Li committed
63
64
65
66
67
68
69
70
* [Overview](Overview.md)
* [Use command line tool nnictl](NNICTLDOC.md)
* [Use NNIBoard](WebUI.md)
* [Define search space](SearchSpaceSpec.md)
* [Config an experiment](ExperimentConfig.md)
* [How to run an experiment on local (with multiple GPUs)?](tutorial_1_CR_exp_local_api.md)
* [How to run an experiment on multiple machines?](tutorial_2_RemoteMachineMode.md)
* [How to run an experiment on OpenPAI?](PAIMode.md)