Issue with simple-knn of No CUDA runtime is found
Closed this issue · 2 comments
Hi, thanks for sharing your great work.
I encountered error with simple-knn installation of "No CUDA runtime is found, using CUDA_HOME='/home/chi/MyPrefix/miniconda3/envs/instantsplat/'"
My which nvcc & nvcc --version outputs
"
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Feb__7_19:32:13_PST_2023
Cuda compilation tools, release 12.1, V12.1.66
Build cuda_12.1.r12.1/compiler.32415258_0
/home/chi/MyPrefix/miniconda3/envs/instantsplat/bin/nvcc"
and python -c "import torch; print(torch.version.cuda)" outputs
"
12.1"
Any idea to solve this issue?
How did you installed nvcc in anaconda environment?
some of cuda installaion package in anaconda environment doesn't fully contain library for compiling cuda.
I was able to compile simple-knn with
'conda install cuda=12.1 cudnn=8.9 -c nvidia'
How did you installed nvcc in anaconda environment? some of cuda installaion package in anaconda environment doesn't fully contain library for compiling cuda. I was able to compile simple-knn with 'conda install cuda=12.1 cudnn=8.9 -c nvidia'
Sorry, My GPU driver is off-line due to some update.
Now the installation works fine after GPU driver re-installation.