You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [159 lines of output]
/tmp/pip-req-build-3zdcgbbw/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-2023 NVIDIA Corporation
Built on Tue_Feb__7_19:32:13_PST_2023
Cuda compilation tools, release 12.1, V12.1.66
Build cuda_12.1.r12.1/compiler.32415258_0
Detected CUDA version 12.1
Targeting C++ standard 17
running bdist_wheel
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/utils/cpp_extension.py:502: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
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/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/utils/cpp_extension.py:424: UserWarning: There are no g++ version bounds defined for CUDA version 12.1
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'tinycudann_bindings.89_C' extension
creating dependencies
creating dependencies/fmt
creating dependencies/fmt/src
creating src
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/tinycudann
gcc -pthread -B /home/reynel/anaconda3/envs/instant_angelo/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -fPIC -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../dependencies/fmt/src/format.cc -o build/temp.linux-x86_64-cpython-39/../../dependencies/fmt/src/format.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -DTORCH_EXTENSION_NAME=89_C -D_GLIBCXX_USE_CXX11_ABI=0
gcc -pthread -B /home/reynel/anaconda3/envs/instant_angelo/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -fPIC -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../dependencies/fmt/src/os.cc -o build/temp.linux-x86_64-cpython-39/../../dependencies/fmt/src/os.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -DTORCH_EXTENSION_NAME=89_C -D_GLIBCXX_USE_CXX11_ABI=0
/home/reynel/anaconda3/envs/instant_angelo/bin/nvcc -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../src/common_host.cu -o build/temp.linux-x86_64-cpython-39/../../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_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/home/reynel/anaconda3/envs/instant_angelo/bin/nvcc -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../src/cpp_api.cu -o build/temp.linux-x86_64-cpython-39/../../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_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/home/reynel/anaconda3/envs/instant_angelo/bin/nvcc -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../src/cutlass_mlp.cu -o build/temp.linux-x86_64-cpython-39/../../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_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/home/reynel/anaconda3/envs/instant_angelo/bin/nvcc -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../src/encoding.cu -o build/temp.linux-x86_64-cpython-39/../../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_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/home/reynel/anaconda3/envs/instant_angelo/bin/nvcc -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../src/fully_fused_mlp.cu -o build/temp.linux-x86_64-cpython-39/../../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_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/home/reynel/anaconda3/envs/instant_angelo/bin/nvcc -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../src/network.cu -o build/temp.linux-x86_64-cpython-39/../../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_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/home/reynel/anaconda3/envs/instant_angelo/bin/nvcc -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../src/object.cu -o build/temp.linux-x86_64-cpython-39/../../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_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
gcc -pthread -B /home/reynel/anaconda3/envs/instant_angelo/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -fPIC -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c tinycudann/bindings.cpp -o build/temp.linux-x86_64-cpython-39/tinycudann/bindings.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0
In file included from /home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/Exceptions.h:14,
from /home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include/torch/python.h:11,
from /home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/extension.h:9,
from tinycudann/bindings.cpp:34:
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<tcnn::cpp::LogSeverity>’:
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/pybind11/pybind11.h:2170:7: required from ‘class pybind11::enum_<tcnn::cpp::LogSeverity>’
tinycudann/bindings.cpp:283:52: required from here
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/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 {
| ^~~~~~
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<tcnn::cpp::Precision>’:
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/pybind11/pybind11.h:2170:7: required from ‘class pybind11::enum_<tcnn::cpp::Precision>’
tinycudann/bindings.cpp:292:48: required from here
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/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]
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<tcnn::cpp::Context>’:
tinycudann/bindings.cpp:309:45: required from here
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/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]
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<Module>’:
tinycudann/bindings.cpp:316:32: required from here
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/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]
creating build/lib.linux-x86_64-cpython-39/tinycudann_bindings
g++ -pthread -B /home/reynel/anaconda3/envs/instant_angelo/compiler_compat -shared -Wl,-rpath,/home/reynel/anaconda3/envs/instant_angelo/lib -Wl,-rpath-link,/home/reynel/anaconda3/envs/instant_angelo/lib -L/home/reynel/anaconda3/envs/instant_angelo/lib -L/home/reynel/anaconda3/envs/instant_angelo/lib -Wl,-rpath,/home/reynel/anaconda3/envs/instant_angelo/lib -Wl,-rpath-link,/home/reynel/anaconda3/envs/instant_angelo/lib -L/home/reynel/anaconda3/envs/instant_angelo/lib build/temp.linux-x86_64-cpython-39/../../dependencies/fmt/src/format.o build/temp.linux-x86_64-cpython-39/../../dependencies/fmt/src/os.o build/temp.linux-x86_64-cpython-39/../../src/common_host.o build/temp.linux-x86_64-cpython-39/../../src/cpp_api.o build/temp.linux-x86_64-cpython-39/../../src/cutlass_mlp.o build/temp.linux-x86_64-cpython-39/../../src/encoding.o build/temp.linux-x86_64-cpython-39/../../src/fully_fused_mlp.o build/temp.linux-x86_64-cpython-39/../../src/network.o build/temp.linux-x86_64-cpython-39/../../src/object.o build/temp.linux-x86_64-cpython-39/tinycudann/bindings.o -L/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/lib -L/home/reynel/anaconda3/envs/instant_angelo/lib -lcuda -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-39/tinycudann_bindings/_89_C.cpython-39-x86_64-linux-gnu.so
/home/reynel/anaconda3/envs/instant_angelo/compiler_compat/ld: cannot find -lcuda: No such file or directory
collect2: error: ld returned 1 exit status
error: command '/usr/bin/g++' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for 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
The text was updated successfully, but these errors were encountered:
Read the tinycudann requirements carefully. There is something going on with specific g++ and gcc versions. Try to use different versions with the update-alternatives command.
I'm unable to build tiny-cuda-nn and pytorch bindings under a conda environment. All previous lines succeed, when getting t this one:
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
The build process fails. I'm runnig WSL Ubuntu 22.04 with conda 23.7.4.
Please see below,
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-3zdcgbbw
Running command git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ /tmp/pip-req-build-3zdcgbbw
Resolved https://github.com/NVlabs/tiny-cuda-nn/ to commit c12645dfbac707ccd82907a209edff9b258f1e3d
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
╰─> [159 lines of output]
/tmp/pip-req-build-3zdcgbbw/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-2023 NVIDIA Corporation
Built on Tue_Feb__7_19:32:13_PST_2023
Cuda compilation tools, release 12.1, V12.1.66
Build cuda_12.1.r12.1/compiler.32415258_0
Detected CUDA version 12.1
Targeting C++ standard 17
running bdist_wheel
/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/utils/cpp_extension.py:502: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
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/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/utils/cpp_extension.py:424: UserWarning: There are no g++ version bounds defined for CUDA version 12.1
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'tinycudann_bindings.89_C' extension
creating dependencies
creating dependencies/fmt
creating dependencies/fmt/src
creating src
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/tinycudann
gcc -pthread -B /home/reynel/anaconda3/envs/instant_angelo/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -fPIC -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../dependencies/fmt/src/format.cc -o build/temp.linux-x86_64-cpython-39/../../dependencies/fmt/src/format.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -DTORCH_EXTENSION_NAME=89_C -D_GLIBCXX_USE_CXX11_ABI=0
gcc -pthread -B /home/reynel/anaconda3/envs/instant_angelo/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include -fPIC -O2 -isystem /home/reynel/anaconda3/envs/instant_angelo/include -fPIC -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../dependencies/fmt/src/os.cc -o build/temp.linux-x86_64-cpython-39/../../dependencies/fmt/src/os.o -std=c++17 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -DTORCH_EXTENSION_NAME=89_C -D_GLIBCXX_USE_CXX11_ABI=0
/home/reynel/anaconda3/envs/instant_angelo/bin/nvcc -I/tmp/pip-req-build-3zdcgbbw/include -I/tmp/pip-req-build-3zdcgbbw/dependencies -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/cutlass/tools/util/include -I/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/TH -I/home/reynel/anaconda3/envs/instant_angelo/lib/python3.9/site-packages/torch/include/THC -I/home/reynel/anaconda3/envs/instant_angelo/include -I/home/reynel/anaconda3/envs/instant_angelo/include/python3.9 -c ../../src/common_host.cu -o build/temp.linux-x86_64-cpython-39/../../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_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -DTCNN_PARAMS_UNALIGNED -DTCNN_MIN_GPU_ARCH=89 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_89_C -D_GLIBCXX_USE_CXX11_ABI=0
/tmp/pip-req-build-3zdcgbbw/dependencies/fmt/include/fmt/core.h(288): warning #1675-D: unrecognized GCC pragma
#pragma GCC optimize("Og")
^
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
The text was updated successfully, but these errors were encountered: