instant-nsr-pl icon indicating copy to clipboard operation
instant-nsr-pl copied to clipboard

NerfAcc: No CUDA toolkit found

Open LSK0821 opened this issue 1 year ago • 7 comments

Hello dear author, I am running python launch.py --config configs/neus-dtu.yaml --gpu 0 --train. The following problem occurs, but I have set PATH and LD_LIBRARY_PATH in the system barshrc, but still the problem occurs

cc332ee4bb2f49faf4f53894e823ed9 20f8ab6c10f6074976cfda5ed6538db

LSK0821 avatar May 17 '23 07:05 LSK0821

export PATH="/usr/local/cuda-11.3/bin${PATH:+:${PATH}}" export LD_LIBRARY_PATH=/usr/local/cuda-11.3/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

my bashrc is like this. and it works.

xiaohulihutu avatar May 17 '23 08:05 xiaohulihutu

Thank you for your answer! But this didn't solve my problem.

LSK0821 avatar May 17 '23 09:05 LSK0821

I tried to execute the above command in terminal, NerFACC can find toolkit, but it will be Killed. Does the author have a solution? 2de1cb09e63413f5f1766b3e91e0510 a2d516a528776ddc0fae040eb042aeb

LSK0821 avatar May 17 '23 09:05 LSK0821

@LSK0821 Install the pre-built wheel for nerfacc here so that it doesn't need to be compiled before use. It seems that the compilation failed on your machine.

image

bennyguo avatar May 17 '23 10:05 bennyguo

@LSK0821在这里安装nerfacc的pre-built wheel ,这样使用前就不需要编译了。看来您的机器上编译失败了。

图像

Hello dear author! Thank you for your comments, I followed what you said pip install nerfacc -f https://nerfacc-bucket.s3.us-west-2.amazonaws.com/whl/torch-1.13.0_cu117.html I compiled nerfacc, but currently only the latest compiled version is available, which is different from version 0.33 in requirements, and many functions have changed and the project is no longer executable. Is there any other solution?

image

LSK0821 avatar May 17 '23 12:05 LSK0821

Sorry, I totally forget this. Could you try installing from git source via:

pip install git+https://github.com/KAIR-BAIR/[email protected]

bennyguo avatar May 17 '23 12:05 bennyguo

Sorry, I totally forget this. Could you try installing from git source via:

pip install git+https://github.com/KAIR-BAIR/[email protected]

Thank you very much! This method works! Thank you for your answer, I close this question.

LSK0821 avatar May 17 '23 13:05 LSK0821