No matter what version of python, torch, or cuda is installed, the submodule cannot be successfully installed.
The error prompt for installing submodules is related to the CUDA version or CUDA environment. Similar to this: No CUDA runtime is found, using CUDA_HOME='/home/xxx/anaconda3/pkgs/cuda-nvcc-11.8.89-0'
This may be because you used the conda install cudatoolkit or created the environment using a. yml file when using the Conda virtual environment. The installation path for conda install is similar to “/home/xxx/anaconda3/pkgs/cuda-nvcc-11.8.89-0”,instead of/usr/local/cuda-xx.x/bin/nvcc.
If you just git cloned this repo, then submodules/simple-knn and diff-gaussian-rasterization are not included by default. You need to clone them into the correct folders too.
FU CK the conda install command!!!
If you have a similar situation:
This may be because you used the conda install cudatoolkit or created the environment using a. yml file when using the Conda virtual environment. The installation path for conda install is similar to “/home/xxx/anaconda3/pkgs/cuda-nvcc-11.8.89-0”,instead of/usr/local/cuda-xx.x/bin/nvcc.
Even using a soft link to make the nvcc path point to the actual installation path doesn't help. You need to install cuda manually (cuda12.1): wget https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda_12.1.1_530.30.02_linux.run sudo sh cuda_12.1.1_530.30.02_linux.run