Skip to content
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

Unable to build wheels for esim-cuda while installing esim_torch #37

Open
Rishabh-Samra opened this issue Jan 2, 2022 · 6 comments
Open

Comments

@Rishabh-Samra
Copy link

I am trying to install esim_torch as instructed but unable to build wheels for esim-cuda and getting the following error:

ERROR: Command errored out with exit status 1:
command: /home/rishabh/anaconda3/envs/vid2e/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-tk48ulrq/setup.py'"'"'; file='"'"'/tmp/pip-req-build-tk48ulrq/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-56sjj7xj
cwd: /tmp/pip-req-build-tk48ulrq/
Complete output (73 lines):
running bdist_wheel
running build
running build_ext
building 'esim_cuda' extension
creating build
creating build/temp.linux-x86_64-3.7
/usr/bin/nvcc -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/TH -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/THC -I/home/rishabh/anaconda3/envs/vid2e/include/python3.7m -c esim_cuda_kernel.cu -o build/temp.linux-x86_64-3.7/esim_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=esim_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_50,code=sm_50 -std=c++11
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(36): error: identifier "__builtin_ia32_monitorx" is undefined

/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier "__builtin_ia32_mwaitx" is undefined

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/c10/util/Half-inl.h(21): error: identifier "__half_as_short" is undefined

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h(180): warning: constexpr function return is non-constant

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/jit/argument_spec.h(68): error: static assertion failed with "ArgumentInfo is to be a POD struct"

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(97): warning: attribute "visibility" does not apply here

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(112): warning: attribute "visibility" does not apply here

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/detail/common.h(694): error: function call must have a constant value in a constant expression

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/detail/descr.h(59): error: expression must have a constant value

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/cast.h(1889): warning: nonstandard use of "auto" to both deduce the type from an initializer and to announce a trailing return type

/usr/include/c++/5/bits/hashtable.h(1526): error: no instance of overloaded function "std::forward" matches the argument list
argument types are: (std::string)
detected during:
instantiation of "std::pair<std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator, __nv_bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args &&) [with _Key=std::string, _Value=std::pair<const std::string, size_t>, _Alloc=std::allocator<std::pair<const std::string, size_t>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_tostd::string, _H1=std::hashstd::string, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits, _Args=<std::string, std::size_t>]"
(726): here
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args &&...) [with _Key=std::string, _Value=std::pair<const std::string, size_t>, _Alloc=std::allocator<std::pair<const std::string, size_t>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_tostd::string, _H1=std::hashstd::string, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits, _Args=<std::string, std::size_t>]"
/usr/include/c++/5/bits/unordered_map.h(380): here
instantiation of "std::pair<std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::_not<std::_and<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash>>>::value, false, true>>::iterator, __nv_bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args &&...) [with _Key=std::string, _Tp=size_t, _Hash=std::hashstd::string, _Pred=std::equal_tostd::string, _Alloc=std::allocator<std::pair<const std::string, size_t>>, _Args=<std::string, unsigned long>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h(363): here
instantiation of "Value &torch::OrderedDict<Key, Value>::insert(K &&, V &&) [with Key=std::string, Value=std::shared_ptrtorch::nn::Module, K=std::string, V=std::shared_ptrtorch::nn::Module]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h(369): here
instantiation of "Value &torch::OrderedDict<Key, Value>::insert(Key, Value &&) [with Key=std::string, Value=std::shared_ptrtorch::nn::Module]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/module.h(615): here
instantiation of "std::shared_ptr torch::nn::Module::register_module(std::string, std::shared_ptr) [with ModuleType=torch::nn::Module]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/modules/container/modulelist.h(92): here

/usr/include/c++/5/bits/hashtable.h(1565): error: no instance of overloaded function "std::forward" matches the argument list
argument types are: (void *)
detected during:
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::const_iterator, std::false_type, _Args &&) [with _Key=const void *, _Value=std::pair<const void *const, pybind11::detail::instance *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<const void *>, _H1=std::hash<const void *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__ummap_traits, _Args=<void *&, pybind11::detail::instance *&>]"
(671): here
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::false_type, _Args &&...) [with _Key=const void *, _Value=std::pair<const void *const, pybind11::detail::instance *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<const void *>, _H1=std::hash<const void *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__ummap_traits, _Args=<void *&, pybind11::detail::instance *&>]"
(726): here
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args &&...) [with _Key=const void *, _Value=std::pair<const void *const, pybind11::detail::instance *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<const void *>, _H1=std::hash<const void *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__ummap_traits, _Args=<void *&, pybind11::detail::instance *&>]"
/usr/include/c++/5/bits/unordered_map.h(1128): here
instantiation of "std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::iterator std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args &&...) [with _Key=const void *, _Tp=pybind11::detail::instance *, _Hash=std::hash<const void *>, _Pred=std::equal_to<const void *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _Args=<void *&, pybind11::detail::instance *&>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/detail/class.h(218): here

