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

GSplat for some reason cannot find Cuda #537

Open
vanshreddy opened this issue Jan 16, 2025 · 1 comment
Open

GSplat for some reason cannot find Cuda #537

vanshreddy opened this issue Jan 16, 2025 · 1 comment

Comments

@vanshreddy
Copy link

Running Gsplat in a docker container. For some reason, it cant find Cuda. Getting the following error and my code crashes

gsplat: No CUDA toolkit found. gsplat will be disabled.
'NoneType' object has no attribute 'project_gaussians_forward'
'NoneType' object has no attribute 'project_gaussians_forward'

nvidia smi output:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01              Driver Version: 565.57.01      CUDA Version: 12.7     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |

nvcc output:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0
@axbycc-mark
Copy link

I think it means for some reason the command nvcc is not working within your docker container.

call(["nvcc"], stdout=DEVNULL, stderr=DEVNULL)

What happens if you isolate the function above into a standalone script and try to run it within your container?

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