threestudio: Failed building wheel for nerfacc, Failed building wheel for tinycudann, Could not build wheels for nerfacc, tinycudann, which is required to install pyproject.toml-based projects

Did everything thats in the Readme.md.

(venv) sd2@sd2:/mnt/repos/threestudio$ python -V
Python 3.10.12

You must have an NVIDIA graphics card with at least 6GB VRAM and have CUDA installed.

sd2@sd2:/mnt/repos$ nvidia-smi
Sat Sep  2 13:54:16 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.05              Driver Version: 535.86.05    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
|   0  NVIDIA GeForce GTX 1080 Ti     Off | 00000000:00:10.0 Off |                  N/A |
|  0%   33C    P8              11W / 320W |      6MiB / 11264MiB |      0%      Default |
|                                         |                      |                  N/A |

and

sd2@sd2:/mnt/repos$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0

Installed both torches 1.xx and 2.x - same result same error …

pip install -r requirements.txt

Building wheels for collected packages: nerfacc, tinycudann, nvdiffrast, envlight, clip
  Building wheel for nerfacc (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [158 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-310
      creating build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/__init__.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/grid.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/version.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/data_specs.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/cameras.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/pack.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/cameras2.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/volrend.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/pdf.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      copying nerfacc/scan.py -> build/lib.linux-x86_64-cpython-310/nerfacc
      creating build/lib.linux-x86_64-cpython-310/nerfacc/estimators
      copying nerfacc/estimators/prop_net.py -> build/lib.linux-x86_64-cpython-310/nerfacc/estimators
      copying nerfacc/estimators/__init__.py -> build/lib.linux-x86_64-cpython-310/nerfacc/estimators
      copying nerfacc/estimators/base.py -> build/lib.linux-x86_64-cpython-310/nerfacc/estimators
      copying nerfacc/estimators/occ_grid.py -> build/lib.linux-x86_64-cpython-310/nerfacc/estimators
      creating build/lib.linux-x86_64-cpython-310/nerfacc/cuda
      copying nerfacc/cuda/_backend.py -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda
      copying nerfacc/cuda/__init__.py -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda
      running egg_info
      creating nerfacc.egg-info
      writing nerfacc.egg-info/PKG-INFO
      writing dependency_links to nerfacc.egg-info/dependency_links.txt
      writing requirements to nerfacc.egg-info/requires.txt
      writing top-level names to nerfacc.egg-info/top_level.txt
      writing manifest file 'nerfacc.egg-info/SOURCES.txt'
      reading manifest file 'nerfacc.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching 'nerfacc/_cuda/csrc/include/*'
      warning: no files found matching 'nerfacc/_cuda/csrc/*'
      adding license file 'LICENSE'
      writing manifest file 'nerfacc.egg-info/SOURCES.txt'
      /mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/command/build_py.py:204: _Warning: Package 'nerfacc.cuda.csrc' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'nerfacc.cuda.csrc' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'nerfacc.cuda.csrc' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'nerfacc.cuda.csrc' to be distributed and are
              already explicitly excluding 'nerfacc.cuda.csrc' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/command/build_py.py:204: _Warning: Package 'nerfacc.cuda.csrc.include' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'nerfacc.cuda.csrc.include' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'nerfacc.cuda.csrc.include' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'nerfacc.cuda.csrc.include' to be distributed and are
              already explicitly excluding 'nerfacc.cuda.csrc.include' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      creating build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc
      copying nerfacc/cuda/csrc/camera.cu -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc
      copying nerfacc/cuda/csrc/grid.cu -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc
      copying nerfacc/cuda/csrc/nerfacc.cpp -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc
      copying nerfacc/cuda/csrc/pdf.cu -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc
      copying nerfacc/cuda/csrc/scan.cu -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc
      creating build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc/include
      copying nerfacc/cuda/csrc/include/data_spec.hpp -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc/include
      copying nerfacc/cuda/csrc/include/data_spec_packed.cuh -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc/include
      copying nerfacc/cuda/csrc/include/utils_camera.cuh -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc/include
      copying nerfacc/cuda/csrc/include/utils_contraction.cuh -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc/include
      copying nerfacc/cuda/csrc/include/utils_cuda.cuh -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc/include
      copying nerfacc/cuda/csrc/include/utils_grid.cuh -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc/include
      copying nerfacc/cuda/csrc/include/utils_math.cuh -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc/include
      copying nerfacc/cuda/csrc/include/utils_scan.cuh -> build/lib.linux-x86_64-cpython-310/nerfacc/cuda/csrc/include
      running build_ext
      /mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py:813: UserWarning: The detected CUDA version (11.5) has a minor version mismatch with the version that was used to compile PyTorch (11.3). Most likely this shouldn't be a problem.
        warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
      /mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py:820: UserWarning: There are no x86_64-linux-gnu-g++ version bounds defined for CUDA version 11.5
        warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
      building 'nerfacc.csrc' extension
      creating build/temp.linux-x86_64-cpython-310
      creating build/temp.linux-x86_64-cpython-310/nerfacc
      creating build/temp.linux-x86_64-cpython-310/nerfacc/cuda
      creating build/temp.linux-x86_64-cpython-310/nerfacc/cuda/csrc
      /usr/bin/nvcc -Inerfacc/cuda/csrc/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c nerfacc/cuda/csrc/camera.cu -o build/temp.linux-x86_64-cpython-310/nerfacc/cuda/csrc/camera.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 --expt-relaxed-constexpr -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
      /mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/c10/core/SymInt.h(84): warning #68-D: integer conversion resulted in a change of sign
      
      /mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/c10/core/SymInt.h(84): warning #68-D: integer conversion resulted in a change of sign
      
      /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
        435 |         function(_Functor&& __f)
            |                                                                                                                                                 ^
      /usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
      /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
        530 |         operator=(_Functor&& __f)
            |                                                                                                                                                  ^
      /usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
      error: command '/usr/bin/nvcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for nerfacc

then

  Running setup.py clean for nerfacc
  Building wheel for tinycudann (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [200 lines of output]
      /tmp/pip-req-build-qqtw_6au/bindings/torch/setup.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
        from pkg_resources import parse_version
      Building PyTorch extension for tiny-cuda-nn version 1.7
      Obtained compute capability 61 from PyTorch
      nvcc: NVIDIA (R) Cuda compiler driver
      Copyright (c) 2005-2021 NVIDIA Corporation
      Built on Thu_Nov_18_09:45:30_PST_2021
      Cuda compilation tools, release 11.5, V11.5.119
      Build cuda_11.5.r11.5/compiler.30672275_0
      Detected CUDA version 11.5
      Targeting C++ standard 17
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-310
      creating build/lib.linux-x86_64-cpython-310/tinycudann
      copying tinycudann/__init__.py -> build/lib.linux-x86_64-cpython-310/tinycudann
      copying tinycudann/modules.py -> build/lib.linux-x86_64-cpython-310/tinycudann
      running egg_info
      creating tinycudann.egg-info
      writing tinycudann.egg-info/PKG-INFO
      writing dependency_links to tinycudann.egg-info/dependency_links.txt
      writing top-level names to tinycudann.egg-info/top_level.txt
      writing manifest file 'tinycudann.egg-info/SOURCES.txt'
      reading manifest file 'tinycudann.egg-info/SOURCES.txt'
      writing manifest file 'tinycudann.egg-info/SOURCES.txt'
      copying tinycudann/bindings.cpp -> build/lib.linux-x86_64-cpython-310/tinycudann
      running build_ext
      /mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py:813: UserWarning: The detected CUDA version (11.5) has a minor version mismatch with the version that was used to compile PyTorch (11.3). Most likely this shouldn't be a problem.
        warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
      /mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py:820: UserWarning: There are no x86_64-linux-gnu-g++ version bounds defined for CUDA version 11.5
        warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
      building 'tinycudann_bindings._61_C' extension
      creating /tmp/pip-req-build-qqtw_6au/bindings/torch/dependencies
      creating /tmp/pip-req-build-qqtw_6au/bindings/torch/dependencies/fmt
      creating /tmp/pip-req-build-qqtw_6au/bindings/torch/dependencies/fmt/src
      creating /tmp/pip-req-build-qqtw_6au/bindings/torch/src
      creating /tmp/pip-req-build-qqtw_6au/bindings/torch/build/temp.linux-x86_64-cpython-310
      creating /tmp/pip-req-build-qqtw_6au/bindings/torch/build/temp.linux-x86_64-cpython-310/tinycudann
      Emitting ninja build file /tmp/pip-req-build-qqtw_6au/bindings/torch/build/temp.linux-x86_64-cpython-310/build.ninja...
      Compiling objects...
      Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
      [1/9] c++ -MMD -MF /tmp/pip-req-build-qqtw_6au/bindings/torch/dependencies/fmt/src/os.o.d -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/dependencies/fmt/src/os.cc -o /tmp/pip-req-build-qqtw_6au/bindings/torch/dependencies/fmt/src/os.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      [2/9] c++ -MMD -MF /tmp/pip-req-build-qqtw_6au/bindings/torch/dependencies/fmt/src/format.o.d -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/dependencies/fmt/src/format.cc -o /tmp/pip-req-build-qqtw_6au/bindings/torch/dependencies/fmt/src/format.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      [3/9] /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/object.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/object.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-qqtw_6au/bindings/torch/src/object.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/object.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/object.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
        435 |         function(_Functor&& __f)
            |                                                                                                                                                 ^
      /usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
      /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
        530 |         operator=(_Functor&& __f)
            |                                                                                                                                                  ^
      /usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
      [4/9] /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/network.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/network.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-qqtw_6au/bindings/torch/src/network.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/network.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/network.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
        435 |         function(_Functor&& __f)
            |                                                                                                                                                 ^
      /usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
      /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
        530 |         operator=(_Functor&& __f)
            |                                                                                                                                                  ^
      /usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
      [5/9] /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/common_host.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/common_host.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-qqtw_6au/bindings/torch/src/common_host.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/common_host.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/common_host.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
        435 |         function(_Functor&& __f)
            |                                                                                                                                                 ^
      /usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
      /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
        530 |         operator=(_Functor&& __f)
            |                                                                                                                                                  ^
      /usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
      [6/9] /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/cpp_api.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/cpp_api.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-qqtw_6au/bindings/torch/src/cpp_api.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/cpp_api.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/cpp_api.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
        435 |         function(_Functor&& __f)
            |                                                                                                                                                 ^
      /usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
      /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
        530 |         operator=(_Functor&& __f)
            |                                                                                                                                                  ^
      /usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
      [7/9] c++ -MMD -MF /tmp/pip-req-build-qqtw_6au/bindings/torch/build/temp.linux-x86_64-cpython-310/tinycudann/bindings.o.d -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/bindings/torch/tinycudann/bindings.cpp -o /tmp/pip-req-build-qqtw_6au/bindings/torch/build/temp.linux-x86_64-cpython-310/tinycudann/bindings.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      [8/9] /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/cutlass_mlp.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/cutlass_mlp.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-qqtw_6au/bindings/torch/src/cutlass_mlp.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/cutlass_mlp.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/cutlass_mlp.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
        435 |         function(_Functor&& __f)
            |                                                                                                                                                 ^
      /usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
      /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
        530 |         operator=(_Functor&& __f)
            |                                                                                                                                                  ^
      /usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
      [9/9] /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/encoding.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/encoding.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-qqtw_6au/bindings/torch/src/encoding.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-qqtw_6au/include -I/tmp/pip-req-build-qqtw_6au/dependencies -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/include -I/tmp/pip-req-build-qqtw_6au/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-qqtw_6au/dependencies/fmt/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/TH -I/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/include/THC -I/mnt/repos/threestudio/venv/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-qqtw_6au/src/encoding.cu -o /tmp/pip-req-build-qqtw_6au/bindings/torch/src/encoding.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -std=c++17 --extended-lambda --expt-relaxed-constexpr -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=61 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_61_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /tmp/pip-req-build-qqtw_6au/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
      
      /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
        435 |         function(_Functor&& __f)
            |                                                                                                                                                 ^
      /usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
      /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
        530 |         operator=(_Functor&& __f)
            |                                                                                                                                                  ^
      /usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
      ninja: build stopped: subcommand failed.
      Traceback (most recent call last):
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1808, in _run_ninja_build
          subprocess.run(
        File "/usr/lib/python3.10/subprocess.py", line 526, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
      
      The above exception was the direct cause of the following exception:
      
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-qqtw_6au/bindings/torch/setup.py", line 189, in <module>
          setup(
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
          return distutils.core.setup(**attrs)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/dist.py", line 1233, in run_command
          super().run_command(command)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 364, in run
          self.run_command("build")
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/dist.py", line 1233, in run_command
          super().run_command(command)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/dist.py", line 1233, in run_command
          super().run_command(command)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 88, in run
          _build_ext.run(self)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
          self.build_extensions()
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 765, in build_extensions
          build_ext.build_extensions(self)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
          self._build_extensions_serial()
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
          self.build_extension(ext)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
          _build_ext.build_extension(self, ext)
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
          objects = self.compiler.compile(
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 586, in unix_wrap_ninja_compile
          _write_ninja_file_and_compile_objects(
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1487, in _write_ninja_file_and_compile_objects
          _run_ninja_build(
        File "/mnt/repos/threestudio/venv/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1824, in _run_ninja_build
          raise RuntimeError(message) from e
      RuntimeError: Error compiling objects for extension
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tinycudann
  Running setup.py clean for tinycudann
  Building wheel for nvdiffrast (setup.py) ... done
  Created wheel for nvdiffrast: filename=nvdiffrast-0.3.1-py3-none-any.whl size=137845 sha256=194f951218a3a58f28ec32b98c6faee94b26b01c5451cbefc4b07e9aa186cd5f
  Stored in directory: /tmp/pip-ephem-wheel-cache-p08k8o1r/wheels/24/2b/98/f611ce0d4062793b78daf724e6b47ee800c9a2d3e1ff4b06fa
  Building wheel for envlight (setup.py) ... done
  Created wheel for envlight: filename=envlight-0.1.0-py3-none-any.whl size=39747 sha256=9bf7f9703064f8f2dcc618d5e8dfad22349bfbb46bf01e7bda794349030605f4
  Stored in directory: /tmp/pip-ephem-wheel-cache-p08k8o1r/wheels/c8/03/70/2579ccfef7bef64158f69ebc5e12de9b560ef319dfe948e55a
  Building wheel for clip (setup.py) ... done
  Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369497 sha256=ea24cdd764de298c4b210b459c8cb98fc5323c4665722c8787702f5328d19828
  Stored in directory: /tmp/pip-ephem-wheel-cache-p08k8o1r/wheels/da/2b/4c/d6691fa9597aac8bb85d2ac13b112deb897d5b50f5ad9a37e4
Successfully built nvdiffrast envlight clip
Failed to build nerfacc tinycudann
ERROR: Could not build wheels for nerfacc, tinycudann, which is required to install pyproject.toml-based projects
(venv) sd2@sd2:/mnt/repos/threestudio$ 

help?

About this issue

  • Original URL
  • State: open
  • Created 10 months ago
  • Comments: 15

Most upvoted comments

I have solved this problem by updating the version of gcc(gcc >= 8). Perhaps you can give it a try

I have solved this problem by updating the version of gcc(gcc >= 8). Perhaps you can give it a try

No luck, using gcc >11