Inpaint360GS icon indicating copy to clipboard operation
Inpaint360GS copied to clipboard

复现不了啊,跟着步骤走的

Open xuxian-0205 opened this issue 7 months ago • 2 comments

没有改动任何文件的情况下报了这个错,想尽了各种办法,一直报131TB的错误

Traceback (most recent call last): File "/home/Inpaint360GS/seg/distillation.py", line 251, in training(lp.extract(args), op.extract(args), pp.extract(args), args, args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, args.use_wandb) File "/home/Inpaint360GS/seg/distillation.py", line 116, in training render_pkg = render(viewpoint_cam, gaussians, pipe, background) File "/home/Inpaint360GS/gaussian_renderer/init.py", line 160, in render rendered_image, radii, rendered_objects, depth, alpha = rasterizer( File "/home//anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(*args, **kwargs) File "/home//anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/diff_gaussian_rasterization_inpaint360gs/init.py", line 259, in forward return rasterize_gaussians( File "/home//anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/diff_gaussian_rasterization_inpaint360gs/init.py", line 30, in rasterize_gaussians return _RasterizeGaussians.apply( File "/home/anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/torch/autograd/function.py", line 506, in apply return super().apply(*args, **kwargs) # type: ignore[misc] File "/home/xuxian/anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/diff_gaussian_rasterization_inpaint360gs/init.py", line 99, in forward num_rendered, color, objects, depth, alpha, radii, geomBuffer, binningBuffer, imgBuffer = _C.rasterize_gaussians(*args) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 131056.57 GiB (GPU 0; 39.49 GiB total capacity; 2.94 GiB already allocated; 35.93 GiB free; 3.04 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF Training progress: 0%|

xuxian-0205 avatar Apr 16 '26 07:04 xuxian-0205

Hi,

Sorry for the late response. The requested allocation size 131056.57 GiB is clearly abnormal and is very unlikely to be a standard CUDA OOM issue. It usually indicates that the CUDA extensions were compiled incorrectly or with incompatible GPU architectures.

Could you please check your GPU model and its compute capability?

In particular, the CUDA architectures are hardcoded here: https://github.com/dfki-av/Inpaint360GS/blob/d54c893285c6cb27788e05cce607e7d3cca6388a/gaussian_splatting/submodules/simple-knn/setup.py#L30

Make sure that your hardware is compatible with these settings, and modify them accordingly if needed. Also, please check and update the setup.py in the diff-gaussian-rasterization module as well, as it may have similar hardcoded configurations.

shaoxiang777 avatar Apr 27 '26 10:04 shaoxiang777

没有改动任何文件的情况下报了这个错,想尽了各种办法,一直报131TB的错误

Traceback (most recent call last): File "/home/Inpaint360GS/seg/distillation.py", line 251, in training(lp.extract(args), op.extract(args), pp.extract(args), args, args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, args.use_wandb) File "/home/Inpaint360GS/seg/distillation.py", line 116, in training render_pkg = render(viewpoint_cam, gaussians, pipe, background) File "/home/Inpaint360GS/gaussian_renderer/init.py", line 160, in render rendered_image, radii, rendered_objects, depth, alpha = rasterizer( File "/home//anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(*args, **kwargs) File "/home//anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/diff_gaussian_rasterization_inpaint360gs/init.py", line 259, in forward return rasterize_gaussians( File "/home//anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/diff_gaussian_rasterization_inpaint360gs/init.py", line 30, in rasterize_gaussians return _RasterizeGaussians.apply( File "/home/anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/torch/autograd/function.py", line 506, in apply return super().apply(*args, **kwargs) # type: ignore[misc] File "/home/xuxian/anaconda3/envs/inpaint360gs/lib/python3.10/site-packages/diff_gaussian_rasterization_inpaint360gs/init.py", line 99, in forward num_rendered, color, objects, depth, alpha, radii, geomBuffer, binningBuffer, imgBuffer = _C.rasterize_gaussians(*args) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 131056.57 GiB (GPU 0; 39.49 GiB total capacity; 2.94 GiB already allocated; 35.93 GiB free; 3.04 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF Training progress: 0%|

请问您解决这个问题了吗?遇到相同问题,卡了很久。

YYlin avatar Jul 22 '26 08:07 YYlin