Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA Issues running NeRF example #31

Closed
javieryu opened this issue Mar 17, 2022 · 2 comments
Closed

CUDA Issues running NeRF example #31

javieryu opened this issue Mar 17, 2022 · 2 comments

Comments

@javieryu
Copy link

Running into some issues running the nerf example.

Screenshot from 2022-03-17 09-41-49

My setup is:
OS: Ubuntu 20.04
GPU: RTX 3070 Ti
CUDA: 11.6 (driver 510)

Pretty sure CUDA is install correctly and I've added these lines to my .zshrc:
export PATH="/usr/local/cuda-11.6/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda-11.6/lib64:$LD_LIBRARY_PATH"

@ashawkey
Copy link
Owner

Hi, this seems not to be a problem of this repo. Could you install other pytorch extensions, like the tiny-cuda-nn (pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch)?
A related issue here maybe helpful.

@javieryu
Copy link
Author

Solved, I was trying to run the code with CUDA related flags that were not compatible with my GPU. Removing the CUDA_VISIBLE_DEVICES=1 from the run_nerf.sh script solved this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants