gaussian-splatting
gaussian-splatting copied to clipboard
Failed to build diff-gaussian-rasterization
root@autodl-container-eab742abf6-6d115628:~/autodl-fs/dreamgaussian-main# conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=11.8 -c pytorch -c nvidia Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: | (wyn) root@autodl-container-eab742abf6-6d115628:~/autodl-fs/dreamgaussian-main# https://pytorch.org/get-started/previous-versions/ -bash: https://pytorch.org/get-started/previous-versions/: No such file or directory (wyn) root@autodl-container-eab742abf6-6d115628:~/autodl-fs/dreamgaussian-main# pip install ./diff-gaussian-rasterization Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Processing ./diff-gaussian-rasterization Preparing metadata (setup.py) ... done Building wheels for collected packages: diff-gaussian-rasterization Building wheel for diff-gaussian-rasterization (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
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/diff_gaussian_rasterization
copying diff_gaussian_rasterization/init.py -> build/lib.linux-x86_64-cpython-38/diff_gaussian_rasterization
running build_ext
Traceback (most recent call last):
File "
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for diff-gaussian-rasterization Running setup.py clean for diff-gaussian-rasterization Failed to build diff-gaussian-rasterization ERROR: Could not build wheels for diff-gaussian-rasterization, which is required to install pyproject.toml-based projects
What can i do?
Maybe the problem is here. The detected CUDA version (11.6) mismatches the version that was used to compile PyTorch (12.1). Please make sure to use the same CUDA versions. Check your torch and cuda version compatibility.
Yes, even I faced this issue and to solve this I installed CUDA version(11.6) which is mentioned in the requirements.
The detected CUDA version (11.6) mismatches the version that was used to compile
PyTorch (12.1). Please make sure to use the same CUDA versions.