youmi-zym / GO-SLAM

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

GPU ran out of memory #38

Open Melvin-leo opened 3 months ago

Melvin-leo commented 3 months 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 3 months ago

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

leavesnight commented 3 months 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