Skip to content

Problem in installing pytorch3d in windows #1128

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

Closed
huzijian0622 opened this issue Mar 17, 2022 · 8 comments
Closed

Problem in installing pytorch3d in windows #1128

huzijian0622 opened this issue Mar 17, 2022 · 8 comments
Assignees
Labels
installation Installation questions or issues

Comments

@huzijian0622
Copy link

when i start run the code python setup.py install in x64 Native Tools Command Prompt for VS 2019

the terminal shows:

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc.exe -c C:\Users\Huzijian\Downloads\pytorch3d\pytorch3d\csrc\ball_query\ball_query.cu -o build\temp.win-amd64-3.8\Release\Users\Huzijian\Downloads\pytorch3d\pytorch3d\csrc\ball_query\ball_query.obj -IC:\Users\Huzijian\Downloads\pytorch3d\pytorch3d\csrc -IC:\Users\Huzijian\Downloads\cub-1.11.0 -ID:\Anaconda3\envs\pytorch\lib\site-packages\torch\include -ID:\Anaconda3\envs\pytorch\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\pytorch\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\pytorch\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -ID:\Anaconda3\envs\pytorch\include -ID:\Anaconda3\envs\pytorch\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --use-local-env
ball_query.cu
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/system/cuda/config.h(78): fatal error C1189: #error: The version of CUB in your include path is not compatible with this release of Thrust. CUB is now included in the CUDA Toolkit, so you no longer need to use your own checkout of CUB. Define THRUST_IGNORE_CUB_VERSION_CHECK to ignore this.
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc.exe' failed with exit status 2

@bottler
Copy link
Contributor

bottler commented Mar 17, 2022

This is odd. setup.py asks for THRUST_IGNORE_CUB_VERSION_CHECK to be defined, so I would have expected the command line to include -DTHRUST_IGNORE_CUB_VERSION_CHECK and for this error to be silenced. Do you have a modified setup.py or a special way of building?

@bottler bottler self-assigned this Mar 17, 2022
@huzijian0622
Copy link
Author

I have cuda11.1 installed in my computer, but pytorch corresponds to 11.3; the cub version I downloaded corresponds to cuda version 11.3, is this the reason? If yes, then what should I do next。

@bottler
Copy link
Contributor

bottler commented Mar 18, 2022

You need to install CUDA (and set CUDA_HOME) for the same version of cuda you are using in PyTorch. But that isn't the problem here.

