-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build issue with pip installation #149
Comments
Are you using |
Yes. My pytorch version is 1.5.0. |
C++14 flag is already provided in the Makefile It seems that your compiler is ignoring that flag. What compiler are you using? |
Mt gcc and g++ are both version (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 |
Could you download the repo and try |
Here are all the compilation flags. Using BLAS=openblas /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign NVCC src/math_functions.cu /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’: /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’: /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/enum.h(187): warning: statement is unreachable /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’: /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/enum.h(187): warning: statement is unreachable /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/enum.h(187): warning: statement is unreachable /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/enum.h(187): warning: statement is unreachable /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/enum.h(187): warning: statement is unreachable /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/enum.h(187): warning: statement is unreachable /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function("real") from a host device function("apply") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(63): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/c10/util/TypeCast.h(72): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this. /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/enum.h(187): warning: statement is unreachable /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/enum.h(187): warning: statement is unreachable /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here /home/erl/Envs/sparse_tensor_torch_1.5.0/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here src/coords_manager.cu: In instantiation of ‘std::vector<std::vectorat::Tensor > minkowski::CoordsManager::getKernelMapGPU(std::vector<int, std::allocator >, std::vector<int, std::allocator >, std::vector<int, std::allocator >, std::vector<int, std::allocator >, int, at::Tensor, pybind11::object, pybind11::object, bool, bool) [with MapType = robin_hood::detail::Table<true, 80, std::vector<int, std::allocator >, int, minkowski::byte_hash_vec, std::equal_to<std::vector<int, std::allocator > > >]’: |
It seems like it compiled successfully. Is it not? |
Sorry. It did not compile. I updated the previous reply with the complete log. I tried to downgrade pytorch from 1.5.0 to 1.4.0 and I can install with Traceback (most recent call last): |
Hmm, regarding your previous build, it gives a different error. So I guess, The second error you get is
let me look for some solutions. |
So the error you get happens with From this thread, you need to upgrade your CUDA driver to be at least |
|
After updating CUDA to V10.2.89, I can build successfully from source. |
I have the same problem, I try the pytorch version 1.5 and 1.6 with CUDA version V10.1.105, failed. Finally, I update my cuda version to CUDA 10.2.89 and pytorch==1.5.1, Successful. It's amazing!!!. So I think it's the cuda's bug result to the build failed problem, you just need to upgrade your cuda version and try again. |
Also, my environment is unbuntu 18.04 and two 2080 TI devices. You can try the following steps to reconstruct your cuda version( for CUDA 10.2):
|
I have a build issue using pip installation. My system is as follows:
The error says "You need C++14 to compile PyTorch". I also tried
export CXXFLAGS="c++14"
but it did not help.ERROR: Command errored out with exit status 1:
command: /home/erl/Envs/sparse_tensor/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-u8h9avu5/MinkowskiEngine/setup.py'"'"'; file='"'"'/tmp/pip-install-u8h9avu5/MinkowskiEngine/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-spuix23b
cwd: /tmp/pip-install-u8h9avu5/MinkowskiEngine/
Complete output (236209 lines):
Using BLAS=openblas
CXX src/region.cpp
CXX src/coordsmap.cpp
CXX src/pooling_global_max.cpp
CXX src/convolution_transpose.cpp
CXX src/coords_manager.cpp
CXX src/broadcast.cpp
CXX src/union.cpp
CXX src/pooling_global_avg.cpp
In file included from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/c10/core/MemoryFormat.h:5,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:5,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from src/common.hpp:32,
from src/pooling_global_max.cpp:21:
/home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/c10/util/C++17.h:24:2: error: #error You need C++14 to compile PyTorch
#error You need C++14 to compile PyTorch
^~~~~
In file included from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/c10/core/MemoryFormat.h:5,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:5,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from src/common.hpp:32,
from src/union.hpp:28,
from src/union.cpp:25:
/home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/c10/util/C++17.h:24:2: error: #error You need C++14 to compile PyTorch
#error You need C++14 to compile PyTorch
^~~~~
In file included from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/c10/core/MemoryFormat.h:5,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:5,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from src/common.hpp:32,
from src/coords_manager.cpp:25:
/home/erl/Envs/sparse_tensor/lib/python3.6/site-packages/torch/include/c10/util/C++17.h:24:2: error: #error You need C++14 to compile PyTorch
#error You need C++14 to compile PyTorch
^~~~~
The text was updated successfully, but these errors were encountered: