larroy commented on issue #14979: [BUG] Using a package with MKL and GPU 
versions, using python to open a new process will cause an error
URL: 
https://github.com/apache/incubator-mxnet/issues/14979#issuecomment-517873461
 
 
   @fierceX forking an initial process is not supported in MXNet. The first 
Process creation should not be done, as the state of the library after fork is 
inconsitent. The code in the train function is never executed.
   
   With respect to the crash, after investigating this I believe is caused by 
calling setenv in pthread_at_fork.  I will refactor this code so unsafe calls 
to setenv are not done during forking.
   
   Additionally we can detect that we are in a forked state and emit additional 
errors in MXNet for example during the use of DataLoader.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to