Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not build wheels for tinycudann #2

Open
uwGZQ opened this issue Apr 11, 2024 · 1 comment
Open

Could not build wheels for tinycudann #2

uwGZQ opened this issue Apr 11, 2024 · 1 comment

Comments

@uwGZQ
Copy link

uwGZQ commented Apr 11, 2024

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
╰─> [237 lines of output]
/tmp/pip-req-build-1f3ttpid/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 89 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
WARNING: Compute capabilities [89] are not all supported by the installed CUDA version 11.5. Targeting [86] instead.
Targeting C++ standard 17
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/tinycudann
copying tinycudann/modules.py -> build/lib.linux-x86_64-cpython-38/tinycudann
copying tinycudann/init.py -> build/lib.linux-x86_64-cpython-38/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-38/tinycudann
running build_ext
/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py:415: UserWarning: The detected CUDA version (11.5) has a minor version mismatch with the version that was used to compile PyTorch (11.8). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'tinycudann_bindings.86_C' extension
creating /tmp/pip-req-build-1f3ttpid/bindings/torch/dependencies
creating /tmp/pip-req-build-1f3ttpid/bindings/torch/dependencies/fmt
creating /tmp/pip-req-build-1f3ttpid/bindings/torch/dependencies/fmt/src
creating /tmp/pip-req-build-1f3ttpid/bindings/torch/src
creating /tmp/pip-req-build-1f3ttpid/bindings/torch/build/temp.linux-x86_64-cpython-38
creating /tmp/pip-req-build-1f3ttpid/bindings/torch/build/temp.linux-x86_64-cpython-38/tinycudann
Emitting ninja build file /tmp/pip-req-build-1f3ttpid/bindings/torch/build/temp.linux-x86_64-cpython-38/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-1f3ttpid/bindings/torch/dependencies/fmt/src/os.o.d -pthread -B /data2/miniconda3/envs/threestudio/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/dependencies/fmt/src/os.cc -o /tmp/pip-req-build-1f3ttpid/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
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[2/10] c++ -MMD -MF /tmp/pip-req-build-1f3ttpid/bindings/torch/dependencies/fmt/src/format.o.d -pthread -B /data2/miniconda3/envs/threestudio/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/dependencies/fmt/src/format.cc -o /tmp/pip-req-build-1f3ttpid/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
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[3/10] /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/common_host.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/common_host.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/bindings/torch/src/common_host.o
/usr/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/common_host.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/common_host.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma

  /tmp/pip-req-build-1f3ttpid/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 --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/network.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/network.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/bindings/torch/src/network.o
  /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/network.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/network.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
  
  /tmp/pip-req-build-1f3ttpid/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 --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/object.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/object.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/bindings/torch/src/object.o
  /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/object.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/object.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
  
  /tmp/pip-req-build-1f3ttpid/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 --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/cpp_api.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/cpp_api.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/bindings/torch/src/cpp_api.o
  /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/cpp_api.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/cpp_api.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
  
  /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/bindings/torch/build/temp.linux-x86_64-cpython-38/tinycudann/bindings.o.d -pthread -B /data2/miniconda3/envs/threestudio/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/bindings/torch/tinycudann/bindings.cpp -o /tmp/pip-req-build-1f3ttpid/bindings/torch/build/temp.linux-x86_64-cpython-38/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
  cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  In file included from /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/Exceptions.h:14,
                   from /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/python.h:11,
                   from /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/extension.h:9,
                   from /tmp/pip-req-build-1f3ttpid/bindings/torch/tinycudann/bindings.cpp:34:
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<tcnn::cpp::LogSeverity>’:
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h:2170:7:   required from ‘class pybind11::enum_<tcnn::cpp::LogSeverity>’
  /tmp/pip-req-build-1f3ttpid/bindings/torch/tinycudann/bindings.cpp:283:52:   required from here
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h:1496:7: warning: ‘pybind11::class_<tcnn::cpp::LogSeverity>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
   1496 | class class_ : public detail::generic_type {
        |       ^~~~~~
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<tcnn::cpp::Precision>’:
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h:2170:7:   required from ‘class pybind11::enum_<tcnn::cpp::Precision>’
  /tmp/pip-req-build-1f3ttpid/bindings/torch/tinycudann/bindings.cpp:292:48:   required from here
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h:1496:7: warning: ‘pybind11::class_<tcnn::cpp::Precision>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<tcnn::cpp::Context>’:
  /tmp/pip-req-build-1f3ttpid/bindings/torch/tinycudann/bindings.cpp:309:45:   required from here
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h:1496:7: warning: ‘pybind11::class_<tcnn::cpp::Context>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<Module>’:
  /tmp/pip-req-build-1f3ttpid/bindings/torch/tinycudann/bindings.cpp:316:32:   required from here
  /data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/pybind11/pybind11.h:1496:7: warning: ‘pybind11::class_<Module>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
  [8/10] /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/cutlass_mlp.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/cutlass_mlp.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/bindings/torch/src/cutlass_mlp.o
  /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/cutlass_mlp.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/cutlass_mlp.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
  
  /tmp/pip-req-build-1f3ttpid/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 --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/encoding.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/encoding.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/bindings/torch/src/encoding.o
  /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/encoding.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/encoding.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
  
  /tmp/pip-req-build-1f3ttpid/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 --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/fully_fused_mlp.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/fully_fused_mlp.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/bindings/torch/src/fully_fused_mlp.o
  /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-1f3ttpid/bindings/torch/src/fully_fused_mlp.o.d -I/tmp/pip-req-build-1f3ttpid/include -I/tmp/pip-req-build-1f3ttpid/dependencies -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/include -I/tmp/pip-req-build-1f3ttpid/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-1f3ttpid/dependencies/fmt/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/TH -I/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/include/THC -I/data2/miniconda3/envs/threestudio/include/python3.8 -c -c /tmp/pip-req-build-1f3ttpid/src/fully_fused_mlp.cu -o /tmp/pip-req-build-1f3ttpid/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-1f3ttpid/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
  
  /tmp/pip-req-build-1f3ttpid/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 "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2096, in _run_ninja_build
      subprocess.run(
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/subprocess.py", line 516, 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-1f3ttpid/bindings/torch/setup.py", line 189, in <module>
      setup(
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command
      super().run_command(command)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 364, in run
      self.run_command("build")
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command
      super().run_command(command)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 131, in run
      self.run_command(cmd_name)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command
      super().run_command(command)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 88, in run
      _build_ext.run(self)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
      self.build_extensions()
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 871, in build_extensions
      build_ext.build_extensions(self)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
      self._build_extensions_serial()
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
      self.build_extension(ext)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
      _build_ext.build_extension(self, ext)
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
      objects = self.compiler.compile(
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 684, in unix_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1774, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "/data2/miniconda3/envs/threestudio/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2112, 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

@chinhsuanwu
Copy link
Owner

Please refer to this issue, might have to change your gcc version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants