gaussian-splatting icon indicating copy to clipboard operation
gaussian-splatting copied to clipboard

My computer uses an NVIDIA A100 GPU with 80GB of memory. Why do I still get an "out of memory" error when loading the point cloud into GPU memory?

Open chanhoo opened this issue 6 months ago • 2 comments
trafficstars

My computer uses an NVIDIA A100 GPU with 80GB of memory. Why do I still get an "out of memory" error when loading the point cloud into GPU memory?

[ INFO ] Encountered quite large input images (>1.6K pixels width), rescaling to 1.6K. If this is not desired, please explicitly specify '--resolution/-r' as 1 [03/05 20:50:54] Loading Test Cameras [03/05 20:51:03] Number of points at initialisation : 1281 [03/05 20:51:03] Traceback (most recent call last): File "train.py", line 219, in training(lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from) File "train.py", line 35, in training scene = Scene(dataset, gaussians) File "C:\gaussian-splatting\scene_init_.py", line 83, in init self.gaussians.create_from_pcd(scene_info.point_cloud, self.cameras_extent) File "C:\gaussian-splatting\scene\gaussian_model.py", line 134, in create_from_pcd dist2 = torch.clamp_min(distCUDA2(torch.from_numpy(np.asarray(pcd.points)).float().cuda()), 0.0000001) MemoryError: bad allocation: cudaErrorMemoryAllocation: out of memory

chanhoo avatar May 03 '25 14:05 chanhoo