nianticlabs / diffusionerf

[CVPR 2023] DiffusioNeRF: Regularizing Neural Radiance Fields with Denoising Diffusion Models
MIT License
287 stars 15 forks source link

Conda environment not being created #8

Open HarshaMupparaju opened 10 months ago

HarshaMupparaju commented 10 months ago

I have cloned diffusionerf and tried to execute conda env create -f environment.yml

Commented out the line - git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch from environment.yml file, and tried creating the environment, it worked.

Tried to pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch seperately and got this error:

pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
Collecting git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
  Cloning https://github.com/NVlabs/tiny-cuda-nn/ to /tmp/pip-req-build-tfx6b0pr
  Running command git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ /tmp/pip-req-build-tfx6b0pr
  Resolved https://github.com/NVlabs/tiny-cuda-nn/ to commit 6f018a9cd1b369bcb247e1d539968db8e48b2b3f
  Running command git submodule update --init --recursive -q
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: tinycudann
  Building wheel for tinycudann (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [215 lines of output]
      /tmp/pip-req-build-tfx6b0pr/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 86 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-39
      creating build/lib.linux-x86_64-cpython-39/tinycudann
      copying tinycudann/__init__.py -> build/lib.linux-x86_64-cpython-39/tinycudann
      copying tinycudann/modules.py -> build/lib.linux-x86_64-cpython-39/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-39/tinycudann
      running build_ext
      /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/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.6). Most likely this shouldn't be a problem.
        warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
      /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/utils/cpp_extension.py:820: UserWarning: There are no 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._86_C' extension
      creating /tmp/pip-req-build-tfx6b0pr/bindings/torch/dependencies
      creating /tmp/pip-req-build-tfx6b0pr/bindings/torch/dependencies/fmt
      creating /tmp/pip-req-build-tfx6b0pr/bindings/torch/dependencies/fmt/src
      creating /tmp/pip-req-build-tfx6b0pr/bindings/torch/src
      creating /tmp/pip-req-build-tfx6b0pr/bindings/torch/build/temp.linux-x86_64-cpython-39
      creating /tmp/pip-req-build-tfx6b0pr/bindings/torch/build/temp.linux-x86_64-cpython-39/tinycudann
      Emitting ninja build file /tmp/pip-req-build-tfx6b0pr/bindings/torch/build/temp.linux-x86_64-cpython-39/build.ninja...
      Compiling objects...
      Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
      [1/10] c++ -MMD -MF /tmp/pip-req-build-tfx6b0pr/bindings/torch/dependencies/fmt/src/os.o.d -pthread -B /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include -fPIC -O2 -isystem /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include -fPIC -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/dependencies/fmt/src/os.cc -o /tmp/pip-req-build-tfx6b0pr/bindings/torch/dependencies/fmt/src/os.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      [2/10] c++ -MMD -MF /tmp/pip-req-build-tfx6b0pr/bindings/torch/dependencies/fmt/src/format.o.d -pthread -B /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include -fPIC -O2 -isystem /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include -fPIC -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/dependencies/fmt/src/format.cc -o /tmp/pip-req-build-tfx6b0pr/bindings/torch/dependencies/fmt/src/format.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      [3/10] /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/object.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-tfx6b0pr/bindings/torch/src/object.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/object.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma

      /tmp/pip-req-build-tfx6b0pr/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/10] /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/network.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-tfx6b0pr/bindings/torch/src/network.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/network.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma

      /tmp/pip-req-build-tfx6b0pr/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/10] /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/common_host.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-tfx6b0pr/bindings/torch/src/common_host.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/common_host.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma

      /tmp/pip-req-build-tfx6b0pr/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/10] /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/cpp_api.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-tfx6b0pr/bindings/torch/src/cpp_api.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/cpp_api.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma

      /tmp/pip-req-build-tfx6b0pr/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/10] c++ -MMD -MF /tmp/pip-req-build-tfx6b0pr/bindings/torch/build/temp.linux-x86_64-cpython-39/tinycudann/bindings.o.d -pthread -B /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include -fPIC -O2 -isystem /home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include -fPIC -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/bindings/torch/tinycudann/bindings.cpp -o /tmp/pip-req-build-tfx6b0pr/bindings/torch/build/temp.linux-x86_64-cpython-39/tinycudann/bindings.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      [8/10] /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/encoding.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-tfx6b0pr/bindings/torch/src/encoding.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/encoding.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma

      /tmp/pip-req-build-tfx6b0pr/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/10] /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/cutlass_mlp.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-tfx6b0pr/bindings/torch/src/cutlass_mlp.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/cutlass_mlp.cu -o /tmp/pip-req-build-tfx6b0pr/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma

      /tmp/pip-req-build-tfx6b0pr/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’
      [10/10] /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/fully_fused_mlp.cu -o /tmp/pip-req-build-tfx6b0pr/bindings/torch/src/fully_fused_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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-req-build-tfx6b0pr/bindings/torch/src/fully_fused_mlp.o
      /usr/bin/nvcc  -I/tmp/pip-req-build-tfx6b0pr/include -I/tmp/pip-req-build-tfx6b0pr/dependencies -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/TH -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/include/THC -I/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/include/python3.9 -c -c /tmp/pip-req-build-tfx6b0pr/src/fully_fused_mlp.cu -o /tmp/pip-req-build-tfx6b0pr/bindings/torch/src/fully_fused_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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=86 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_86_C -D_GLIBCXX_USE_CXX11_ABI=0
      /tmp/pip-req-build-tfx6b0pr/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma

      /tmp/pip-req-build-tfx6b0pr/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 "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1808, in _run_ninja_build
          subprocess.run(
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/subprocess.py", line 528, 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-tfx6b0pr/bindings/torch/setup.py", line 189, in <module>
          setup(
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup
          return distutils.core.setup(**attrs)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/dist.py", line 1233, in run_command
          super().run_command(command)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 349, in run
          self.run_command("build")
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/dist.py", line 1233, in run_command
          super().run_command(command)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/dist.py", line 1233, in run_command
          super().run_command(command)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 88, in run
          _build_ext.run(self)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
          self.build_extensions()
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 765, in build_extensions
          build_ext.build_extensions(self)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
          self._build_extensions_serial()
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
          self.build_extension(ext)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
          _build_ext.build_extension(self, ext)
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
          objects = self.compiler.compile(
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 586, in unix_wrap_ninja_compile
          _write_ninja_file_and_compile_objects(
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1487, in _write_ninja_file_and_compile_objects
          _run_ninja_build(
        File "/home/harshamupparaju/Softwares/Anaconda/anaconda3/envs/diffusionerf/lib/python3.9/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
Failed to build tinycudann
ERROR: Could not build wheels for tinycudann, which is required to install pyproject.toml-based projects

System settings: Ubuntu 22.04, gcc 11.4

Output of nvidia-smi:

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.05              Driver Version: 535.86.05    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA RTX A4000               Off | 00000000:02:00.0  On |                  Off |
| 86%   92C    P2             139W / 140W |   8753MiB / 16376MiB |     94%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

Output of 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

Any help to resolve this issue?

jamiewynn commented 8 months ago

Hi Harsha,

I never bumped into this issue myself, but I did find this hack that seems to have helped people with the same issue - perhaps give that a try? https://github.com/NVIDIA/nccl/issues/650#issuecomment-1145173577

Best, Jamie

coldcode1 commented 8 months ago

i have met this problem in DVGO, maybe upgrad your g++ or gcc can be helpful

wyf-gh commented 8 months ago

I have met the same problem, do you solve it? I have a lot of questions on solving the environment on my own machine because the cuda version or g++ version is not matching the author's, so I run it on the AutoDL and it's simple to configure the environment. Detail: cuda 11.6 , Ubuntu 20.04, python 3.8. You can remote on your own machine via vscode or pycharm. I wish it could help.