CTranslate2 CUB在您的include路径中的版本与此Thrust版本不兼容,

7dl7o3gd  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(40)

我正在努力让CTranslate2在Debian下构建。我曾经在这台机器上成功构建过一次,但它突然停止工作了,我不知道为什么。

我正在尝试使用cmake . -DWITH_CUDA=ON -DOPENMP_RUNTIME=COMP -DWITH_MKL=OFF -DWITH_CUDNN=ON && make进行构建。我遇到了两个问题,大部分时间里,我得到的错误信息是

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.

。但是有几次,我设法得到了另一个错误信息(我不知道它们是否相关),即

CTranslate2/third_party/cutlass/include/cute/atom/copy_traits_sm90_tma.hpp(71): error: namespace "cute::detail" has no member "is_prefetch"
      if constexpr (detail::is_prefetch<CopyOp>) {

我已经检出了标签v4.3.1。如果有任何软件包的版本字符串或其他诊断信息,请告诉我。我已经安装了CUDA 12和cudnn9-cuda-12。是否有一个更新的构建依赖项列表?python/tools/prepare_build_environment_linux.sh 专门针对RHEL。

xcitsw88

xcitsw881#

这道题的解答过程为:

  1. 列出所有数,然后找出单数和双数。

  2. 计算单数之和、双数之和以及两者之和。

  3. 用总长度减去单数之和和双数之和,得到的结果就是多出来的长度。

相关问题