NniOnWindows.md 1.7 KB
Newer Older
1
# NNI on Windows (experimental feature)
Chi Song's avatar
Chi Song committed
2

3
Currently we support local, remote and pai mode on Windows. Windows 10.1809 is well tested and recommended.
4
5
6

## **Installation on Windows**

7
  please refer to [Installation](Installation.md) for more details.
8

Chi Song's avatar
Chi Song committed
9
When these things are done, use the **config_windows.yml** configuration to start an experiment for validation.
10
11

```bash
12
nnictl create --config nni\examples\trials\mnist-tfv1\config_windows.yml
13
14
```

Chi Song's avatar
Chi Song committed
15
16
17
18
19
For other examples you need to change trial command `python3` into `python` in each example YAML.

## **FAQ**

### simplejson failed when installing NNI
20
21

Make sure C++ 14.0 compiler installed.
Chi Song's avatar
Chi Song committed
22
23
>building 'simplejson._speedups' extension error: [WinError 3] The system cannot find the path specified

24
### Trial failed with missing DLL in command line or PowerShell
Chi Song's avatar
Chi Song committed
25

26
This error caused by missing LIBIFCOREMD.DLL and LIBMMD.DLL and fail to install SciPy. Using Anaconda or Miniconda with Python(64-bit) can solve it.
27
28
29
>ImportError: DLL load failed

### Trial failed on webUI
Chi Song's avatar
Chi Song committed
30

31
Please check the trial log file stderr for more details.
Chi Song's avatar
Chi Song committed
32

33
If there is a stderr file, please check out. Two possible cases are as follows:
Chi Song's avatar
Chi Song committed
34
35
36

* forget to change the trial command `python3` into `python` in each experiment YAML.
* forget to install experiment dependencies such as TensorFlow, Keras and so on.
37

38
39
40
41
### Fail to use BOHB on Windows
Make sure C++ 14.0 compiler installed then try to run `nnictl package install --name=BOHB` to install the dependencies.

### Not supported tuner on Windows
42
SMAC is not supported currently, the specific reason can be referred to this [GitHub issue](https://github.com/automl/SMAC3/issues/483).
43
44
45
46

Note:

* If there is any error like `Segmentation fault`, please refer to [FAQ](FAQ.md)