FAQ.md 3.03 KB
Newer Older
Yan Ni's avatar
Yan Ni committed
1
2
# FAQ

3
4
5
This page is for frequent asked questions and answers.

### tmp folder fulled
6
nnictl will use tmp folder as a temporary folder to copy files under codeDir when executing experimentation creation.
7
8
9
10
When met errors like below, try to clean up **tmp** folder first.
> OSError: [Errno 28] No space left on device

### Cannot get trials' metrics in OpenPAI mode
11
In OpenPAI training mode, we start a rest server which listens on 51189 port in NNI Manager to receive metrcis reported from trials running in OpenPAI cluster. If you didn't see any metrics from WebUI in OpenPAI mode, check your machine where NNI manager runs on to make sure 51189 port is turned on in the firewall rule.
12

13
### Segmentation Fault (core dumped) when installing
14
15
> make: *** [install-XXX] Segmentation fault (core dumped)

16
Please try the following solutions in turn:
17
* Update or reinstall you current python's pip like `python3 -m pip install -U pip`
18
* Install NNI with `--no-cache-dir` flag like `python3 -m pip install nni --no-cache-dir`
19
20

### Job management error: getIPV4Address() failed because os.networkInterfaces().eth0 is undefined.
21
Your machine don't have eth0 device, please set [nniManagerIp](ExperimentConfig.md) in your config file manually.
22
23
24
25
26

### Exceed the MaxDuration but didn't stop
When the duration of experiment reaches the maximum duration, nniManager will not create new trials, but the existing trials will continue unless user manually stop the experiment. 

### Could not stop an experiment using `nnictl stop`
27
If you upgrade your NNI or you delete some config files of NNI when there is an experiment running, this kind of issue may happen because the loss of config file. You could use `ps -ef | grep node` to find the pid of your experiment, and use `kill -9 {pid}` to kill it manually.
28
29

### Could not get `default metric` in webUI of virtual machines
30
31
32
33
34
35
36
37
Config the network mode to bridge mode or other mode that could make virtual machine's host accessible from external machine, and make sure the port of virtual machine is not forbidden by firewall.

### Could not open webUI link
Unable to open the WebUI may have the following reasons:

* http://127.0.0.1, http://172.17.0.1 and http://10.0.0.15 are referred to localhost, if you start your experiment on the server or remote machine. You can replace the IP to your server IP to view the WebUI, like http://[your_server_ip]:8080
* If you still can't see the WebUI after you use the server IP, you can check the proxy and the firewall of your machine. Or use the browser on the machine where you start your NNI experiment.
* Another reason may be your experiment is failed and NNI may fail to get the experiment infomation. You can check the log of NNImanager in the following directory: ~/nni/experiment/[your_experiment_id] /log/nnimanager.log
38

39
40
### NNI on Windows problems
Please refer to [NNI on Windows](NniOnWindows.md) 
41

42
43
### Help us improve
Please inquiry the problem in https://github.com/Microsoft/nni/issues to see whether there are other people already reported the problem, create a new one if there are no existing issues been created.