youmi-zym / GO-SLAM

[ICCV2023] GO-SLAM: Global Optimization for Consistent 3D Instant Reconstruction
Apache License 2.0
355 stars 30 forks source link

GPU ran out of memory #38

Open Melvin-leo opened 1 month ago

Melvin-leo commented 1 month ago

Currently my GPU is 3080 16gb of vram and yet my cuda ran out of memory

RuntimeError: CUDA out of memory. Tried to allocate 1.43 GiB (GPU 0; 15.64 GiB total capacity; 2.04 GiB already allocated; 1.40 GiB free; 4.59 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation

image

Not sure if there are any tips to resolve this error?

leavesnight commented 1 month ago

my GPU 4090 RTX 24GB also CUDA out of memory when running EuRoC V202medium, why?

leavesnight commented 1 month ago

my GPU 4090 RTX 24GB also CUDA out of memory when running EuRoC V202medium, why?

I've solved it by using back cuda11.3, this problem happend with cuda11.7