leezu commented on issue #19776: URL: https://github.com/apache/incubator-mxnet/issues/19776#issuecomment-767118369
So at this time you can either detect if cuda is present inside the `setup.py` and then pass `-DUSE_CUDA=1` or `0`, or you can refactor the CMakeLists.txt file to support a `-DUSE_CUDA=Auto` option (which would try to find cuda and disable cuda if it can't be found) ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
