Irina51244 opened this issue 2 years ago · 0 comments
RuntimeError: CUDA out of memory. Tried to allocate 4.46 GiB (GPU 0; 11.00 GiB total capacity; 6.78 GiB already allocated; 2.39 GiB free; 6.79 GiB reserved in total by PyTorch) By 'nvidia-smi', my GPU memory is shown below. Why this issue happened?
RuntimeError: CUDA out of memory. Tried to allocate 4.46 GiB (GPU 0; 11.00 GiB total capacity; 6.78 GiB already allocated; 2.39 GiB free; 6.79 GiB reserved in total by PyTorch)