/usr/include/c++/5/bits/hashtable.h(1526): error: no instance of overloaded function "std::forward" matches the argument list
argument types are: (PyTypeObject *)
detected during:
instantiation of "std::pair<std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator, __nv_bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args &&) [with _Key=PyTypeObject *, _Value=std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>, _Alloc=std::allocator<std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<PyTypeObject *>, _H1=std::hash<PyTypeObject *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits, _Args=<PyTypeObject *&, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>]"
(726): here
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args &&...) [with _Key=PyTypeObject *, _Value=std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>, _Alloc=std::allocator<std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<PyTypeObject *>, _H1=std::hash<PyTypeObject *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits, _Args=<PyTypeObject *&, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>]"
/usr/include/c++/5/bits/unordered_map.h(380): here
instantiation of "std::pair<std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::_not<std::_and<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash>>>::value, false, true>>::iterator, __nv_bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args &&...) [with _Key=PyTypeObject *, _Tp=std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>, _Hash=std::hash<PyTypeObject *>, _Pred=std::equal_to<PyTypeObject *>, _Alloc=std::allocator<std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>>, _Args=<PyTypeObject *&, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h(1619): here

esim_cuda_kernel.cu(39): warning: variable "i0" was declared but never referenced
detected during instantiation of "void count_events_cuda_forward_kernel(const scalar_t *, const scalar_t *, scalar_t *, int64_t *, int, int, int, float, float) [with scalar_t=float]"
(152): here

9 errors detected in the compilation of "/tmp/tmpxft_0000183f_00000000-7_esim_cuda_kernel.cpp1.ii".
error: command '/usr/bin/nvcc' failed with exit status 2

ERROR: Failed building wheel for esim-cuda

I request @danielgehrig18 and others to please help me out to rectify this issue!

@danielgehrig18
Copy link
Contributor

danielgehrig18 commented Jan 4, 2022 via email

@Rishabh-Samra
Copy link
Author

Thanks a lot for your reply sir. So I have g++ version 5.4.0 installed in my system. Is it required to upgrade the version of g++ alone?
Apart from that I have seen in the page of e-sim simulator that input video frames should be at higher fps with less motion between consecutive frames. But for my case input video is of 25 fps and some motion observed between consecutive frames so getting artefacts in the form of white spots when interpolating using those event frames. Any suggestions as what to follow to get required event data from 25 fps video frames?

@danielgehrig18
Copy link
Contributor

danielgehrig18 commented Jan 4, 2022 via email

@Rishabh-Samra
Copy link
Author

So after updating gcc and g++ to versions 9.4.0, still I am getting the errors mentioned below. Please let me know what can be done to solve this issue.

ERROR: Command errored out with exit status 1:
command: /home/rishabh/anaconda3/envs/vid2e/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1eho_l91/setup.py'"'"'; file='"'"'/tmp/pip-req-build-1eho_l91/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-s1dxn4my
cwd: /tmp/pip-req-build-1eho_l91/
Complete output (73 lines):
running bdist_wheel
running build
running build_ext
building 'esim_cuda' extension
creating build
creating build/temp.linux-x86_64-3.7
/usr/bin/nvcc -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/TH -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/THC -I/home/rishabh/anaconda3/envs/vid2e/include/python3.7m -c esim_cuda_kernel.cu -o build/temp.linux-x86_64-3.7/esim_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=esim_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_50,code=sm_50 -std=c++11
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(36): error: identifier "__builtin_ia32_monitorx" is undefined

/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier "__builtin_ia32_mwaitx" is undefined

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/c10/util/Half-inl.h(21): error: identifier "__half_as_short" is undefined

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h(180): warning: constexpr function return is non-constant

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/jit/argument_spec.h(68): error: static assertion failed with "ArgumentInfo is to be a POD struct"

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(97): warning: attribute "visibility" does not apply here

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(112): warning: attribute "visibility" does not apply here

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/detail/common.h(694): error: function call must have a constant value in a constant expression

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/detail/descr.h(59): error: expression must have a constant value

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/cast.h(1889): warning: nonstandard use of "auto" to both deduce the type from an initializer and to announce a trailing return type

/usr/include/c++/5/bits/hashtable.h(1526): error: no instance of overloaded function "std::forward" matches the argument list
argument types are: (std::string)
detected during:
instantiation of "std::pair<std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator, __nv_bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args &&) [with _Key=std::string, _Value=std::pair<const std::string, size_t>, _Alloc=std::allocator<std::pair<const std::string, size_t>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_tostd::string, _H1=std::hashstd::string, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits, _Args=<std::string, std::size_t>]"
(726): here
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args &&...) [with _Key=std::string, _Value=std::pair<const std::string, size_t>, _Alloc=std::allocator<std::pair<const std::string, size_t>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_tostd::string, _H1=std::hashstd::string, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits, _Args=<std::string, std::size_t>]"
/usr/include/c++/5/bits/unordered_map.h(380): here
instantiation of "std::pair<std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::_not<std::_and<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash>>>::value, false, true>>::iterator, __nv_bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args &&...) [with _Key=std::string, _Tp=size_t, _Hash=std::hashstd::string, _Pred=std::equal_tostd::string, _Alloc=std::allocator<std::pair<const std::string, size_t>>, _Args=<std::string, unsigned long>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h(363): here
instantiation of "Value &torch::OrderedDict<Key, Value>::insert(K &&, V &&) [with Key=std::string, Value=std::shared_ptrtorch::nn::Module, K=std::string, V=std::shared_ptrtorch::nn::Module]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h(369): here
instantiation of "Value &torch::OrderedDict<Key, Value>::insert(Key, Value &&) [with Key=std::string, Value=std::shared_ptrtorch::nn::Module]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/module.h(615): here
instantiation of "std::shared_ptr torch::nn::Module::register_module(std::string, std::shared_ptr) [with ModuleType=torch::nn::Module]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/modules/container/modulelist.h(92): here

/usr/include/c++/5/bits/hashtable.h(1565): error: no instance of overloaded function "std::forward" matches the argument list
argument types are: (void *)
detected during:
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::const_iterator, std::false_type, _Args &&) [with _Key=const void *, _Value=std::pair<const void *const, pybind11::detail::instance *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<const void *>, _H1=std::hash<const void *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__ummap_traits, _Args=<void *&, pybind11::detail::instance *&>]"
(671): here
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::false_type, _Args &&...) [with _Key=const void *, _Value=std::pair<const void *const, pybind11::detail::instance *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<const void *>, _H1=std::hash<const void *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__ummap_traits, _Args=<void *&, pybind11::detail::instance *&>]"
(726): here
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args &&...) [with _Key=const void *, _Value=std::pair<const void *const, pybind11::detail::instance *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<const void *>, _H1=std::hash<const void *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__ummap_traits, _Args=<void *&, pybind11::detail::instance *&>]"
/usr/include/c++/5/bits/unordered_map.h(1128): here
instantiation of "std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::iterator std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args &&...) [with _Key=const void *, _Tp=pybind11::detail::instance *, _Hash=std::hash<const void *>, _Pred=std::equal_to<const void *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _Args=<void *&, pybind11::detail::instance *&>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/detail/class.h(218): here

/usr/include/c++/5/bits/hashtable.h(1526): error: no instance of overloaded function "std::forward" matches the argument list
argument types are: (PyTypeObject *)
detected during:
instantiation of "std::pair<std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator, __nv_bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args &&) [with _Key=PyTypeObject *, _Value=std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>, _Alloc=std::allocator<std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<PyTypeObject *>, _H1=std::hash<PyTypeObject *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits, _Args=<PyTypeObject *&, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>]"
(726): here
instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args &&...) [with _Key=PyTypeObject *, _Value=std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>, _Alloc=std::allocator<std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<PyTypeObject *>, _H1=std::hash<PyTypeObject *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits, _Args=<PyTypeObject *&, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>]"
/usr/include/c++/5/bits/unordered_map.h(380): here
instantiation of "std::pair<std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::_not<std::_and<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash>>>::value, false, true>>::iterator, __nv_bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args &&...) [with _Key=PyTypeObject *, _Tp=std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>, _Hash=std::hash<PyTypeObject *>, _Pred=std::equal_to<PyTypeObject *>, _Alloc=std::allocator<std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>>, _Args=<PyTypeObject *&, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h(1619): here

esim_cuda_kernel.cu(39): warning: variable "i0" was declared but never referenced
detected during instantiation of "void count_events_cuda_forward_kernel(const scalar_t *, const scalar_t *, scalar_t *, int64_t *, int, int, int, float, float) [with scalar_t=float]"
(152): here

9 errors detected in the compilation of "/tmp/tmpxft_00005826_00000000-7_esim_cuda_kernel.cpp1.ii".
error: command '/usr/bin/nvcc' failed with exit status 2

ERROR: Failed building wheel for esim-cuda
Running setup.py clean for esim-cuda
Failed to build esim-cuda
Installing collected packages: esim-cuda
Running setup.py install for esim-cuda ... error
ERROR: Command errored out with exit status 1:
command: /home/rishabh/anaconda3/envs/vid2e/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1eho_l91/setup.py'"'"'; file='"'"'/tmp/pip-req-build-1eho_l91/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-yms5yp_i/install-record.txt --single-version-externally-managed --compile --install-headers /home/rishabh/anaconda3/envs/vid2e/include/python3.7m/esim-cuda
cwd: /tmp/pip-req-build-1eho_l91/
Complete output (73 lines):
running install
running build
running build_ext
building 'esim_cuda' extension
creating build
creating build/temp.linux-x86_64-3.7
/usr/bin/nvcc -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/TH -I/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/THC -I/home/rishabh/anaconda3/envs/vid2e/include/python3.7m -c esim_cuda_kernel.cu -o build/temp.linux-x86_64-3.7/esim_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=esim_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_50,code=sm_50 -std=c++11
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(36): error: identifier "__builtin_ia32_monitorx" is undefined

/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier "__builtin_ia32_mwaitx" is undefined

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/c10/util/Half-inl.h(21): error: identifier "__half_as_short" is undefined

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h(180): warning: constexpr function return is non-constant

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/jit/argument_spec.h(68): error: static assertion failed with "ArgumentInfo is to be a POD struct"

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(97): warning: attribute "__visibility__" does not apply here

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(112): warning: attribute "__visibility__" does not apply here

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/detail/common.h(694): error: function call must have a constant value in a constant expression

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/detail/descr.h(59): error: expression must have a constant value

/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/cast.h(1889): warning: nonstandard use of "auto" to both deduce the type from an initializer and to announce a trailing return type

/usr/include/c++/5/bits/hashtable.h(1526): error: no instance of overloaded function "std::forward" matches the argument list
            argument types are: (std::string)
          detected during:
            instantiation of "std::pair<std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator, __nv_bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args &&) [with _Key=std::string, _Value=std::pair<const std::string, size_t>, _Alloc=std::allocator<std::pair<const std::string, size_t>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<std::string>, _H1=std::hash<std::string>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits<true>, _Args=<std::string, std::size_t>]"
(726): here
            instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args &&...) [with _Key=std::string, _Value=std::pair<const std::string, size_t>, _Alloc=std::allocator<std::pair<const std::string, size_t>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<std::string>, _H1=std::hash<std::string>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits<true>, _Args=<std::string, std::size_t>]"
/usr/include/c++/5/bits/unordered_map.h(380): here
            instantiation of "std::pair<std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash>>>::value, false, true>>::iterator, __nv_bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args &&...) [with _Key=std::string, _Tp=size_t, _Hash=std::hash<std::string>, _Pred=std::equal_to<std::string>, _Alloc=std::allocator<std::pair<const std::string, size_t>>, _Args=<std::string, unsigned long>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h(363): here
            instantiation of "Value &torch::OrderedDict<Key, Value>::insert(K &&, V &&) [with Key=std::string, Value=std::shared_ptr<torch::nn::Module>, K=std::string, V=std::shared_ptr<torch::nn::Module>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/ordered_dict.h(369): here
            instantiation of "Value &torch::OrderedDict<Key, Value>::insert(Key, Value &&) [with Key=std::string, Value=std::shared_ptr<torch::nn::Module>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/module.h(615): here
            instantiation of "std::shared_ptr<ModuleType> torch::nn::Module::register_module(std::string, std::shared_ptr<ModuleType>) [with ModuleType=torch::nn::Module]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/modules/container/modulelist.h(92): here

/usr/include/c++/5/bits/hashtable.h(1565): error: no instance of overloaded function "std::forward" matches the argument list
            argument types are: (void *)
          detected during:
            instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::const_iterator, std::false_type, _Args &&) [with _Key=const void *, _Value=std::pair<const void *const, pybind11::detail::instance *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<const void *>, _H1=std::hash<const void *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__ummap_traits<false>, _Args=<void *&, pybind11::detail::instance *&>]"
(671): here
            instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::false_type, _Args &&...) [with _Key=const void *, _Value=std::pair<const void *const, pybind11::detail::instance *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<const void *>, _H1=std::hash<const void *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__ummap_traits<false>, _Args=<void *&, pybind11::detail::instance *&>]"
(726): here
            instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args &&...) [with _Key=const void *, _Value=std::pair<const void *const, pybind11::detail::instance *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<const void *>, _H1=std::hash<const void *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__ummap_traits<false>, _Args=<void *&, pybind11::detail::instance *&>]"
/usr/include/c++/5/bits/unordered_map.h(1128): here
            instantiation of "std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::iterator std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args &&...) [with _Key=const void *, _Tp=pybind11::detail::instance *, _Hash=std::hash<const void *>, _Pred=std::equal_to<const void *>, _Alloc=std::allocator<std::pair<const void *const, pybind11::detail::instance *>>, _Args=<void *&, pybind11::detail::instance *&>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/detail/class.h(218): here

/usr/include/c++/5/bits/hashtable.h(1526): error: no instance of overloaded function "std::forward" matches the argument list
            argument types are: (PyTypeObject *)
          detected during:
            instantiation of "std::pair<std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator, __nv_bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args &&) [with _Key=PyTypeObject *, _Value=std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>, _Alloc=std::allocator<std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<PyTypeObject *>, _H1=std::hash<PyTypeObject *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits<false>, _Args=<PyTypeObject *&, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>]"
(726): here
            instantiation of "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args &&...) [with _Key=PyTypeObject *, _Value=std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>, _Alloc=std::allocator<std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>>, _ExtractKey=std::__detail::_Select1st, _Equal=std::equal_to<PyTypeObject *>, _H1=std::hash<PyTypeObject *>, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits<false>, _Args=<PyTypeObject *&, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>]"
/usr/include/c++/5/bits/unordered_map.h(380): here
            instantiation of "std::pair<std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash>>>::value, false, true>>::iterator, __nv_bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args &&...) [with _Key=PyTypeObject *, _Tp=std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>, _Hash=std::hash<PyTypeObject *>, _Pred=std::equal_to<PyTypeObject *>, _Alloc=std::allocator<std::pair<PyTypeObject *const, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>>, _Args=<PyTypeObject *&, std::vector<pybind11::detail::type_info *, std::allocator<pybind11::detail::type_info *>>>]"
/home/rishabh/anaconda3/envs/vid2e/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h(1619): here

esim_cuda_kernel.cu(39): warning: variable "i0" was declared but never referenced
          detected during instantiation of "void count_events_cuda_forward_kernel(const scalar_t *, const scalar_t *, scalar_t *, int64_t *, int, int, int, float, float) [with scalar_t=float]"
(152): here

9 errors detected in the compilation of "/tmp/tmpxft_0000583d_00000000-7_esim_cuda_kernel.cpp1.ii".
error: command '/usr/bin/nvcc' failed with exit status 2
----------------------------------------

ERROR: Command errored out with exit status 1: /home/rishabh/anaconda3/envs/vid2e/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1eho_l91/setup.py'"'"'; file='"'"'/tmp/pip-req-build-1eho_l91/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-yms5yp_i/install-record.txt --single-version-externally-managed --compile --install-headers /home/rishabh/anaconda3/envs/vid2e/include/python3.7m/esim-cuda Check the logs for full command output.

I have cuda version 10.1 and nvcc version 7.5 installed in my system. I don't know if nvcc also requires any update and if yes, how this can be done so that it doesn't affect other users where there can be version mismatch problems which I faced before.

@danielgehrig18
Copy link
Contributor

danielgehrig18 commented Jan 4, 2022 via email

@Rishabh-Samra
Copy link
Author

So as said in previous comment, I have cuda version 10.1 and nvcc version 7.5 installed in my system. I don't know if nvcc also requires any update and if yes, how this can be done so that it doesn't affect other users where there can be version mismatch problems which I also faced before.
And following is the output I am getting after running pip freeze:

argon2-cffi @ file:///tmp/build/80754af9/argon2-cffi_1613036642480/work
async-generator==1.10
attrs @ file:///tmp/build/80754af9/attrs_1604765588209/work
backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
bleach @ file:///tmp/build/80754af9/bleach_1612211392645/work
certifi==2021.10.8
cffi @ file:///tmp/build/80754af9/cffi_1613246939562/work
cycler @ file:///home/conda/feedstock_root/build_artifacts/cycler_1635519461629/work
decorator @ file:///tmp/build/80754af9/decorator_1617916966915/work
defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
entrypoints==0.3
esim-py @ file:///home/rishabh/rpg_vid2e/esim_py
fonttools==4.25.0
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1617877314848/work
ipykernel @ file:///tmp/build/80754af9/ipykernel_1596206598566/work/dist/ipykernel-5.3.4-py3-none-any.whl
ipython @ file:///tmp/build/80754af9/ipython_1617118429768/work
ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1610481889018/work
jedi==0.17.0
Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
jsonschema @ file:///tmp/build/80754af9/jsonschema_1602607155483/work
jupyter==1.0.0
jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
jupyter-core @ file:///tmp/build/80754af9/jupyter_core_1612213308260/work
jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
kiwisolver @ file:///home/conda/feedstock_root/build_artifacts/kiwisolver_1604322297326/work
MarkupSafe @ file:///tmp/build/80754af9/markupsafe_1594371495811/work
matplotlib @ file:///tmp/build/80754af9/matplotlib-suite_1634667019719/work
mistune @ file:///tmp/build/80754af9/mistune_1594373098390/work
mkl-fft==1.3.0
mkl-random==1.1.1
mkl-service==2.3.0
munkres==1.1.4
nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
nbconvert @ file:///tmp/build/80754af9/nbconvert_1601914821128/work
nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
notebook @ file:///tmp/build/80754af9/notebook_1616443455024/work
numpy @ file:///tmp/build/80754af9/numpy_and_numpy_base_1603479632437/work
olefile==0.46
packaging @ file:///tmp/build/80754af9/packaging_1611952188834/work
pandocfilters @ file:///tmp/build/80754af9/pandocfilters_1605120451932/work
parso @ file:///tmp/build/80754af9/parso_1617223946239/work
pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
Pillow @ file:///tmp/build/80754af9/pillow_1617386154241/work
prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1618088486455/work
prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1616415428029/work
ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
pybind11 @ file:///home/conda/feedstock_root/build_artifacts/pybind11_1605158623575/work
pybind11-global @ file:///home/conda/feedstock_root/build_artifacts/pybind11_1605158623575/work
pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
Pygments @ file:///tmp/build/80754af9/pygments_1615143339740/work
pyparsing @ file:///home/linux1/recipes/ci/pyparsing_1610983426697/work
pyrsistent @ file:///tmp/build/80754af9/pyrsistent_1600141707582/work
python-dateutil @ file:///home/ktietz/src/ci/python-dateutil_1611928101742/work
pyzmq==20.0.0
qtconsole @ file:///tmp/build/80754af9/qtconsole_1616775094278/work
QtPy==1.9.0
scikit-video==1.1.11
scipy @ file:///tmp/build/80754af9/scipy_1616700973326/work
Send2Trash @ file:///tmp/build/80754af9/send2trash_1607525499227/work
six @ file:///tmp/build/80754af9/six_1605205313296/work
terminado==0.9.4
testpath @ file:///home/ktietz/src/ci/testpath_1611930608132/work
torch==1.3.1
torchvision==0.4.2
tornado @ file:///tmp/build/80754af9/tornado_1606942283357/work
tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1617680194207/work
traitlets @ file:///home/ktietz/src/ci/traitlets_1611929699868/work
typing-extensions @ file:///home/ktietz/src/ci_mi/typing_extensions_1612808209620/work
wcwidth @ file:///tmp/build/80754af9/wcwidth_1593447189090/work
webencodings==0.5.1
widgetsnbextension==3.5.1
zipp @ file:///tmp/build/80754af9/zipp_1615904174917/work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants