You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/11/23 13:13:00 UTC

[GitHub] [incubator-mxnet] m-ky opened a new issue #19579: mxnet_75.dll chosen, even if there is newer mxnet_86.dll present

m-ky opened a new issue #19579:
URL: https://github.com/apache/incubator-mxnet/issues/19579


   ## Description
   MXNet 1.8.0.rc2, Windows 10, Cuda 11, NVIDIA RTX 3090, C++ build from source
   After build there are several mxnet_XY.dll, where X is cuda major and Y minor version. For RTX 3090 mxnet_86.dll should be used.
   However this dll is not chosen, instead it tries to select mxnet_75.dll.
   This causes:
   1. Either mxnet_75.dll is there, which causes PTX compilation to start, if mxnet_75.dll contains PTX code (even if there is mxnet_86.dll that can be used right away).
   2. Or mxnet_75.dll is not there, which crashes program on first use of any mxnet function (nullpointer).
   
   ### Error Message
   Either unnecessarily builds PTX code (if it is present), or crashes on nullpointer exception when mxnet_75.dll is not present.
   
   ## To Reproduce
   Build C++ package from source on Windows using Cuda 11.
   MXNET_CUDA_ARCH can be auto (on RTX 3090 this means sm86), or all.
   The use any mxnet function from C++.
   
   ## What have you tried to solve it?
   In file tools/windowsbuild/warp_dll.cpp, there is function find_version() that should return which mxnet sm version should be used.
   Third line in that function should be changed to:
   int version = 86;
   
   ## Environment
   MXNet 1.8.0.rc2, Windows 10, Cuda 11, NVIDIA RTX 3090, C++ build from source
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] m-ky commented on issue #19579: mxnet_75.dll chosen, even if there is newer mxnet_86.dll present

Posted by GitBox <gi...@apache.org>.
m-ky commented on issue #19579:
URL: https://github.com/apache/incubator-mxnet/issues/19579#issuecomment-733696139


   After some looking I found that it is already fixed in master:
   https://github.com/apache/incubator-mxnet/pull/19410
   I will ask to merge this fix to 1.8.0


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu commented on issue #19579: mxnet_75.dll chosen, even if there is newer mxnet_86.dll present

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #19579:
URL: https://github.com/apache/incubator-mxnet/issues/19579#issuecomment-733163139


   Ok, great! Would you open a PR with the fix?


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu commented on issue #19579: mxnet_75.dll chosen, even if there is newer mxnet_86.dll present

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #19579:
URL: https://github.com/apache/incubator-mxnet/issues/19579#issuecomment-732348252


   > C++ build from source
   
   If you're only interested in running on a single GPU architecture, you can just set `USE_SPLIT_ARCH_DLL=0`


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] m-ky commented on issue #19579: mxnet_75.dll chosen, even if there is newer mxnet_86.dll present

Posted by GitBox <gi...@apache.org>.
m-ky commented on issue #19579:
URL: https://github.com/apache/incubator-mxnet/issues/19579#issuecomment-733015247


   Thank you for response.
   I actually use multiple GPU architectures and need the splitting functionality.
   My fix seems to work fine, I just wanted to let people know that there is bug.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] m-ky closed issue #19579: mxnet_75.dll chosen, even if there is newer mxnet_86.dll present

Posted by GitBox <gi...@apache.org>.
m-ky closed issue #19579:
URL: https://github.com/apache/incubator-mxnet/issues/19579


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org