安装apex的时候,由于cuda版本超过11.0出现以下问题:
apex usr local cuda 11.3 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.
解决办法:
懒得打了,大致就是到上图的这个路径里面,把#ifndef THRUST_IGNORE_CUB_VERSION_CHECK给注释掉,换成#ifdef THRUST_IGNORE_CUB_VERSION_CHECK就可以了。