pytorch3d icon indicating copy to clipboard operation
pytorch3d copied to clipboard

ISSUE PYTORCH3D ON WIN11

Open BhavinPrajapti opened this issue 1 year ago • 13 comments

I am installing pytorch3d on cuda 11.7 pytorch 2.0

having below error: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\nvcc.exe' failed with exit code 2

BhavinPrajapti avatar Jun 03 '23 22:06 BhavinPrajapti

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.7/include\thrust/system/cuda/config.h(79): 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.7\bin\nvcc.exe' failed with exit code 2

BhavinPrajapti avatar Jun 03 '23 22:06 BhavinPrajapti

For corecrt.h: I think you need to install more microsoft things: can you try installing windows SDKs etc in the visual studio installer?

For the second, please make sure you don't have the CUB_HOME variable set.

bottler avatar Jun 04 '23 10:06 bottler

thanks for the reply. first error is solved by windows SDKs. Earlier I defined CUDA_HOME variable in enviroment variable and assigned path of CUB.1.17.2. And I also replace CUDA CUB folder with CUB.1.17.2 folder in program files. Now, I removed CUB_HOME variable from environment. But still facing same error.

error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\nvcc.exe' failed with exit code 2

BhavinPrajapti avatar Jun 04 '23 11:06 BhavinPrajapti

Don't replace the CUDA CUB folder. With the new CUDA, there's no reason to think about CUB when installing pytorch3d, everything just works. Maybe easiest for you to remove CUDA and reinstall it?

bottler avatar Jun 04 '23 11:06 bottler

okay I will reinstall it. here I mentioned all steps please check and tell if anything is missing from myside.

  1. Download and install CUDA 11.7 For WIN11.
  2. Create and active conda env.
  3. instralling pytorch 2.0 using this command. conda install pytorch==2.0.0 torchvision==0.15.0 torchaudio==2.0.0 pytorch-cuda=11.7 -c pytorch -c nvidia
  4. conda install -c fvcore -c iopath -c conda-forge fvcore iopath
  5. download and extract pytorch3d 0.7.2 in user folder.
  6. set DISTUTILS_USE_SDK=1
  7. set PYTORCH3D_NO_NINJA=1
  8. In setup.py file in line 52. I made below changes. from this - extra_compile_args = {"cxx": ["-std=c++14"]} to this - extra_compile_args = {"cxx": [""]}
  9. go to pytorch3d directory and run python install setup.py.

can you check and confirm these above steps are okay or should I change something inbetween.

BhavinPrajapti avatar Jun 04 '23 11:06 BhavinPrajapti

I /think/ that should work.

bottler avatar Jun 04 '23 11:06 bottler

in setup.py in line 77. I also find this nvcc_args.append("-std=c++14"). should I need to remove "-std=c++1" from this line too?

BhavinPrajapti avatar Jun 04 '23 11:06 BhavinPrajapti

I think it would be a good idea, but I am not sure.

bottler avatar Jun 04 '23 12:06 bottler

as per your reply I reinstall cuda11.7 with all steps I followed which I listed above. my compiler does not stop command prompt look like below:

"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\nvcc" -c "D:\Project WS\C\pytorch3d-0.7.2\pytorch3d\csrc\gather_scatter\gather_scatter.cu" -o "build\temp.win-amd64-cpython-310\Release\Project WS\C\pytorch3d-0.7.2\pytorch3d\csrc\gather_scatter\gather_scatter.obj" "-ID:\Project WS\C\pytorch3d-0.7.2\pytorch3d\csrc" "-ID:\Project WS\C\anaconda3\envs\6Denv\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\torch\csrc\api\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\TH" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.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 -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_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 --use-local-env gather_scatter.cu D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/macros/Macros.h(138): warning C4067: unexpected tokens following preprocessor directive - expected a newline D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero detected during: instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, >::operator==(const c10::detail::integer_iterator<I, one_sided, > &) const [with I=size_t, one_sided=false, =0]" (61): here instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, >::operator!=(const c10::detail::integer_iterator<I, one_sided, > &) const [with I=size_t, one_sided=false, =0]" D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/TensorImpl.h(77): here

D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero detected during: instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, >::operator==(const c10::detail::integer_iterator<I, one_sided, > &) const [with I=size_t, one_sided=true, =0]" (61): here instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, >::operator!=(const c10::detail::integer_iterator<I, one_sided, > &) const [with I=size_t, one_sided=true, =0]" D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/qualified_name.h(73): here

D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/macros/Macros.h(138): warning C4067: unexpected tokens following preprocessor directive - expected a newline D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::SymInt ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::SymInt ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::SymInt ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::SymInt ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/TensorImpl.h(1602): note: see reference to class template instantiation 'c10::optionalc10::SymInt' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::SymInt ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/jit_type_base.h(452): note: see reference to class template instantiation 'c10::optional<std::basic_string<char,std::char_traits,std::allocator>>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::QualifiedName ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::QualifiedName ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::QualifiedName ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::QualifiedName ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/jit_type_base.h(700): note: see reference to class template instantiation 'c10::optionalc10::QualifiedName' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::QualifiedName ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=at::TensorBase ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=at::TensorBase ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=at::TensorBase ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=at::TensorBase ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/TensorBase.h(933): note: see reference to class template instantiation 'c10::optionalat::TensorBase' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=at::TensorBase ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=at::Tensor ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=at::Tensor ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=at::Tensor ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=at::Tensor ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/TensorBody.h(518): note: see reference to class template instantiation 'c10::optionalat::Tensor' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=at::Tensor ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=at::Generator ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=at::Generator ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=at::Generator ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=at::Generator ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/TensorBody.h(597): note: see reference to class template instantiation 'c10::optionalat::Generator' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=at::Generator ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::Scalar ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::Scalar ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::Scalar ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::Scalar ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/TensorBody.h(628): note: see reference to class template instantiation 'c10::optionalc10::Scalar' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::Scalar ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/ivalue.h(1437): note: see reference to class template instantiation 'c10::optional<std::shared_ptrtorch::jit::CompilationUnit>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/ivalue.h(1438): note: see reference to class template instantiation 'c10::optional<std::weak_ptrtorch::jit::CompilationUnit>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/jit_type.h(484): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<bool,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<bool,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<bool,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<bool,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/jit_type.h(443): note: see reference to class template instantiation 'c10::optional<std::vector<bool,std::allocator>>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<bool,std::allocator> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/jit_type.h(569): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/jit_type.h(845): note: see reference to class template instantiation 'c10::VaryingShapec10::Stride' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/jit_type.h(569): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>>>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/jit_type.h(615): note: see reference to class template instantiation 'c10::VaryingShape<__int64>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<__int64,std::allocator<__int64>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<__int64,std::allocator<__int64>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<__int64,std::allocator<__int64>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<__int64,std::allocator<__int64>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/jit_type.h(728): note: see reference to class template instantiation 'c10::optional<std::vector<__int64,std::allocator<__int64>>>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<__int64,std::allocator<_int64>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(427): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/DeviceGuard.h(178): note: see reference to class template instantiation 'c10::impl::InlineOptionalDeviceGuardc10::impl::VirtualGuardImpl' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(197): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/StreamGuard.h(139): note: see reference to class template instantiation 'c10::impl::InlineOptionalStreamGuardc10::impl::VirtualGuardImpl' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(232): note: see reference to class template instantiation 'c10::optional<T>' being compiled with [ T=c10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/StreamGuard.h(162): note: see reference to class template instantiation 'c10::impl::InlineMultiStreamGuardc10::impl::VirtualGuardImpl' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::impl::VirtualGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(884): note: see reference to class template instantiation 'c10::optional<std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type<TTarget>>,std::allocator<c10::weak_intrusive_ptr<TTarget,c10::detail::intrusive_target_default_null_type<TTarget>>>>>' being compiled with [ TTarget=c10::StorageImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::SmallVector<int64,5> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::SmallVector<int64,5> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::SmallVector<int64,5> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::SmallVector<int64,5> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\ATen/TensorIterator.h(918): note: see reference to class template instantiation 'c10::optional<c10::SmallVector<int64,5>>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::SmallVector<int64,5> ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineDeviceGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::impl::InlineDeviceGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::impl::InlineDeviceGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::impl::InlineDeviceGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(427): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineDeviceGuardc10::cuda::impl::CUDAGuardImpl>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(140): note: see reference to class template instantiation 'c10::impl::InlineOptionalDeviceGuardc10::cuda::impl::CUDAGuardImpl' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineDeviceGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineStreamGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::impl::InlineStreamGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::impl::InlineStreamGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::impl::InlineStreamGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(197): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineStreamGuardc10::cuda::impl::CUDAGuardImpl>' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(273): note: see reference to class template instantiation 'c10::impl::InlineOptionalStreamGuardc10::cuda::impl::CUDAGuardImpl' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineStreamGuardc10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(232): note: see reference to class template instantiation 'c10::optional<T>' being compiled with [ T=c10::cuda::impl::CUDAGuardImpl ] D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(292): note: see reference to class template instantiation 'c10::impl::InlineMultiStreamGuardc10::cuda::impl::CUDAGuardImpl' being compiled D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::cuda::impl::CUDAGuardImpl ] "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK "-ID:\Project WS\C\pytorch3d-0.7.2\pytorch3d\csrc" "-ID:\Project WS\C\anaconda3\envs\6Denv\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\torch\csrc\api\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\TH" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" /EHsc "/TpD:\Project WS\C\pytorch3d-0.7.2\pytorch3d\csrc\gather_scatter\gather_scatter_cpu.cpp" "/Fobuild\temp.win-amd64-cpython-310\Release\Project WS\C\pytorch3d-0.7.2\pytorch3d\csrc\gather_scatter\gather_scatter_cpu.obj" /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "" -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 cl : Command line warning D9024 : unrecognized source file type '', object file assumed cl : Command line warning D9027 : source file '' ignored gather_scatter_cpu.cpp D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/macros/Macros.h(138): warning C4067: unexpected tokens following preprocessor directive - expected a newline D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::SymInt ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::SymInt ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::SymInt ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::SymInt ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/core/TensorImpl.h(1605): note: see reference to class template instantiation 'c10::optionalc10::SymInt' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::SymInt ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::string ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::string ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::string ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::string ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/jit_type_base.h(452): note: see reference to class template instantiation 'c10::optionalstd::string' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::string ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::QualifiedName ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::QualifiedName ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::QualifiedName ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::QualifiedName ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/jit_type_base.h(700): note: see reference to class template instantiation 'c10::optionalc10::QualifiedName' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::QualifiedName ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=at::TensorBase ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=at::TensorBase ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=at::TensorBase ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=at::TensorBase ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/TensorBase.h(933): note: see reference to class template instantiation 'c10::optionalat::TensorBase' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=at::TensorBase ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=at::Tensor ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=at::Tensor ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=at::Tensor ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=at::Tensor ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/TensorBody.h(518): note: see reference to class template instantiation 'c10::optionalat::Tensor' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=at::Tensor ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=at::Generator ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=at::Generator ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=at::Generator ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=at::Generator ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/TensorBody.h(597): note: see reference to class template instantiation 'c10::optionalat::Generator' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=at::Generator ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::Scalar ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::Scalar ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::Scalar ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::Scalar ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/TensorBody.h(628): note: see reference to class template instantiation 'c10::optionalc10::Scalar' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::Scalar ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/ivalue.h(1437): note: see reference to class template instantiation 'c10::optional<std::shared_ptrtorch::jit::CompilationUnit>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/ivalue.h(1438): note: see reference to class template instantiation 'c10::optional<std::weak_ptrtorch::jit::CompilationUnit>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/jit_type.h(484): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<bool,std::allocator> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<bool,std::allocator> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<bool,std::allocator> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<bool,std::allocator> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/jit_type.h(443): note: see reference to class template instantiation 'c10::optional<std::vector<bool,std::allocator>>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<bool,std::allocator> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/jit_type.h(569): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/jit_type.h(845): note: see reference to class template instantiation 'c10::VaryingShapec10::Stride' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/jit_type.h(569): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/jit_type.h(615): note: see reference to class template instantiation 'c10::VaryingShape<int64_t>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<int64_t,std::allocator<int64_t>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<int64_t,std::allocator<int64_t>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<int64_t,std::allocator<int64_t>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<int64_t,std::allocator<int64_t>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/jit_type.h(728): note: see reference to class template instantiation 'c10::optional<std::vector<int64_t,std::allocator<int64_t>>>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<int64_t,std::allocator<int64_t>> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(427): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/core/DeviceGuard.h(178): note: see reference to class template instantiation 'c10::impl::InlineOptionalDeviceGuardc10::impl::VirtualGuardImpl' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(197): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/core/StreamGuard.h(139): note: see reference to class template instantiation 'c10::impl::InlineOptionalStreamGuardc10::impl::VirtualGuardImpl' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(232): note: see reference to class template instantiation 'c10::optional<T>' being compiled with [ T=c10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/core/StreamGuard.h(162): note: see reference to class template instantiation 'c10::impl::InlineMultiStreamGuardc10::impl::VirtualGuardImpl' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::impl::VirtualGuardImpl ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(884): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage>>' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocatorc10::ivalue::Future::WeakStorage> ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted with [ T=c10::DimVector ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(411): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled with [ T=c10::DimVector ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled with [ T=c10::DimVector ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(549): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled with [ T=c10::DimVector ] D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\ATen/TensorIterator.h(918): note: see reference to class template instantiation 'c10::optionalc10::DimVector' being compiled D:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted with [ T=c10::DimVector ] "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\nvcc" -c "D:\Project WS\C\pytorch3d-0.7.2\pytorch3d\csrc\interp_face_attrs\interp_face_attrs.cu" -o "build\temp.win-amd64-cpython-310\Release\Project WS\C\pytorch3d-0.7.2\pytorch3d\csrc\interp_face_attrs\interp_face_attrs.obj" "-ID:\Project WS\C\pytorch3d-0.7.2\pytorch3d\csrc" "-ID:\Project WS\C\anaconda3\envs\6Denv\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\torch\csrc\api\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\TH" "-ID:\Project WS\C\anaconda3\envs\6Denv\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\include" "-ID:\Project WS\C\anaconda3\envs\6Denv\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.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 -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_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 --use-local-env interp_face_attrs.cu D:/Project WS/C/anaconda3/envs/6Denv/lib/site-packages/torch/include\c10/macros/Macros.h(138): warning C4067: unexpected tokens following preprocessor directive - expected a newline

Compilation terminated. interrupted

BhavinPrajapti avatar Jun 04 '23 14:06 BhavinPrajapti

I think the compilation is working fine and just taking a very long time and then you stopped it. Taking a long time is natural - the compilation is slow anyway, plus you are setting PYTORCH3D_NO_NINJA=1, which may be necessary, but it forces the compilation to be single threaded. I think it will succeed eventually.

bottler avatar Jun 05 '23 09:06 bottler

Thanks @bottler for the Help. I successfully installed pytorch3d using this command "pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"

BhavinPrajapti avatar Jun 05 '23 16:06 BhavinPrajapti

I think the compilation is working fine and just taking a very long time and then you stopped it. Taking a long time is natural - the compilation is slow anyway, plus you are setting PYTORCH3D_NO_NINJA=1, which may be necessary, but it forces the compilation to be single threaded. I think it will succeed eventually.

okay I will reinstall it. here I mentioned all steps please check and tell if anything is missing from myside.

  1. Download and install CUDA 11.7 For WIN11.
  2. Create and active conda env.
  3. instralling pytorch 2.0 using this command. conda install pytorch==2.0.0 torchvision==0.15.0 torchaudio==2.0.0 pytorch-cuda=11.7 -c pytorch -c nvidia
  4. conda install -c fvcore -c iopath -c conda-forge fvcore iopath
  5. download and extract pytorch3d 0.7.2 in user folder.
  6. set DISTUTILS_USE_SDK=1
  7. set PYTORCH3D_NO_NINJA=1
  8. In setup.py file in line 52. I made below changes. from this - extra_compile_args = {"cxx": ["-std=c++14"]} to this - extra_compile_args = {"cxx": [""]}
  9. go to pytorch3d directory and run python install setup.py.

can you check and confirm these above steps are okay or should I change something inbetween.

(xuniren) D:\Anaconda\envs\xuniren\Lib\site-packages\pytorch3d>python setup.py install
running install
D:\Anaconda\envs\xuniren\lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https:blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
D:\Anaconda\envs\xuniren\lib\site-packages\setuptools\_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https:github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
running bdist_egg
running egg_info
writing pytorch3d.egg-info\PKG-INFO
writing dependency_links to pytorch3d.egg-info\dependency_links.txt
writing entry points to pytorch3d.egg-info\entry_points.txt
writing requirements to pytorch3d.egg-info\requires.txt
writing top-level names to pytorch3d.egg-info\top_level.txt
reading manifest file 'pytorch3d.egg-info\SOURCES.txt'
adding license file 'LICENSE'
adding license file 'LICENSE-3RD-PARTY'
writing manifest file 'pytorch3d.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
building 'pytorch3d._C' extension
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\nvcc" -c D:\Anaconda\envs\xuniren\Lib\site-packages\pytorch3d\pytorch3d\csrc\ball_query\ball_query.cu -o build\temp.win-amd64-cpython-310\Release\Anaconda\envs\xuniren\Lib\site-packages\pytorch3d\pytorch3d\csrc\ball_query\ball_query.obj -ID:\Anaconda\envs\xuniren\Lib\site-packages\pytorch3d\pytorch3d\csrc -ID:\Anaconda\envs\xuniren\include -ID:\Anaconda\envs\xuniren\lib\site-packages\torch\include -ID:\Anaconda\envs\xuniren\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda\envs\xuniren\lib\site-packages\torch\include\TH -ID:\Anaconda\envs\xuniren\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include" -ID:\Anaconda\envs\xuniren\include -ID:\Anaconda\envs\xuniren\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" "-ID:\Windows Kits\10\include\10.0.19041.0\ucrt" "-ID:\Windows Kits\10\include\10.0.19041.0\shared" "-ID:\Windows Kits\10\include\10.0.19041.0\um" "-ID:\Windows Kits\10\include\10.0.19041.0\winrt" "-ID:\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 -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
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7\\bin\\nvcc.exe' failed with exit code 1    

I followed the above steps but still can't compile, and I don't know what went wrong. Can you help me?

thele001 avatar Sep 12 '23 03:09 thele001

@thele001 Please open a new issue, I think it's a separate problem, because nvcc is totally failing, the first time it is called. If you have any error log files please also mention them. Might be worth reporting the output of 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7\\bin\\nvcc.exe' --version .

bottler avatar Sep 12 '23 13:09 bottler