pytorch3d icon indicating copy to clipboard operation
pytorch3d copied to clipboard

## ❓ Error for install pytorch3d on windows

Open ahuzsg opened this issue 2 years ago • 1 comments

Help!!! envs: device=RTX3090, cuda=11.0, python=3.65, pytorch=1.7, cub=1.9.9, pytorch3d = 0.6 The error: nvcc fatal : Unsupported gpu architecture 'compute_86' error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe' failed with exit status 1 The other log C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe -c D:\Python\anaconda\envs\zsg_pytorch\Lib\site-packages\pytorch3d\pytorch3d\csrc\ball_query\ball_query.cu -o build\temp.win-amd64-3.6\Release\Python\anaconda\envs\zsg_pytorch\Lib\site-packages\pytorch3d\pytorch3d\csrc\ball_query\ball_query.obj -ID:\Python\anaconda\envs\zsg_pytorch\Lib\site-packages\pytorch3d\pytorch3d\csrc -ID:\Python\anaconda\envs\zsg_pytorch\Lib\site-packages\cub-1.9.9 -ID:\Python\anaconda\envs\zsg_pytorch\lib\site-packages\torch\include -ID:\Python\anaconda\envs\zsg_pytorch\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Python\anaconda\envs\zsg_pytorch\lib\site-packages\torch\include\TH -ID:\Python\anaconda\envs\zsg_pytorch\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -ID:\Python\anaconda\envs\zsg_pytorch\include -ID:\Python\anaconda\envs\zsg_pytorch\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30037\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-I C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86

ahuzsg avatar Feb 17 '23 13:02 ahuzsg

@ahuzsg May I ask if you have resolved this ? I have also encountered the same problem and have not yet found a solution in other Issues.

Shinya754 avatar Aug 29 '23 03:08 Shinya754