Note that PyTorch 1.10.* and 1.11.0 (which isn't supported by any PyTorch3D releases yet) have some packages for cuda 11.1 even though they aren't advertised on https://pytorch.org/get-started. See https://anaconda.org/pytorch/pytorch/files

@huzijian0622
Copy link
Author

i uninstalled the torch1.10 and then installed pytorch1.9 with cuda11.1, but when i tried python setup.py install i got some new errors:

      detected during:
        instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_copy(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=std::string *, _Alloc=std::_Rebind_alloc_t<std::allocator<std::string>, std::string>]"

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1654): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ucopy(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=std::string, _Alloc=std::allocatorstd::string, _Iter=std::string *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(565): here
instantiation of "std::vector<_Ty, _Alloc>::vector(const std::vector<_Ty, _Alloc> &) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/core/qualified_name.h(142): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(927): error: expected a "("
detected during:
instantiation of "void std::_Pocma(_Alloc &, _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocatorstd::string, std::string>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(638): here
instantiation of "void std::vector<_Ty, _Alloc>::_Move_assign(std::vector<_Ty, _Alloc> &, std::_Equal_allocators) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(705): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(std::vector<_Ty, _Alloc> &&) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/core/qualified_name.h(45): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(919): error: expected a "("
detected during:
instantiation of "void std::_Pocca(_Alloc &, const _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocatorstd::string, std::string>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1198): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\torch/csrc/autograd/profiler_legacy.h(290): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1309): error: expected a "("
detected during:
instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=std::string *, _Sentinel=std::string *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1188): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=std::string, _Alloc=std::allocatorstd::string, _Iter=std::string *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\torch/csrc/autograd/profiler_legacy.h(290): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1310): error: no instance of overloaded function "std::_Verify_range" matches the argument list
argument types are: (std::string *const, std::string *const)
detected during:
instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=std::string *, _Sentinel=std::string *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1188): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=std::string, _Alloc=std::allocatorstd::string, _Iter=std::string *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\torch/csrc/autograd/profiler_legacy.h(290): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1326): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=std::string *&]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1189): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=std::string, _Alloc=std::allocatorstd::string, _Iter=std::string *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\torch/csrc/autograd/profiler_legacy.h(290): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1328): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=std::string *&]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1189): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=std::string, _Alloc=std::allocatorstd::string, _Iter=std::string *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\torch/csrc/autograd/profiler_legacy.h(290): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1329): error: expression must have class type
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=std::string *&]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1189): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=std::string, _Alloc=std::allocatorstd::string, _Iter=std::string *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=std::string, _Alloc=std::allocatorstd::string]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\torch/csrc/autograd/profiler_legacy.h(290): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(62): error: expected a "("
detected during:
instantiation of "size_t std::_Get_size_of_n<_Ty_size>(size_t) [with _Ty_size=8ULL]"
(839): here
instantiation of "_Ty *std::allocator<_Ty>::allocate(size_t) [with _Ty=int64_t]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1711): here
instantiation of "void std::vector<_Ty, _Alloc>::_Buy_raw(std::vector<_Ty, _Alloc>::size_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1732): here
instantiation of "void std::vector<_Ty, _Alloc>::_Buy_nonzero(std::vector<_Ty, _Alloc>::size_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(491): here
instantiation of "void std::vector<_Ty, _Alloc>::_Construct_n_copies_of_ty(std::vector<_Ty, _Alloc>::size_type, const _Ty2 &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Ty2=std::_Value_init_tag]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(503): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::vector<_Ty, _Alloc>::size_type, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/core/MemoryFormat.h(64): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(948): error: expected a "("
detected during:
instantiation of "void std::_Destroy_range(std::_Alloc_ptr_t<_Alloc>, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1680): here
instantiation of "void std::vector<_Ty, _Alloc>::_Destroy(std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1764): here
instantiation of "void std::vector<_Ty, _Alloc>::_Tidy() [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
(36): here
instantiation of "std::_Tidy_guard<_Ty>::~_Tidy_guard() [with _Ty=std::vector<int64_t, std::allocator<int64_t>>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(492): here
instantiation of "void std::vector<_Ty, _Alloc>::_Construct_n_copies_of_ty(std::vector<_Ty, _Alloc>::size_type, const _Ty2 &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Ty2=std::_Value_init_tag]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(503): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::vector<_Ty, _Alloc>::size_type, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/core/MemoryFormat.h(64): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1818): error: expected a "("
detected during:
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_value_construct_n(std::_Alloc_ptr_t<_Alloc>, std::_Alloc_size_t<_Alloc>, _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1648): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ufill(std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::size_type, std::_Value_init_tag) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(493): here
instantiation of "void std::vector<_Ty, _Alloc>::_Construct_n_copies_of_ty(std::vector<_Ty, _Alloc>::size_type, const _Ty2 &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Ty2=std::_Value_init_tag]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(503): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::vector<_Ty, _Alloc>::size_type, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/core/MemoryFormat.h(64): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(131): error: expected a "("
detected during:
instantiation of "void *std::_Voidify_iter(_Iter) [with _Iter=int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(714): here
instantiation of "void std::_Default_allocator_traits<_Alloc>::construct(_Alloc &, _Objty *, _Types &&...) [with _Alloc=std::allocator<int64_t>, _Objty=int64_t, _Types=<>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1631): here
instantiation of "void std::_Uninitialized_backout_al<_Alloc>::_Emplace_back(_Types &&...) [with _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>, _Types=<>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1831): here
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_value_construct_n(std::_Alloc_ptr_t<_Alloc>, std::_Alloc_size_t<_Alloc>, _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1648): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ufill(std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::size_type, std::_Value_init_tag) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(493): here
instantiation of "void std::vector<_Ty, _Alloc>::_Construct_n_copies_of_ty(std::vector<_Ty, _Alloc>::size_type, const _Ty2 &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Ty2=std::_Value_init_tag]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(503): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::vector<_Ty, _Alloc>::size_type, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/core/MemoryFormat.h(64): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1744): error: expected a "("
detected during:
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_fill_n(std::_Alloc_ptr_t<_Alloc>, std::_Alloc_size_t<_Alloc>, const _Alloc::value_type &, _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1643): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ufill(std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::size_type, const _Ty &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(493): here
instantiation of "void std::vector<_Ty, _Alloc>::_Construct_n_copies_of_ty(std::vector<_Ty, _Alloc>::size_type, const _Ty2 &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Ty2=int64_t]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(509): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::vector<_Ty, _Alloc>::size_type, const _Ty &, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:\Anaconda3\envs\pytorch3d\lib\site-packages\torch\include\pybind11\buffer_info.h(21): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1752): error: expected a "("
detected during:
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_fill_n(std::_Alloc_ptr_t<_Alloc>, std::_Alloc_size_t<_Alloc>, const _Alloc::value_type &, _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1643): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ufill(std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::size_type, const _Ty &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(493): here
instantiation of "void std::vector<_Ty, _Alloc>::_Construct_n_copies_of_ty(std::vector<_Ty, _Alloc>::size_type, const _Ty2 &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Ty2=int64_t]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(509): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::vector<_Ty, _Alloc>::size_type, const _Ty &, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:\Anaconda3\envs\pytorch3d\lib\site-packages\torch\include\pybind11\buffer_info.h(21): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1589): error: expected a "("
detected during:
instantiation of "std::_Iter_diff_t<_InIt> std::distance(_InIt, _InIt) [with _InIt=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(525): here
instantiation of "void std::vector<_Ty, _Alloc>::_Range_construct_or_tidy(_Iter, _Iter, std::forward_iterator_tag) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(550): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::initializer_list<_Ty>, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/WrapDimUtils.h(65): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1326): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const int64_t *const &]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1654): here
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_copy(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=const int64_t *, _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1654): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ucopy(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(530): here
instantiation of "void std::vector<_Ty, _Alloc>::_Range_construct_or_tidy(_Iter, _Iter, std::forward_iterator_tag) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(550): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::initializer_list<_Ty>, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/WrapDimUtils.h(65): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1328): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const int64_t *const &]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1654): here
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_copy(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=const int64_t *, _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1654): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ucopy(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(530): here
instantiation of "void std::vector<_Ty, _Alloc>::_Range_construct_or_tidy(_Iter, _Iter, std::forward_iterator_tag) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(550): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::initializer_list<_Ty>, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/WrapDimUtils.h(65): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1329): error: expression must have class type
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const int64_t *const &]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1654): here
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_copy(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=const int64_t *, _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1654): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ucopy(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(530): here
instantiation of "void std::vector<_Ty, _Alloc>::_Range_construct_or_tidy(_Iter, _Iter, std::forward_iterator_tag) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(550): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::initializer_list<_Ty>, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/WrapDimUtils.h(65): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1657): error: expected a "("
detected during:
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_copy(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=const int64_t *, _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1654): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ucopy(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(530): here
instantiation of "void std::vector<_Ty, _Alloc>::_Range_construct_or_tidy(_Iter, _Iter, std::forward_iterator_tag) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(550): here
instantiation of "std::vector<_Ty, _Alloc>::vector(std::initializer_list<_Ty>, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/WrapDimUtils.h(65): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1326): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=int64_t *const &]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1654): here
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_copy(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=int64_t *, _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1654): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ucopy(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(565): here
instantiation of "std::vector<_Ty, _Alloc>::vector(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/TensorGeometry.h(56): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1328): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=int64_t *const &]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1654): here
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_copy(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=int64_t *, _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1654): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ucopy(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(565): here
instantiation of "std::vector<_Ty, _Alloc>::vector(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/TensorGeometry.h(56): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1329): error: expression must have class type
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=int64_t *const &]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1654): here
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_copy(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=int64_t *, _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1654): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ucopy(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(565): here
instantiation of "std::vector<_Ty, _Alloc>::vector(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/TensorGeometry.h(56): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1657): error: expected a "("
detected during:
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_copy(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=int64_t *, _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1654): here
instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Ucopy(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(565): here
instantiation of "std::vector<_Ty, _Alloc>::vector(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/TensorGeometry.h(56): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(927): error: expected a "("
detected during:
instantiation of "void std::_Pocma(_Alloc &, _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(638): here
instantiation of "void std::vector<_Ty, _Alloc>::_Move_assign(std::vector<_Ty, _Alloc> &, std::_Equal_allocators) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(705): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(std::vector<_Ty, _Alloc> &&) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/linear.h(67): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(919): error: expected a "("
detected during:
instantiation of "void std::_Pocca(_Alloc &, const _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1198): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/linear.h(67): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1309): error: expected a "("
detected during:
instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=int64_t *, _Sentinel=int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1188): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=int64_t *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/linear.h(67): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1310): error: no instance of overloaded function "std::_Verify_range" matches the argument list
argument types are: (int64_t *const, int64_t *const)
detected during:
instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=int64_t *, _Sentinel=int64_t *]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1188): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=int64_t *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/linear.h(67): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1326): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=int64_t *&]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1189): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=int64_t *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/linear.h(67): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1328): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=int64_t *&]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1189): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=int64_t *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/linear.h(67): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1329): error: expression must have class type
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=int64_t *&]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1189): here
instantiation of "void std::vector<_Ty, _Alloc>::assign(_Iter, _Iter) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=int64_t *, =0]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1200): here
instantiation of "void std::vector<_Ty, _Alloc>::_Copy_assign(const std::vector<_Ty, _Alloc> &, std::false_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1216): here
instantiation of "std::vector<_Ty, _Alloc> &std::vector<_Ty, _Alloc>::operator=(const std::vector<_Ty, _Alloc> &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/linear.h(67): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xmemory(1719): error: expected a "("
detected during:
instantiation of "std::_Alloc_ptr_t<_Alloc> std::_Uninitialized_move(_InIt, _InIt, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _InIt=int64_t *, _Alloc=std::_Rebind_alloc_t<std::allocator<int64_t>, int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1664): here
instantiation of "void std::vector<_Ty, _Alloc>::_Umove_if_noexcept1(std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::pointer, std::true_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1675): here
instantiation of "void std::vector<_Ty, _Alloc>::_Umove_if_noexcept(std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::pointer) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1247): here
instantiation of "void std::vector<_Ty, _Alloc>::_Resize_reallocate(std::vector<_Ty, _Alloc>::size_type, const _Ty2 &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Ty2=std::_Value_init_tag]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1275): here
instantiation of "void std::vector<_Ty, _Alloc>::_Resize(std::vector<_Ty, _Alloc>::size_type, const _Ty2 &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Ty2=std::_Value_init_tag]"
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(1290): here
instantiation of "void std::vector<_Ty, _Alloc>::resize(std::vector<_Ty, _Alloc>::size_type) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\torch/csrc/jit/runtime/argument_spec.h(247): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1309): error: expected a "("
detected during:
instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const uint64_t *, _Sentinel=const uint64_t *]"
(5755): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1310): error: no instance of overloaded function "std::_Verify_range" matches the argument list
argument types are: (const uint64_t *const, const uint64_t *const)
detected during:
instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const uint64_t *, _Sentinel=const uint64_t *]"
(5755): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1326): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *&]"
(5756): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1328): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *&]"
(5756): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1329): error: expression must have class type
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *&]"
(5756): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1326): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *const &]"
(5757): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1328): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *const &]"
(5757): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less]"
(5777): here
instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

Error limit reached.
100 errors detected in the compilation of "C:/Users/Huzijian/Downloads/pytorch3d/pytorch3d/csrc/ball_query/ball_query.cu".
Compilation terminated.

@bottler
Copy link
Contributor

bottler commented Mar 21, 2022

This has been seen before, e.g. in #1055, where downgrading the compiler was the solution. But I wonder whether the suggestion I recently made on #1127 would be the right and easy way to solve this too.

Specifically:

  • remove #include <utils/pytorch3d_cutils.h> from ball_query/ball_query.cu, iou_box3d/iou_box3d.cu and sample_farthest_points/sample_farthest_points.cu
  • replace MAX_THREADS_PER_BLOCK with 1024 in sample_farthest_points/sample_farthest_points.cu.

Can you report back if it helps?

@bottler bottler added the installation Installation questions or issues label Mar 21, 2022
@huzijian0622
Copy link
Author

I followed your suggestion but it seemed not worked.
(4440): here
instantiation of "_OutIt std::move(_InIt, _InIt, _OutIt) [with _InIt=int64_t *, _OutIt=int64_t *]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/SmallVector.h(882): here
instantiation of "c10::SmallVectorImpl &c10::SmallVectorImpl::operator=(c10::SmallVectorImpl &&) [with T=int64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/SmallVector.h(997): here
instantiation of "c10::SmallVector<T, N>::SmallVector(c10::SmallVector<T, N> &&) [with T=int64_t, N=5U]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/TensorIterator.h(398): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1328): error: expected a "("
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=int64_t *&]"
(4440): here
instantiation of "_OutIt std::move(_InIt, _InIt, _OutIt) [with _InIt=int64_t *, _OutIt=int64_t *]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/SmallVector.h(882): here
instantiation of "c10::SmallVectorImpl &c10::SmallVectorImpl::operator=(c10::SmallVectorImpl &&) [with T=int64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/SmallVector.h(997): here
instantiation of "c10::SmallVector<T, N>::SmallVector(c10::SmallVector<T, N> &&) [with T=int64_t, N=5U]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/TensorIterator.h(398): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1329): error: expression must have class type
detected during:
instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=int64_t *&]"
(4440): here
instantiation of "_OutIt std::move(_InIt, _InIt, _OutIt) [with _InIt=int64_t *, _OutIt=int64_t *]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/SmallVector.h(882): here
instantiation of "c10::SmallVectorImpl &c10::SmallVectorImpl::operator=(c10::SmallVectorImpl &&) [with T=int64_t]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/SmallVector.h(997): here
instantiation of "c10::SmallVector<T, N>::SmallVector(c10::SmallVector<T, N> &&) [with T=int64_t, N=5U]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\ATen/TensorIterator.h(398): here

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1589): error: expected a "("
detected during:
instantiation of "std::_Iter_diff_t<_InIt> std::distance(_InIt, _InIt) [with _InIt=c10::impl::SizesAndStrides::sizes_iterator]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/SmallVector.h(463): here
instantiation of "void c10::SmallVectorImpl::append(in_iter, in_iter) [with T=int64_t, in_iter=c10::impl::SizesAndStrides::sizes_iterator, =void]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/SmallVector.h(960): here
instantiation of "c10::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with T=int64_t, N=5U, ItTy=c10::impl::SizesAndStrides::sizes_iterator, =void]"
D:/Anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/core/TensorImpl.h(1353): here

Error limit reached.
100 errors detected in the compilation of "C:/Users/Huzijian/Downloads/pytorch3d/pytorch3d/csrc/ball_query/ball_query.cu".
Compilation terminated.
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc.exe' failed with exit status 1

@bottler
Copy link
Contributor

bottler commented Mar 23, 2022

Did you remove the "-std=c++14", line (around line 60) from nvcc_args in setup.py. That has helped others. Beyond that, I have no idea beyond compiler versions.

@huzijian0622
Copy link
Author

thanks!I successfully install pytorch3d after removing the "-std=c++14"。

@bottler bottler closed this as completed Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation questions or issues
Projects
None yet
Development

No branches or pull requests

2 participants