Skip to content

Latest commit

 

History

History
100 lines (73 loc) · 3.87 KB

Installation.md

File metadata and controls

100 lines (73 loc) · 3.87 KB

Installation of NNI

Currently we support installation on Linux, Mac and Windows(local, remote and pai mode).

Installation on Linux & Mac

  • Install NNI through pip

    Prerequisite: python >= 3.5

    python3 -m pip install --upgrade nni
  • Install NNI through source code

    Prerequisite: python >=3.5, git, wget

    git clone -b v0.8 https://github.com/Microsoft/nni.git
    cd nni
    ./install.sh
  • Install NNI in docker image

    You can also install NNI in a docker image. Please follow the instructions here to build NNI docker image. The NNI docker image can also be retrieved from Docker Hub through the command docker pull msranni/nni:latest.

Installation on Windows

Anaconda or Miniconda is highly recommended.

  • Install NNI through pip

    Prerequisite: python(64-bit) >= 3.5

    python -m pip install --upgrade nni
  • Install NNI through source code

    Prerequisite: python >=3.5, git, PowerShell.

    git clone -b v0.8 https://github.com/Microsoft/nni.git
    cd nni
    powershell -ExecutionPolicy Bypass -file install.ps1

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

Below are the minimum system requirements for NNI on Windows, Windows 10.1809 is well tested and recommend. Due to potential programming changes, the minimum system requirements for NNI may change over time.

Minimum Requirements Recommended Specifications
Operating System Windows 10 Windows 10
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

Further reading