graphdeco-inria / gaussian-splatting

Original reference implementation of "3D Gaussian Splatting for Real-Time Radiance Field Rendering"
https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/
Other
14.92k stars 1.96k forks source link

Cuda out of memory when calling the distCUDA2 #961

Open moonagic opened 3 months ago

moonagic commented 3 months ago
dist2 = torch.clamp_min(distCUDA2(torch.from_numpy(np.asarray(pcd.points)).float().cuda()), 0.0000001)
MemoryError: std::bad_alloc: cudaErrorMemoryAllocation: out of memory

My graphics card is RTX8000 with 48GB of memory. I also looked at #740, reconfigured the environment, and the problem persists.

GOZIHUATANEJO commented 1 week ago

May I ask if you have solved it now, I had the same problem as you did

moonagic commented 1 week ago

May I ask if you have solved it now, I had the same problem as you did

I didn't find a direct solution. Switching my graphics card to RTX 4090 resolved the issue. I suspect the RTX 8000 (and possibly other cards in that series) is either unsupported or requires additional configuration.