安装apex报错

您所在的位置:网站首页 apex安装中出现一个错误 安装apex报错

安装apex报错

2024-07-16 13:07| 来源: 网络整理| 查看: 265

D:/python-3.6.7/lib/site-packages/torch/include\c10/cuda/CUDAStream.h(171): warning: field of class type without a DLL interface used in a class with a DLL interface D:/vs2017/VC/Tools/MSVC/14.16.27023/include\type_traits(1271): error: static assertion failed with “You’ve instantiated std::aligned_storage with an extended alignment (in other words, Align > alignof(max_align_t)). Before VS 2017 15.8, the member type would non-conformingly have an alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility (only for uses of aligned_storage with extended alignments). Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE to acknowledge that you understand this message and that you actually want a type with an extended alignment, or (2) _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the old non-conformant behavior.” detected during: instantiation of class “std::_Aligned [with _Len=16ULL, _Align=16ULL]” (1291): here instantiation of class “std::_Aligned [with _Len=16ULL, _Align=16ULL]” (1298): here instantiation of class “std::_Aligned [with _Len=16ULL, _Align=16ULL]” (1305): here instantiation of class “std::_Aligned [with _Len=16ULL, _Align=16ULL]” (1312): here instantiation of class “std::aligned_storage [with _Len=16ULL, _Align=16ULL]” csrc/multi_tensor_scale_kernel.cu(25): here instantiation of “void load_store(T *, T *, int, int) [with T=float]” csrc/multi_tensor_scale_kernel.cu(64): here



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3