Actually, there is no need for the subprocess to be a Python process. replacing 
`cmd = [sys.executable, sys.argv[0], 'test']` with `cmd = ['ls']` produces the 
same hanging.

The hang does **not** occur if one comments the following lines from the code:
```python
mod.forward(batch)
mod.backward()
mod.update()
```

So it seems that mxnet-mkl is somehow preventing any subprocess forking.
If the above code example is run in a debugger, the hanging occurs in the call 
to `self._execute_child(...)` in subprocess.py, line 1268.

[ Full content available at: 
https://github.com/apache/incubator-mxnet/issues/12710 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to