graphdeco-inria / gaussian-splatting

Original reference implementation of "3D Gaussian Splatting for Real-Time Radiance Field Rendering"
https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/
Other
12.95k stars 1.63k forks source link

Can not install diff-gaussian-rasterization #605

Open David-655 opened 6 months ago

David-655 commented 6 months ago

I have installed CUDA11.8 already, but when i executed python setup.py install, there met some problems. RuntimeError: The detected CUDA version (10.1) mismatches the version that was used to compile PyTorch (11.8). Please make sure to use the same CUDA versions.

(guassian_splatting) work@work:~/data_ssd/3D/gaussian-splatting-main/submodules/diff-gaussian-rasterization$ nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Wed_Sep_21_10:33:58_PDT_2022 Cuda compilation tools, release 11.8, V11.8.89 Build cuda_11.8.r11.8/compiler.31833905_0

Snosixtyboo commented 5 months ago

It appears that your pytorch was installed with CUDA 10.1. The CUDA dev kit you installed is fine, the Pytorch installation (and its cuda library) seem to be out of date.