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
I've aligned torch.version.cuda with nvcc and still can't install diff-gaussian-rasterization. Any help?
torch.version.cuda
'11.8'
nvcc --version
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
Processing ./submodules/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
╰─> [21 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-39/diff_gaussian_rasterization
copying diff_gaussian_rasterization/__init__.py -> build/lib.linux-x86_64-cpython-39/diff_gaussian_rasterization
running build_ext
/home/zhihang/.conda/envs/frosting/lib/python3.9/site-packages/torch/utils/cpp_extension.py:398: UserWarning: There are no g++ version bounds defined for CUDA version 11.8
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'diff_gaussian_rasterization._C' extension
creating /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/cuda_rasterizer
Emitting ninja build file /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.10.1
g++ -pthread -B /home/zhihang/.conda/envs/frosting/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/zhihang/.conda/envs/frosting/include -I/home/zhihang/.conda/envs/frosting/include -fPIC -O2 -isystem /home/zhihang/.conda/envs/frosting/include -pthread -B /home/zhihang/.conda/envs/frosting/compiler_compat -shared /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/cuda_rasterizer/backward.o /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/cuda_rasterizer/forward.o /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/cuda_rasterizer/rasterizer_impl.o /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/ext.o /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/rasterize_points.o -L/home/zhihang/.conda/envs/frosting/lib/python3.9/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-39/diff_gaussian_rasterization/_C.cpython-39-x86_64-linux-gnu.so
g++: error: /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/cuda_rasterizer/backward.o: No such file or directory
g++: error: /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/cuda_rasterizer/forward.o: No such file or directory
g++: error: /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/cuda_rasterizer/rasterizer_impl.o: No such file or directory
g++: error: /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/ext.o: No such file or directory
g++: error: /badminton/zhihang/Projects/4DRE/gaussian-splatting/submodules/diff-gaussian-rasterization/build/temp.linux-x86_64-cpython-39/rasterize_points.o: No such file or directory
error: command '/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 diff_gaussian_rasterization
Running setup.py clean for diff_gaussian_rasterization
Failed to build diff_gaussian_rasterization
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (diff_gaussian_rasterization)
The text was updated successfully, but these errors were encountered:
I've aligned torch.version.cuda with nvcc and still can't install diff-gaussian-rasterization. Any help?
torch.version.cuda
nvcc --version
The text was updated successfully, but these errors were encountered: