open-mmlab / mmdetection3d

OpenMMLab's next-generation platform for general 3D object detection.
https://mmdetection3d.readthedocs.io/en/latest/
Apache License 2.0
5k stars 1.49k forks source link

[Bug] pip install -v -e . error #2978

Open yux-lab opened 1 month ago

yux-lab commented 1 month ago

Prerequisite

Task

I'm using the official example scripts/configs for the officially supported tasks/models/datasets.

Branch

main branch https://github.com/open-mmlab/mmdetection3d

Environment

(open-mmlab) D:\Yux\program\VoxFormer\mmdetection3d\mmdet3d\utils>python collect_env.py
Traceback (most recent call last):
  File "collect_env.py", line 6, in <module>
    import mmdet3d
ModuleNotFoundError: No module named 'mmdet3d'

Environment

Python version:  3.8.19
Platform:  Windows-10-10.0.17763-SP0
CUDA available: True
GPU:  NVIDIA A100 80GB PCIe
PyTorch version:  1.9.0+cu111
Git repo: Yes
Current commit:  f1107977dfd26155fc1f83779ee6535d2468f449
Environment variables:
('ALLUSERSPROFILE', 'C:\\ProgramData')
('APPDATA', 'C:\\Users\\Administrator\\AppData\\Roaming')
('CLIENTNAME', 'DESKTOP-IJCJAOV')
('COMMONPROGRAMFILES', 'C:\\Program Files\\Common Files')
('COMMONPROGRAMFILES(X86)', 'C:\\Program Files (x86)\\Common Files')
('COMMONPROGRAMW6432', 'C:\\Program Files\\Common Files')
('COMPUTERNAME', 'WIN-0DNV40NFAI0')
('COMSPEC', 'C:\\Windows\\system32\\cmd.exe')
('CONDA_DEFAULT_ENV', 'open-mmlab')
('CONDA_PREFIX', 'G:\\anaconda3\\envs\\open-mmlab')
('CONDA_PROMPT_MODIFIER', '(open-mmlab) ')
('CONDA_SHLVL', '1')
('CUDA_PATH', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0')
('CUDA_PATH_V11_0', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0')
('DRIVERDATA', 'C:\\Windows\\System32\\Drivers\\DriverData')
('HOMEDRIVE', 'C:')
('HOMEPATH', '\\Users\\Administrator')
('IDEA_INITIAL_DIRECTORY', 'C:\\Users\\Administrator\\Desktop')
('LOCALAPPDATA', 'C:\\Users\\Administrator\\AppData\\Local')
('LOGONSERVER', '\\\\WIN-0DNV40NFAI0')
('NUMBER_OF_PROCESSORS', '52')
('NVCUDASAMPLES11_0_ROOT', 'C:\\ProgramData\\NVIDIA Corporation\\CUDA Samples\\v11.0')
('NVCUDASAMPLES_ROOT', 'C:\\ProgramData\\NVIDIA Corporation\\CUDA Samples\\v11.0')
('NVTOOLSEXT_PATH', 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\')
('OS', 'Windows_NT')
('PATH', 'G:\\anaconda3\\envs\\open-mmlab;G:\\anaconda3\\envs\\open-mmlab\\Library\\mingw-w64\\bin;G:\\anaconda3\\envs\\open-mmlab\\Library\\usr\\bin;G:\\anaconda3\\envs\\open-mmlab\\Library\\bin;G:\\anaconda3\\envs\\open-mmlab\\Scripts;G:\\anaconda3\\envs\\open-mmlab\\bin;G:\\anaconda3\\condabin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\libnvvp;C:\\Program Files (x86)\\VMware\\VMware Player\\bin;G:\\anaconda3;G:\\anaconda3\\Library\\mingw-w64\\bin;G:\\anaconda3\\Library\\usr\\bin;G:\\anaconda3\\Library\\bin;G:\\anaconda3\\Scripts;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files (x86)\\NetSarang\\Xshell 7;C:\\Program Files (x86)\\NetSarang\\Xftp 7;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\x64;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2020.1.1;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;.;C:\\Users\\Administrator\\Ubuntu;C:\\Users\\Administrator\\Ubuntu; C:\\Users\\Administrator\\Downloads\\ubuntu20.04\\ubuntu20.04')
('PATHEXT', '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC')
('PROCESSOR_ARCHITECTURE', 'AMD64')
('PROCESSOR_IDENTIFIER', 'Intel64 Family 6 Model 106 Stepping 6, GenuineIntel')
('PROCESSOR_LEVEL', '6')
('PROCESSOR_REVISION', '6a06')
('PROGRAMDATA', 'C:\\ProgramData')
('PROGRAMFILES', 'C:\\Program Files')
('PROGRAMFILES(X86)', 'C:\\Program Files (x86)')
('PROGRAMW6432', 'C:\\Program Files')
('PROMPT', '(open-mmlab) $P$G')
('PSMODULEPATH', 'C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules')
('PUBLIC', 'C:\\Users\\Public')
('PYCHARM COMMUNITY EDITION', 'G:\\PyCharm Community Edition 2022.3.2\\bin;')
('PYCHARM_HOSTED', '1')
('PYTHONIOENCODING', 'UTF-8')
('PYTHONPATH', 'D:\\Yux\\program\\VoxFormer')
('PYTHONUNBUFFERED', '1')
('SESSIONNAME', 'RDP-Tcp#81')
('SYSTEMDRIVE', 'C:')
('SYSTEMROOT', 'C:\\Windows')
('TEMP', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\1')
('TMP', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\1')
('USERDOMAIN', 'WIN-0DNV40NFAI0')
('USERDOMAIN_ROAMINGPROFILE', 'WIN-0DNV40NFAI0')
('USERNAME', 'Administrator')
('USERPROFILE', 'C:\\Users\\Administrator')
('VS140COMNTOOLS', 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\')
('WINDIR', 'C:\\Windows')

Reproduces the problem - code sample

git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
git checkout v0.17.1 # Other versions may not be compatible.
pip install -v -e .

Reproduces the problem - command or script

git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
git checkout v0.17.1 # Other versions may not be compatible.
pip install -v -e .

Reproduces the problem - error message

(open-mmlab) D:\Yux\program\VoxFormer\mmdetection3d>pip install -e .
Obtaining file:///D:/Yux/program/VoxFormer/mmdetection3d
  Preparing metadata (setup.py) ... done

Requirement already satisfied: types-python-dateutil>=2.8.10 in g:\anaconda3\envs\open-mmlab\lib\site-packages (from arrow>=0.15.0->isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.17.1) (2.9.0.20240316)
Installing collected packages: mmdet3d
  Running setup.py develop for mmdet3d
    error: subprocess-exited-with-error

    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> [1016 lines of output]
        running develop
        running egg_info
        writing mmdet3d.egg-info\PKG-INFO
        writing dependency_links to mmdet3d.egg-info\dependency_links.txt
        writing requirements to mmdet3d.egg-info\requires.txt
        writing top-level names to mmdet3d.egg-info\top_level.txt
        reading manifest file 'mmdet3d.egg-info\SOURCES.txt'
        reading manifest template 'MANIFEST.in'
        G:\anaconda3\envs\open-mmlab\lib\site-packages\setuptools\command\develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
        !!

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

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

        !!
          easy_install.initialize_options(self)
        G:\anaconda3\envs\open-mmlab\lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
        !!

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

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

        !!
          self.initialize_options()
        G:\anaconda3\envs\open-mmlab\lib\site-packages\torch\utils\cpp_extension.py:370: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
          warnings.warn(msg.format('we could not find ninja.'))
        warning: no files found matching '*.cpp' under directory 'mmdet3d\.mim\ops'
        warning: no files found matching '*.cu' under directory 'mmdet3d\.mim\ops'
        warning: no files found matching '*.h' under directory 'mmdet3d\.mim\ops'
        warning: no files found matching '*.cc' under directory 'mmdet3d\.mim\ops'
        adding license file 'LICENSE'
        writing manifest file 'mmdet3d.egg-info\SOURCES.txt'
        running build_ext
        building 'mmdet3d.ops.spconv.sparse_conv_ext' extension
        "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\Yux\program\VoxFormer\mmdetection3d\mmdet3d\ops\spconv\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\TH -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -IG:\anaconda3\envs\open-mmlab\include -IG:\anaconda3\envs\open-mmlab\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpmmdet3d\ops\spconv\src/all.cc /Fobuild\temp.win-amd64-cpython-38\Release\mmdet3d\ops\spconv\src/all.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
        cl : Command line warning D9025 : overriding '/W3' with '/w'
        cl : Command line warning D9002 : ignoring unknown option '-std=c++14'
        all.cc
        "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\Yux\program\VoxFormer\mmdetection3d\mmdet3d\ops\spconv\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\TH -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -IG:\anaconda3\envs\open-mmlab\include -IG:\anaconda3\envs\open-mmlab\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpmmdet3d\ops\spconv\src/indice.cc /Fobuild\temp.win-amd64-cpython-38\Release\mmdet3d\ops\spconv\src/indice.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
        cl : Command line warning D9025 : overriding '/W3' with '/w'
        cl : Command line warning D9002 : ignoring unknown option '-std=c++14'
        indice.cc
        "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc" -c mmdet3d\ops\spconv\src/indice_cuda.cu -o build\temp.win-amd64-cpython-38\Release\mmdet3d\ops\spconv\src/indice_cuda.obj -ID:\Yux\program\VoxFormer\mmdetection3d\mmdet3d\ops\spconv\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\TH -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -IG:\anaconda3\envs\open-mmlab\include -IG:\anaconda3\envs\open-mmlab\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -w -std=c++14 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --use-local-env
        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1260): error: expected a "("
                  detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const char *, _Sentinel=const char *]"
        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xlocale(1971): here

        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1261): error: identifier "_Verify_range" is undefined
                  detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const char *, _Sentinel=const char *]"
        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xlocale(1971): here

        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1260): error: expected a "("
                  detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=__wchar_t *, _Sentinel=__wchar_t *]"
        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xlocale(1972): here

        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1261): error: identifier "_Verify_range" is undefined
                  detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=__wchar_t *, _Sentinel=__wchar_t *]"
        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xlocale(1972): here

        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1260): error: expected a "("
                  detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const __wchar_t *, _Sentinel=const __wchar_t *]"
        C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xlocale(2007): here

                    instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=int64_t *, _Sentinel=int64_t *]"
        (4330): here
                    instantiation of "_OutIt std::move(_InIt, _InIt, _OutIt) [with _InIt=int64_t *, _OutIt=int64_t *]"
        G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/SmallVector.h(882): here
                    instantiation of "c10::SmallVectorImpl<T> &c10::SmallVectorImpl<T>::operator=(c10::SmallVectorImpl<T> &&) [with T=int64_t]"
        G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/SmallVector.h(997): here
                    instantiation of "c10::SmallVector<T, N>::SmallVector(c10::SmallVector<T, N> &&) [with T=int64_t, N=5U]"
        G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\ATen/TensorIterator.h(398): here

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

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

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

        Error limit reached.
        100 errors detected in the compilation of "mmdet3d/ops/spconv/src/indice_cuda.cu".
        Compilation terminated.
        indice_cuda.cu
        error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin\\nvcc.exe' failed with exit code 1
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [1016 lines of output]
    running develop
    running egg_info
    writing mmdet3d.egg-info\PKG-INFO
    writing dependency_links to mmdet3d.egg-info\dependency_links.txt
    writing requirements to mmdet3d.egg-info\requires.txt
    writing top-level names to mmdet3d.egg-info\top_level.txt
    reading manifest file 'mmdet3d.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    G:\anaconda3\envs\open-mmlab\lib\site-packages\setuptools\command\develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
    !!

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

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

    !!
      easy_install.initialize_options(self)
    G:\anaconda3\envs\open-mmlab\lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
    !!

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

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

    !!
      self.initialize_options()
    G:\anaconda3\envs\open-mmlab\lib\site-packages\torch\utils\cpp_extension.py:370: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
      warnings.warn(msg.format('we could not find ninja.'))
    warning: no files found matching '*.cpp' under directory 'mmdet3d\.mim\ops'
    warning: no files found matching '*.cu' under directory 'mmdet3d\.mim\ops'
    warning: no files found matching '*.h' under directory 'mmdet3d\.mim\ops'
    warning: no files found matching '*.cc' under directory 'mmdet3d\.mim\ops'
    adding license file 'LICENSE'
    writing manifest file 'mmdet3d.egg-info\SOURCES.txt'
    running build_ext
    building 'mmdet3d.ops.spconv.sparse_conv_ext' extension
    "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\Yux\program\VoxFormer\mmdetection3d\mmdet3d\ops\spconv\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\TH -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -IG:\anaconda3\envs\open-mmlab\include -IG:\anaconda3\envs\open-mmlab\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpmmdet3d\ops\spconv\src/all.cc /Fobuild\temp.win-amd64-cpython-38\Release\mmdet3d\ops\spconv\src/all.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
    cl : Command line warning D9025 : overriding '/W3' with '/w'
    cl : Command line warning D9002 : ignoring unknown option '-std=c++14'
    all.cc
    "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\Yux\program\VoxFormer\mmdetection3d\mmdet3d\ops\spconv\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\torch\csrc\api\include -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\TH -IG:\anaconda3\envs\open-mmlab\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -IG:\anaconda3\envs\open-mmlab\include -IG:\anaconda3\envs\open-mmlab\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpmmdet3d\ops\spconv\src/indice.cc /Fobuild\temp.win-amd64-cpython-38\Release\mmdet3d\ops\spconv\src/indice.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
    cl : Command line warning D9025 : overriding '/W3' with '/w'
    cl : Command line warning D9002 : ignoring unknown option '-std=c++14'
    indice.cc
    _Ty=uint64_t, _Pr=std::less<void>]"
    (5831): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1261): error: identifier "_Verify_range" is undefined
              detected during:
                instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const uint64_t *, _Sentinel=const uint64_t *]"
    (5809): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less<void>]"
    (5831): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1276): error: expected a "("
              detected during:
                instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *&]"
    (5810): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less<void>]"
    (5831): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1278): error: expected a "("
              detected during:
                instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *&]"
    (5810): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less<void>]"
    (5831): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1279): error: expression must have class type
              detected during:
                instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *&]"
    (5810): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less<void>]"
    (5831): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1276): error: expected a "("
              detected during:
                instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *const &]"
    (5811): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less<void>]"
    (5831): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1278): error: expected a "("
              detected during:
                instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *const &]"
    (5811): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less<void>]"
    (5831): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1279): error: expression must have class type
              detected during:
                instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const uint64_t *const &]"
    (5811): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less<void>]"
    (5831): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(5816): error: no instance of function template "std::less<void>::operator()" matches the argument list
                argument types are: (<error-type>, const uint64_t)
                object type is: std::less<void>
              detected during:
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &, _Pr) [with _FwdIt=const uint64_t *, _Ty=uint64_t, _Pr=std::less<void>]"
    (5831): here
                instantiation of "_FwdIt std::lower_bound(_FwdIt, _FwdIt, const _Ty &) [with _FwdIt=const uint64_t *, _Ty=uint64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/flat_hash_map.h(1854): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\atomic(356): error: expected a "("
              detected during:
                instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=long long, _Ty=std::remove_reference_t<unsigned long long>]"
    (1161): here
                instantiation of "__nv_bool std::_Atomic_storage<_Ty, 8ULL>::compare_exchange_strong(std::_Atomic_storage<_Ty, 8ULL>::_TVal &, std::_Atomic_storage<_Ty, 8ULL>::_TVal, std::memory_order) [with _Ty=unsigned long long]"
    (2360): here
                instantiation of "__nv_bool std::atomic<_Ty>::compare_exchange_weak(_Ty &, _Ty) [with _Ty=unsigned long long]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(751): here
                instantiation of "c10::intrusive_ptr<TTarget, NullType> c10::weak_intrusive_ptr<TTarget, NullType>::lock() const [with TTarget=c10::intrusive_ptr_target, NullType=c10::detail::intrusive_target_default_null_type<c10::intrusive_ptr_target>]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\ATen/core/ivalue.h(1094): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\atomic(358): error: expected a "("
              detected during:
                instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=long long, _Ty=std::remove_reference_t<unsigned long long>]"
    (1161): here
                instantiation of "__nv_bool std::_Atomic_storage<_Ty, 8ULL>::compare_exchange_strong(std::_Atomic_storage<_Ty, 8ULL>::_TVal &, std::_Atomic_storage<_Ty, 8ULL>::_TVal, std::memory_order) [with _Ty=unsigned long long]"
    (2360): here
                instantiation of "__nv_bool std::atomic<_Ty>::compare_exchange_weak(_Ty &, _Ty) [with _Ty=unsigned long long]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(751): here
                instantiation of "c10::intrusive_ptr<TTarget, NullType> c10::weak_intrusive_ptr<TTarget, NullType>::lock() const [with TTarget=c10::intrusive_ptr_target, NullType=c10::detail::intrusive_target_default_null_type<c10::intrusive_ptr_target>]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\ATen/core/ivalue.h(1094): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\atomic(359): error: invalid type conversion
              detected during:
                instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=long long, _Ty=std::remove_reference_t<unsigned long long>]"
    (1161): here
                instantiation of "__nv_bool std::_Atomic_storage<_Ty, 8ULL>::compare_exchange_strong(std::_Atomic_storage<_Ty, 8ULL>::_TVal &, std::_Atomic_storage<_Ty, 8ULL>::_TVal, std::memory_order) [with _Ty=unsigned long long]"
    (2360): here
                instantiation of "__nv_bool std::atomic<_Ty>::compare_exchange_weak(_Ty &, _Ty) [with _Ty=unsigned long long]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(751): here
                instantiation of "c10::intrusive_ptr<TTarget, NullType> c10::weak_intrusive_ptr<TTarget, NullType>::lock() const [with TTarget=c10::intrusive_ptr_target, NullType=c10::detail::intrusive_target_default_null_type<c10::intrusive_ptr_target>]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\ATen/core/ivalue.h(1094): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1260): error: expected a "("
              detected during:
                instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const int *, _Sentinel=const int *]"
    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(528): here
                instantiation of "std::vector<_Ty, _Alloc>::vector(_Iter, _Iter, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int *, <unnamed>=0]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/core/TensorImpl.h(51): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1261): error: identifier "_Verify_range" is undefined
              detected during:
                instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const int *, _Sentinel=const int *]"
    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(528): here
                instantiation of "std::vector<_Ty, _Alloc>::vector(_Iter, _Iter, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int *, <unnamed>=0]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/core/TensorImpl.h(51): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1276): error: expected a "("
              detected during:
                instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const int *&]"
    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(529): here
                instantiation of "std::vector<_Ty, _Alloc>::vector(_Iter, _Iter, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int *, <unnamed>=0]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/core/TensorImpl.h(51): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1278): error: expected a "("
              detected during:
                instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const int *&]"
    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(529): here
                instantiation of "std::vector<_Ty, _Alloc>::vector(_Iter, _Iter, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int *, <unnamed>=0]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/core/TensorImpl.h(51): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1279): error: expression must have class type
              detected during:
                instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=const int *&]"
    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\vector(529): here
                instantiation of "std::vector<_Ty, _Alloc>::vector(_Iter, _Iter, const _Alloc &) [with _Ty=int64_t, _Alloc=std::allocator<int64_t>, _Iter=const int *, <unnamed>=0]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/core/TensorImpl.h(51): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1260): error: expected a "("
              detected during:
                instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=int64_t *, _Sentinel=int64_t *]"
    (4330): here
                instantiation of "_OutIt std::move(_InIt, _InIt, _OutIt) [with _InIt=int64_t *, _OutIt=int64_t *]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/SmallVector.h(882): here
                instantiation of "c10::SmallVectorImpl<T> &c10::SmallVectorImpl<T>::operator=(c10::SmallVectorImpl<T> &&) [with T=int64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/SmallVector.h(997): here
                instantiation of "c10::SmallVector<T, N>::SmallVector(c10::SmallVector<T, N> &&) [with T=int64_t, N=5U]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\ATen/TensorIterator.h(398): here

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include\xutility(1261): error: identifier "_Verify_range" is undefined
              detected during:
                instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=int64_t *, _Sentinel=int64_t *]"
    (4330): here
                instantiation of "_OutIt std::move(_InIt, _InIt, _OutIt) [with _InIt=int64_t *, _OutIt=int64_t *]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/SmallVector.h(882): here
                instantiation of "c10::SmallVectorImpl<T> &c10::SmallVectorImpl<T>::operator=(c10::SmallVectorImpl<T> &&) [with T=int64_t]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\c10/util/SmallVector.h(997): here
                instantiation of "c10::SmallVector<T, N>::SmallVector(c10::SmallVector<T, N> &&) [with T=int64_t, N=5U]"
    G:/anaconda3/envs/open-mmlab/lib/site-packages/torch/include\ATen/TensorIterator.h(398): here

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

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

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

    Error limit reached.
    100 errors detected in the compilation of "mmdet3d/ops/spconv/src/indice_cuda.cu".
    Compilation terminated.
    indice_cuda.cu
    error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin\\nvcc.exe' failed with exit code 1
    [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

Additional information

I am currently trying to install MMDetection3D following the steps set out to run Step-by-step installation instructions.