Why this problem?
YUBO427 opened this issue · 6 comments
python -m pip install -e thirdparty/diff-gaussian-rasterization-w-pose/
Looking in indexes: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
Obtaining file:///data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose
Preparing metadata (setup.py) ... done
Installing collected packages: diff_gaussian_rasterization
DEPRECATION: Legacy editable install of diff_gaussian_rasterization==0.0.0 from file:///data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at pypa/pip#11457
Running setup.py develop for diff_gaussian_rasterization
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [115 lines of output]
running develop
/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running egg_info
writing diff_gaussian_rasterization.egg-info/PKG-INFO
writing dependency_links to diff_gaussian_rasterization.egg-info/dependency_links.txt
writing top-level names to diff_gaussian_rasterization.egg-info/top_level.txt
reading manifest file 'diff_gaussian_rasterization.egg-info/SOURCES.txt'
adding license file 'LICENSE.md'
writing manifest file 'diff_gaussian_rasterization.egg-info/SOURCES.txt'
running build_ext
/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py:416: UserWarning: The detected CUDA version (11.7) 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 'diff_gaussian_rasterization._C' extension
Emitting ninja build file /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/4] /data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/backward.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
FAILED: /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.o
/data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/backward.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
nvcc fatal : Unsupported gpu architecture 'compute_89'
[2/4] /data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/forward.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
FAILED: /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.o
/data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/forward.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
nvcc fatal : Unsupported gpu architecture 'compute_89'
[3/4] /data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/rasterizer_impl.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
FAILED: /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.o
/data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/rasterizer_impl.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
nvcc fatal : Unsupported gpu architecture 'compute_89'
[4/4] /data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/rasterize_points.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
FAILED: /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.o
/data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/rasterize_points.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
nvcc fatal : Unsupported gpu architecture 'compute_89'
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2104, in _run_ninja_build
subprocess.run(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/setup.py", line 17, in <module>
setup(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command
super().run_command(command)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/develop.py", line 35, in run
self.install_for_development()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/develop.py", line 112, in install_for_development
self.run_command('build_ext')
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command
super().run_command(command)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 98, in run
_build_ext.run(self)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 868, in build_extensions
build_ext.build_extensions(self)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 476, in build_extensions
self._build_extensions_serial()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 502, in _build_extensions_serial
self.build_extension(ext)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 263, in build_extension
_build_ext.build_extension(self, ext)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 557, in build_extension
objects = self.compiler.compile(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 681, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1784, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2120, 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: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [115 lines of output]
running develop
/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running egg_info
writing diff_gaussian_rasterization.egg-info/PKG-INFO
writing dependency_links to diff_gaussian_rasterization.egg-info/dependency_links.txt
writing top-level names to diff_gaussian_rasterization.egg-info/top_level.txt
reading manifest file 'diff_gaussian_rasterization.egg-info/SOURCES.txt'
adding license file 'LICENSE.md'
writing manifest file 'diff_gaussian_rasterization.egg-info/SOURCES.txt'
running build_ext
/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py:416: UserWarning: The detected CUDA version (11.7) 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 'diff_gaussian_rasterization._C' extension
Emitting ninja build file /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/4] /data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/backward.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
FAILED: /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.o
/data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/backward.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/backward.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
nvcc fatal : Unsupported gpu architecture 'compute_89'
[2/4] /data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/forward.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
FAILED: /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.o
/data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/forward.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/forward.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
nvcc fatal : Unsupported gpu architecture 'compute_89'
[3/4] /data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/rasterizer_impl.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
FAILED: /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.o
/data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/cuda_rasterizer/rasterizer_impl.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/cuda_rasterizer/rasterizer_impl.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
nvcc fatal : Unsupported gpu architecture 'compute_89'
[4/4] /data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/rasterize_points.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
FAILED: /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.o
/data/miniconda3/envs/splatSLAM/bin/nvcc --generate-dependencies-with-compile --dependency-output /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.o.d -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/TH -I/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/include/THC -I/data/miniconda3/envs/splatSLAM/include -I/data/miniconda3/envs/splatSLAM/include/python3.10 -c -c /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/rasterize_points.cu -o /data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/build/temp.linux-x86_64-cpython-310/rasterize_points.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'"'"'' -I/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=sm_89 -std=c++17
nvcc fatal : Unsupported gpu architecture 'compute_89'
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2104, in _run_ninja_build
subprocess.run(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/data/weiboren/code/SplatSLAM/thirdparty/diff-gaussian-rasterization-w-pose/setup.py", line 17, in <module>
setup(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command
super().run_command(command)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/develop.py", line 35, in run
self.install_for_development()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/develop.py", line 112, in install_for_development
self.run_command('build_ext')
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command
super().run_command(command)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 98, in run
_build_ext.run(self)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 868, in build_extensions
build_ext.build_extensions(self)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 476, in build_extensions
self._build_extensions_serial()
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 502, in _build_extensions_serial
self.build_extension(ext)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 263, in build_extension
_build_ext.build_extension(self, ext)
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 557, in build_extension
objects = self.compiler.compile(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 681, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1784, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/data/miniconda3/envs/splatSLAM/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2120, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
[end of output]