facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.75k stars 1.31k forks source link

RuntimeError: Not compiled with GPU support. #500

Closed hanssssssss closed 3 years ago

hanssssssss commented 3 years ago

I followed the instruction to install the pytorch3d. when i use python3 -m unittest discover -p *.py to verify the pytorch3d, I encountered this fail.

information below:

====================================================================== ERROR: test_texture_sampling_cow (test_sample_points_from_meshes.TestSamplePoints)

Traceback (most recent call last): File "E:\pytorch3d\tests\test_sample_points_from_meshes.py", line 401, in test_texture_sampling_cow mesh, num_samples=50000, return_normals=True, return_textures=True File "D:\Anaconda3\envs\py37\lib\site-packages\pytorch3d-0.3.0-py3.7-win-amd64.egg\pytorch3d\ops\sample_points_from_meshes.py", line 79, in sample_points_frommeshes areas, = mesh_face_areas_normals(verts, faces) # Face areas can be zero. File "D:\Anaconda3\envs\py37\lib\site-packages\pytorch3d-0.3.0-py3.7-win-amd64.egg\pytorch3d\ops\mesh_face_areas_normals.py", line 44, in forward areas, normals = _C.face_areas_normals_forward(verts, faces) RuntimeError: Not compiled with GPU support.

====================================================================== ERROR: test_compute_faces_areas_cpu_cuda (test_meshes.TestMeshes)

Traceback (most recent call last): File "E:\pytorch3d\tests\test_meshes.py", line 1141, in test_compute_faces_areas_cpu_cuda face_areas_cuda = mesh_cuda.faces_areas_packed() File "D:\Anaconda3\envs\py37\lib\site-packages\pytorch3d-0.3.0-py3.7-win-amd64.egg\pytorch3d\structures\meshes.py", line 772, in faces_areas_packed self._compute_face_areas_normals() File "D:\Anaconda3\envs\py37\lib\site-packages\pytorch3d-0.3.0-py3.7-win-amd64.egg\pytorch3d\structures\meshes.py", line 801, in _compute_face_areas_normals face_areas, face_normals = mesh_face_areas_normals(verts_packed, faces_packed) File "D:\Anaconda3\envs\py37\lib\site-packages\pytorch3d-0.3.0-py3.7-win-amd64.egg\pytorch3d\ops\mesh_face_areas_normals.py", line 44, in forward areas, normals = _C.face_areas_normals_forward(verts, faces) RuntimeError: Not compiled with GPU support.

====================================================================== ERROR: test_to (test_meshes.TestMeshes)

Traceback (most recent call last): File "E:\pytorch3d\tests\test_meshes.py", line 711, in test_to new_mesh = mesh.to(device) File "D:\Anaconda3\envs\py37\lib\site-packages\pytorch3d-0.3.0-py3.7-win-amd64.egg\pytorch3d\structures\meshes.py", line 1193, in to other._verts_list = [v.to(device) for v in other._verts_list] File "D:\Anaconda3\envs\py37\lib\site-packages\pytorch3d-0.3.0-py3.7-win-amd64.egg\pytorch3d\structures\meshes.py", line 1193, in other._verts_list = [v.to(device) for v in other._verts_list] RuntimeError: CUDA error: invalid device ordinal

====================================================================== FAIL: test_copyright (test_build.TestBuild)

Traceback (most recent call last): File "E:\pytorch3d\tests\pulsar..\test_build.py", line 55, in test_copyright firstline.endswith(expect), f"{i} missing copyright header." AssertionError: False is not true : E:\pytorch3d\pytorch3d\csrc\pulsar\include\fastermath.h missing copyright header.


Ran 709 tests in 258.331s

FAILED (failures=1, errors=161, skipped=11)

my conda list

(py37) E:\pytorch3d\tests>conda list

Name Version Build Channel _pytorch_select 0.1 cpu_0 defaults attrs 20.3.0 pypi_0 pypi blas 1.0 mkl defaults ca-certificates 2020.12.8 haa95532_0 defaults certifi 2020.12.5 py37haa95532_0 defaults cffi 1.14.4 py37hcd4344a_0 defaults chumpy 0.70 pypi_0 pypi cudatoolkit 10.1.243 h74a9793_0 cycler 0.10.0 pypi_0 pypi decorator 4.4.2 pypi_0 pypi face-alignment 1.3.3 pypi_0 pypi flake8 3.8.4 pypi_0 pypi flake8-bugbear 20.11.1 pypi_0 pypi flake8-comprehensions 3.3.1 pypi_0 pypi freetype 2.10.4 hd328e21_0 defaults future 0.18.2 pypi_0 pypi fvcore 0.1.2.post20201218 pypi_0 pypi imageio 2.9.0 pypi_0 pypi importlib-metadata 3.3.0 pypi_0 pypi intel-openmp 2019.4 245 defaults iopath 0.1.2 pypi_0 pypi jpeg 9b hb83a4c4_2 defaults kiwisolver 1.3.1 pypi_0 pypi libmklml 2019.0.5 haa95532_0 defaults libpng 1.6.37 h2a8f88b_0 defaults libtiff 4.1.0 h56a325e_1 defaults llvmlite 0.35.0 pypi_0 pypi lz4-c 1.9.2 hf4a77e7_3 defaults matplotlib 3.3.3 pypi_0 pypi mccabe 0.6.1 pypi_0 pypi mkl 2019.4 245 defaults mkl-service 2.3.0 py37h196d8e1_0 defaults mkl_fft 1.2.0 py37h45dec08_0 defaults mkl_random 1.0.4 py37h343c172_0 defaults networkx 2.5 pypi_0 pypi ninja 1.10.2 py37h6d14046_0 defaults numba 0.52.0 pypi_0 pypi numpy 1.19.4 pypi_0 pypi numpy-base 1.19.2 py37ha3acd2a_0 defaults olefile 0.46 py37_0 defaults opencv-python 4.4.0.46 pypi_0 pypi openssl 1.1.1i h2bbff1b_0 defaults pillow 8.0.1 py37h4fa10fc_0 defaults pip 20.3.3 py37haa95532_0 defaults plotly 4.14.1 pypi_0 pypi portalocker 2.0.0 pypi_0 pypi pycodestyle 2.6.0 pypi_0 pypi pycparser 2.20 py_2 defaults pyflakes 2.2.0 pypi_0 pypi pyparsing 2.4.7 pypi_0 pypi python 3.7.9 h60c2a47_0 defaults python-dateutil 2.8.1 pypi_0 pypi python_abi 3.7 1_cp37m conda-forge pytorch 1.6.0 py3.7_cuda101_cudnn7_0 pytorch3d 0.3.0 pypi_0 pypi pywavelets 1.1.1 pypi_0 pypi pywin32 300 pypi_0 pypi pyyaml 5.3.1 pypi_0 pypi retrying 1.3.3 pypi_0 pypi scikit-image 0.18.1 pypi_0 pypi scipy 1.5.4 pypi_0 pypi setuptools 51.1.0 pypi_0 pypi six 1.15.0 py37haa95532_0 defaults sqlite 3.33.0 h2a8f88b_0 defaults tabulate 0.8.7 pypi_0 pypi termcolor 1.1.0 pypi_0 pypi tifffile 2020.12.8 pypi_0 pypi tk 8.6.10 he774522_0 defaults torchvision 0.7.0 py37_cu101 tqdm 4.55.0 pypi_0 pypi typing-extensions 3.7.4.3 pypi_0 pypi vc 14.2 h21ff451_1 defaults vs2015_runtime 14.27.29016 h5e58377_2 defaults wheel 0.36.2 pyhd3eb1b0_0 defaults wincertstore 0.2 py37_0 defaults xz 5.2.5 h62dcd97_0 defaults yacs 0.1.8 pypi_0 pypi zipp 3.4.0 pypi_0 pypi zlib 1.2.11 h62dcd97_4 defaults zstd 1.4.5 h04227a9_0 defaults

bottler commented 3 years ago

How exactly did you install PyTorch3D? Did you build from source?

Your conda list shows pytorch3d 0.3.0 pypi_0 pypi, which I find confusing, because you are using Windows and we do not have packages for PyTorch3D for Windows on PyPI.

hanssssssss commented 3 years ago

How exactly did you install PyTorch3D? Did you build from source? Your conda list shows pytorch3d 0.3.0 pypi_0 pypi, which I find confusing, because you are using Windows and we do not have packages for PyTorch3D for Windows on PyPI.

Actually I followed all the steps in the document. I cloned the pytorch3d document from github , and unzip it. Then I the opened x64 Native Tools Command Prompt for VS 2019 and used the instruction cd pytorch3d python3 setup.py install mentioned in the INSTALL.md to install.

And when I used pip uninstall pytorch3d , it showed its file name called pytorch3d-0.3.0-py3.7-win-amd64.egg

bottler commented 3 years ago

Were there errors from the install process? Does the nvcc command work from the prompt?

hanssssssss commented 3 years ago

Were there errors from the install process? Does the nvcc command work from the prompt?

The 'nvcc' works. I just uninstalled the pytorch3d used pip uninstall pytorch3d. I move the pytorch3d document to the other position(from E:\ptrorch3d to E:\Anconda3\env\py37).and installed it again.But I encounteer new problem.

注意: 包含文件: D:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH/THGenerateFloatTypes.h 注意: 包含文件: D:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH/THGenerateFloatType.h 注意: 包含文件: D:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH/generic/THTensorLapack.h 注意: 包含文件: D:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH/THGenerateDoubleType.h 注意: 包含文件: D:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH/generic/THTensorLapack.h 注意: 包含文件: D:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH/THTensorDimApply.h D:\Anaconda3\envs\py37\pytorch3d\pytorch3d\csrc\pulsar\include./commands.h(26): warning C4068: 未知的 pragma 注意: 包含文件: D:\Anaconda3\envs\py37\pytorch3d\pytorch3d\csrc\pulsar\include../host/commands.h 注意: 包含文件: D:\Anaconda3\envs\py37\pytorch3d\pytorch3d\csrc\pulsar\include./renderer.h 注意: 包含文件: D:\Anaconda3\envs\py37\pytorch3d\pytorch3d\csrc\pulsar\include./camera.h ninja: build stopped: subcommand failed. Traceback (most recent call last): File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1515, in _run_ninja_build env=env) File "D:\Anaconda3\envs\py37\lib\subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "setup.py", line 118, in cmdclass={"build_ext": BuildExtension}, File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "D:\Anaconda3\envs\py37\lib\distutils\core.py", line 148, in setup dist.run_commands() File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install.py", line 67, in run self.do_egg_install() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install self.run_command('bdist_egg') File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\bdist_egg.py", line 167, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\bdist_egg.py", line 153, in call_command self.run_command(cmdname) File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\Anaconda3\envs\py37\lib\distutils\command\install_lib.py", line 107, in build self.run_command('build_ext') File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\build_ext.py", line 79, in run _build_ext.run(self) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 649, in build_extensions build_ext.build_extensions(self) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension _build_ext.build_extension(self, ext) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 534, in build_extension depends=ext.depends) File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 631, in win_wrap_ninja_compile with_cuda=with_cuda) File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1529, in _run_ninja_build raise RuntimeError(message) RuntimeError: Error compiling objects for extension

bottler commented 3 years ago

Ninja has stopped but there is no build error (unless it is before this point). We have seen this in other cases, where the cause is running out of memory for the build. Can you try restricting the parallelism? Try running set MAX_JOBS=1 before running setup.py.

hanssssssss commented 3 years ago

set MAX_JOBS=1

I tried it but the problem still there.

(py37) E:\pytorch3d>set MAX_JOBS=1

(py37) E:\pytorch3d>python setup.py install running install running bdist_egg running egg_info writing pytorch3d.egg-info\PKG-INFO writing dependency_links to pytorch3d.egg-info\dependency_links.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' 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 D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py:270: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'pytorch3d._C' extension Emitting ninja build file E:\pytorch3d\build\temp.win-amd64-3.7\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [2/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [3/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\gather_scatter\gather_scatter.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\gather_scatter\gather_scatter.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/gather_scatter/gather_scatter.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\gather_scatter\gather_scatter.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\gather_scatter\gather_scatter.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [4/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\packed_to_padded_tensor\packed_to_padded_tensor.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\packed_to_padded_tensor\packed_to_padded_tensor.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/packed_to_padded_tensor/packed_to_padded_tensor.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\packed_to_padded_tensor\packed_to_padded_tensor.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\packed_to_padded_tensor\packed_to_padded_tensor.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [5/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\point_mesh\point_mesh_cuda.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\point_mesh\point_mesh_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/point_mesh/point_mesh_cuda.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\point_mesh\point_mesh_cuda.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\point_mesh\point_mesh_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [6/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\knn\knn.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\knn\knn.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/knn/knn.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\knn\knn.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\knn\knn.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [7/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [8/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [9/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\face_areas_normals\face_areas_normals.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\face_areas_normals\face_areas_normals.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/face_areas_normals/face_areas_normals.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\face_areas_normals\face_areas_normals.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\face_areas_normals\face_areas_normals.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [10/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward.gpu.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward.gpu.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.backward.gpu.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward.gpu.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward.gpu.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [11/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\interp_face_attrs\interp_face_attrs.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\interp_face_attrs\interp_face_attrs.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/interp_face_attrs/interp_face_attrs.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\interp_face_attrs\interp_face_attrs.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\interp_face_attrs\interp_face_attrs.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [12/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_signature.gpu.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_signature.gpu.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.calc_signature.gpu.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_signature.gpu.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_signature.gpu.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [13/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.render.gpu.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.render.gpu.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.render.gpu.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.render.gpu.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.render.gpu.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' [14/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward_dbg.gpu.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward_dbg.gpu.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.backward_dbg.gpu.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward_dbg.gpu.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward_dbg.gpu.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' ninja: build stopped: subcommand failed. Traceback (most recent call last): File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1515, in _run_ninja_build env=env) File "D:\Anaconda3\envs\py37\lib\subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "setup.py", line 118, in cmdclass={"build_ext": BuildExtension}, File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "D:\Anaconda3\envs\py37\lib\distutils\core.py", line 148, in setup dist.run_commands() File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install.py", line 67, in run self.do_egg_install() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install self.run_command('bdist_egg') File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\bdist_egg.py", line 167, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\bdist_egg.py", line 153, in call_command self.run_command(cmdname) File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\Anaconda3\envs\py37\lib\distutils\command\install_lib.py", line 107, in build self.run_command('build_ext') File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\build_ext.py", line 79, in run _build_ext.run(self) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 649, in build_extensions build_ext.build_extensions(self) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension _build_ext.build_extension(self, ext) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 534, in build_extension depends=ext.depends) File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 631, in win_wrap_ninja_compile with_cuda=with_cuda) File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1529, in _run_ninja_build raise RuntimeError(message) RuntimeError: Error compiling objects for extension

bottler commented 3 years ago

We now see a significant error which we didn't see before, and in general I have never experienced, namely nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' ninja: build stopped: subcommand failed.

There are some suggestions on this question for dealing with this. Can you look in detail at your PATH variable in system settings maybe first?

hanssssssss commented 3 years ago

We now see a significant error which we didn't see before, and in general I have never experienced, namely nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' ninja: build stopped: subcommand failed.

There are some suggestions on this question for dealing with this. Can you look in detail at your PATH variable in system settings maybe first?

okay,thanks a lot.

hanssssssss commented 3 years ago

Microsoft Visual Studio

We now see a significant error which we didn't see before, and in general I have never experienced, namely nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' ninja: build stopped: subcommand failed.

There are some suggestions on this question for dealing with this. Can you look in detail at your PATH variable in system settings maybe first?

I have checked the Path in my computer but I couldnt find something worng.

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp;D:\;D:\app\14795\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Program Files (x86)\Razer\ChromaBroadcast\bin;C:\Program Files\Razer\ChromaBroadcast\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files\dotnet\;C:\Program Files\Java\jdk-13.0.1\bin;C:\Program Files\Java\jdk-13.0.1\jre\bin;D:\Anaconda3\Scripts;E:\Tesseract-OCR;D:\Anaconda3\python.exe;D:\Anaconda3\Library\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.4.0;

bottler commented 3 years ago

It must have some quotes, but you're printing it here without them. Maybe check that question again. Quotes might be the problem.

hanssssssss commented 3 years ago

It must have some quotes, but you're printing it here without them. Maybe check that question again. Quotes might be the problem.

I have checked my environment PATH and delet quotes in the user variables. I installed again but encounteered below problems.

D:/Anaconda3/envs/py37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(126): warning: modifier is ignored on an enum specifier

4 errors detected in the compilation of "C:/Users/14795/AppData/Local/Temp/tmpxft_000007b8_00000000-10_sigmoid_alpha_blend.cpp1.ii". nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored. sigmoid_alpha_blend.cu [24/24] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\knn\knn.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\knn\knn.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 D:/Anaconda3/envs/py37/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

D:/Anaconda3/envs/py37/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored. knn.cu ninja: build stopped: subcommand failed. Traceback (most recent call last): File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1515, in _run_ninja_build env=env) File "D:\Anaconda3\envs\py37\lib\subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "setup.py", line 118, in cmdclass={"build_ext": BuildExtension}, File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "D:\Anaconda3\envs\py37\lib\distutils\core.py", line 148, in setup dist.run_commands() File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install.py", line 67, in run self.do_egg_install() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install self.run_command('bdist_egg') File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\bdist_egg.py", line 167, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\bdist_egg.py", line 153, in call_command self.run_command(cmdname) File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\Anaconda3\envs\py37\lib\distutils\command\install_lib.py", line 107, in build self.run_command('build_ext') File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\build_ext.py", line 79, in run _build_ext.run(self) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 649, in build_extensions build_ext.build_extensions(self) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension _build_ext.build_extension(self, ext) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 534, in build_extension depends=ext.depends) File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 631, in win_wrap_ninja_compile with_cuda=with_cuda) File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1529, in _run_ninja_build raise RuntimeError(message) RuntimeError: Error compiling objects for extension

