Skip to content

can not install deepspeed #397

@chaoyanghe

Description

@chaoyanghe

When I run "bash install.sh", I got the following errors:

/usr/include/c++/7/bits/move.h(48): error: identifier "__builtin_addressof" is undefined
detected during:
instantiation of "_Tp *std::__addressof(_Tp &) [with _Tp=const std::_Bind<lambda [](std::function<c10::IValue ()>)->void (std::function<c10::IValue ()>)>]"
/usr/include/c++/7/bits/std_function.h(174): here
instantiation of "_Functor *std::_Function_base::_Base_manager<_Functor>::_M_get_pointer(const std::_Any_data &) [with _Functor=std::_Bind<lambda [](std::function<c10::IValue ()>)->void (std::function<c10::IValue ()>)>]"
/usr/include/c++/7/bits/std_function.h(316): here
instantiation of "void std::_Function_handler<void (_ArgTypes...), _Functor>::_M_invoke(const std::_Any_data &, _ArgTypes &&...) [with _Functor=std::_Bind<lambda [](std::function<c10::IValue ()>)->void (std::function<c10::IValue ()>)>, _ArgTypes=<>]"
/usr/include/c++/7/bits/std_function.h(694): here
instantiation of "std::function<_Res (_ArgTypes...)>::function(_Functor) [with _Res=void, _ArgTypes=<>, _Functor=std::_Bind<lambda [](std::function<c10::IValue ()>)->void (std::function<c10::IValue ()>)>, =void, =void]"
/home/chaoyanghe/miniconda/envs/bert/lib/python3.7/site-packages/torch/include/ATen/core/ivalue_inl.h(353): here

32 errors detected in the compilation of "/tmp/tmpxft_0000132c_00000000-6_fused_lamb_cuda_kernel.cpp1.ii".
error: command '/usr/bin/nvcc' failed with exit status 1
Error on line 195
Fail to install deepspeed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions