leezu edited a comment on issue #17262: Unable to build / link mxnet against 
cuda 10.2
URL: 
https://github.com/apache/incubator-mxnet/issues/17262#issuecomment-579009753
 
 
   @cyrusbehr for a static build for distribution, you need to use the static 
build scripts.
   You can use the code in https://github.com/apache/incubator-mxnet/pull/17448 
to do the staticbuild with cmake.
   
   If you don't want to rely on development version of MXNet, you can use the 
staticbuild based on Makefile 
https://github.com/apache/incubator-mxnet/tree/master/tools/staticbuild
   
   
   To solve your issue, you can remove some cuda arches that are covered by 
"minor version forward compatibility guarantee".
   For example, code compiled for `30` also runs on `35`. So you may change `30 
35 50 52 60 61 70 75` to `30 50 60 61 70 75` or similar (Though this may have a 
slight performance impact on the users of 35 arch, or whatever you remove.)

----------------------------------------------------------------
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