bottler commented 3 years ago

I suggest you do set MAX_JOBS=1 every time because it makes the output easier to read. I am afraid that I think the latest error is above the part of the output you've pasted. 4 errors detected in the compilation of means the errors were higher up.

hanssssssss commented 3 years ago

Okay. And I paste the errors here. (py37) E:\pytorch3d>set MAX_JOBS=1

(py37) E:\pytorch3d>python setup.py install running install running bdist_egg running egg_info writing pytorch3d.egg-info\PKG-INFO writing dependency_links to pytorch3d.egg-info\dependency_links.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' 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 D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py:270: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'pytorch3d._C' extension Emitting ninja build file E:\pytorch3d\build\temp.win-amd64-3.7\Release\build.ninja... Compiling objects... Using envvar MAX_JOBS (1) as the number of workers... [1/1] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 FAILED: E:/pytorch3d/build/temp.win-amd64-3.7/Release/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IE:\pytorch3d\pytorch3d\csrc -ID:\Anaconda3\envs\py37\Lib\cub\cub-1.10.0 -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\TH -ID:\Anaconda3\envs\py37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\Anaconda3\envs\py37\include -ID:\Anaconda3\envs\py37\include "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-ID:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-ID:\Windows Kits\10\include\10.0.18362.0\ucrt" "-ID:\Windows Kits\10\include\10.0.18362.0\shared" "-ID:\Windows Kits\10\include\10.0.18362.0\um" "-ID:\Windows Kits\10\include\10.0.18362.0\winrt" "-ID:\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c E:\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.cu -o E:\pytorch3d\build\temp.win-amd64-3.7\Release\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -std=c++14 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 D:/Anaconda3/envs/py37/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

D:/Anaconda3/envs/py37/lib/site-packages/torch/include\ATen/record_function.h(18): warning: modifier is ignored on an enum specifier

D:/Anaconda3/envs/py37/lib/site-packages/torch/include\torch/csrc/jit/api/module.h(484): error: a member with an in-class initializer must be const

D:/Anaconda3/envs/py37/lib/site-packages/torch/include\torch/csrc/jit/api/module.h(497): error: a member with an in-class initializer must be const

D:/Anaconda3/envs/py37/lib/site-packages/torch/include\torch/csrc/jit/api/module.h(511): error: a member with an in-class initializer must be const

D:/Anaconda3/envs/py37/lib/site-packages/torch/include\torch/csrc/jit/api/module.h(524): error: a member with an in-class initializer must be const

D:/Anaconda3/envs/py37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(97): warning: modifier is ignored on an enum specifier

D:/Anaconda3/envs/py37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(126): warning: modifier is ignored on an enum specifier

4 errors detected in the compilation of "C:/Users/14795/AppData/Local/Temp/tmpxft_0000099c_00000000-10_sigmoid_alpha_blend.cpp1.ii". nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored. sigmoid_alpha_blend.cu ninja: build stopped: subcommand failed. Traceback (most recent call last): File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1515, in _run_ninja_build env=env) File "D:\Anaconda3\envs\py37\lib\subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '1']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "setup.py", line 118, in cmdclass={"build_ext": BuildExtension}, File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "D:\Anaconda3\envs\py37\lib\distutils\core.py", line 148, in setup dist.run_commands() File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install.py", line 67, in run self.do_egg_install() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install self.run_command('bdist_egg') File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\bdist_egg.py", line 167, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\bdist_egg.py", line 153, in call_command self.run_command(cmdname) File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\Anaconda3\envs\py37\lib\distutils\command\install_lib.py", line 107, in build self.run_command('build_ext') File "D:\Anaconda3\envs\py37\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "D:\Anaconda3\envs\py37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\build_ext.py", line 79, in run _build_ext.run(self) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 649, in build_extensions build_ext.build_extensions(self) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "D:\Anaconda3\envs\py37\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension _build_ext.build_extension(self, ext) File "D:\Anaconda3\envs\py37\lib\distutils\command\build_ext.py", line 534, in build_extension depends=ext.depends) File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 631, in win_wrap_ninja_compile with_cuda=with_cuda) File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "D:\Anaconda3\envs\py37\lib\site-packages\torch\utils\cpp_extension.py", line 1529, in _run_ninja_build raise RuntimeError(message) RuntimeError: Error compiling objects for extension

bottler commented 3 years ago

Ah. The compiler is behaving now. Assuming you are still in the environment with pytorch 1.6.0, you need to make some edits to the pytorch code itself, and I think the ones detailed in https://github.com/facebookresearch/pytorch3d/issues/323 should do it.

hanssssssss commented 3 years ago

Ah. The compiler is behaving now. Assuming you are still in the environment with pytorch 1.6.0, you need to make some edits to the pytorch code itself, and I think the ones detailed in #323 should do it.

Thanks a lot ,I followed the instruction and finally installed the pytorch3d.

Ethan-cpp commented 1 year ago

WARNING: You are using a SMPL model, with only 10 shape coefficients. make dir vis_results/single_person_demo.mp4_output_temp Make dir vis_results/single_person_demo.mp4_output_temp Traceback (most recent call last): File "demo/estimate_smpl.py", line 593, in main(args) File "demo/estimate_smpl.py", line 491, in main single_person_with_mmdet(args, frames_iter) File "demo/estimate_smpl.py", line 279, in single_person_with_mmdet visualize_smpl_hmr( File "/data/run01/scz5288/mmhuman3d/mmhuman3d/mmhuman3d-main/mmhuman3d/core/visualization/visualize_smpl.py", line 1120, in visualize_smpl_hmr return func(Ks=Ks, K=K, T=T, kwargs) File "/data/run01/scz5288/mmhuman3d/mmhuman3d/mmhuman3d-main/mmhuman3d/core/visualization/visualize_smpl.py", line 1041, in render_smpl results = render_runner.render( File "/data/run01/scz5288/mmhuman3d/mmhuman3d/mmhuman3d-main/mmhuman3d/core/renderer/torch3d_renderer/render_runner.py", line 115, in render images_batch = renderer(indexes=indexes, foward_params_batch) File "/HOME/scz5288/.conda/envs/mmhuman3d/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl return forward_call(*input, kwargs) File "/data/run01/scz5288/mmhuman3d/mmhuman3d/mmhuman3d-main/mmhuman3d/core/renderer/torch3d_renderer/smpl_renderer.py", line 182, in forward rendered_tensor = self.image_renderer( File "/HOME/scz5288/.conda/envs/mmhuman3d/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl return forward_call(*input, *kwargs) File "/data/run01/scz5288/mmhuman3d/mmhuman3d/mmhuman3d-main/mmhuman3d/core/renderer/torch3d_renderer/mesh_renderer.py", line 71, in forward fragments = self.rasterizer(meshes_world=meshes, cameras=cameras) File "/HOME/scz5288/.conda/envs/mmhuman3d/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl return forward_call(input, kwargs) File "/data/run01/scz5288/mmhuman3d/pytorch3d/pytorch3d-main/pytorch3d/renderer/mesh/rasterizer.py", line 252, in forward pix_to_face, zbuf, bary_coords, dists = rasterize_meshes( File "/data/run01/scz5288/mmhuman3d/pytorch3d/pytorch3d-main/pytorch3d/renderer/mesh/rasterize_meshes.py", line 223, in rasterize_meshes pix_to_face, zbuf, barycentric_coords, dists = _RasterizeFaceVerts.apply( File "/data/run01/scz5288/mmhuman3d/pytorch3d/pytorch3d-main/pytorch3d/renderer/mesh/rasterize_meshes.py", line 297, in forward pix_to_face, zbuf, barycentric_coords, dists = _C.rasterize_meshes( RuntimeError: Not compiled with GPU support

Could you help me ?I need your help , I don't know how to deal with it.

bottler commented 1 year ago

@Ethan-cpp please open a new issue for a new question.