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/10/23 10:04:44 UTC

[GitHub] [incubator-mxnet] code-wangshuyi opened a new issue #19418: Please Add CUDA 11.1 support

code-wangshuyi opened a new issue #19418:
URL: https://github.com/apache/incubator-mxnet/issues/19418


   ## Description
   When I compile mxnet 1.5.0  use CUDA 11.1 ,because I bought two RTX 3080 gpus. I had to use CUDA 11.1, CUDA 10.x does't support new hardwares.
   
   ### Error Message
                    from /home/learner/data/incubator-mxnet/src/common/random_generator.cu:26:
   /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
      THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
   In file included from /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/system/cuda/detail/execution_policy.h:33:0,
                    from /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/iterator/detail/device_system_tag.h:23,
                    from /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/iterator/iterator_traits.h:111,
                    from /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/type_traits/pointer_traits.h:23,
                    from /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/memory.h:23,
                    from /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/device_ptr.h:25,
                    from /home/learner/data/incubator-mxnet/include/mshadow/././././cuda/tensor_gpu-inl.cuh:9,
                    from /home/learner/data/incubator-mxnet/include/mshadow/./././dot_engine-inl.h:15,
                    from /home/learner/data/incubator-mxnet/include/mshadow/././expr_engine-inl.h:431,
                    from /home/learner/data/incubator-mxnet/include/mshadow/./extension.h:10,
                    from /home/learner/data/incubator-mxnet/include/mshadow/tensor.h:1054,
                    from /home/learner/data/incubator-mxnet/include/mxnet/./base.h:33,
                    from /home/learner/data/incubator-mxnet/include/mxnet/random_generator.h:30,
                    from /home/learner/data/incubator-mxnet/src/common/random_generator.cu:26:
   /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/system/cuda/config.h:78:2: error: #error The version of CUB in your include path is not compatible with this release of Thrust. CUB is now included in the CUDA Toolkit, so you no longer need to use your own checkout of CUB. Define THRUST_IGNORE_CUB_VERSION_CHECK to ignore this.
    #error The version of CUB in your include path is not compatible with this release of Thrust. CUB is now included in the CUDA Toolkit, so you no longer need to use your own checkout of CUB. Define THRUST_IGNORE_CUB_VERSION_CHECK to ignore this.
     ^~~~~
   CMakeFiles/mxnet_static.dir/build.make:3091: recipe for target 'CMakeFiles/mxnet_static.dir/src/common/random_generator.cu.o' failed
   
   ## Environment
   
   Ubuntu 18.04
   use nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04 for compile mxnet


----------------------------------------------------------------
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] code-wangshuyi commented on issue #19418: Please Add CUDA 11.1 support

Posted by GitBox <gi...@apache.org>.
code-wangshuyi commented on issue #19418:
URL: https://github.com/apache/incubator-mxnet/issues/19418#issuecomment-715250475


   I solved by myself, 
   Just alter this file _config.h_
   
   its path is 
   
   _/usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/system/cuda/config.h_
   
   //#ifndef THRUST_IGNORE_CUB_VERSION_CHECK
   #ifdef THRUST_IGNORE_CUB_VERSION_CHECK


----------------------------------------------------------------
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] marcoabreu closed issue #19418: Please Add CUDA 11.1 support

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


   


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