Closed PascalIversen closed 4 years ago
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.
Hi @PascalIversen, due to cuda fork-safety issues you are required to fork before using any MXNet GPU features. You can refer to https://github.com/apache/incubator-mxnet/issues/4659 I'll close this issue as duplicate for now but please re-open / comment if you have any concerns.
Description
I can not use
mxnet
with multiprocessing, usingmultiprocessing.set_start_method("fork")
.Error Message
To Reproduce
Steps to reproduce
What have you tried to solve it?
with mx.gpu()
fixes the error, but I need that for my use case.Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below: