Hi all, when I trained renset50 with cross entropy loss in Google Colab I got this error:
RuntimeError: CUDA out of memory. Tried to allocate 128.00 MiB (GPU 0; 14.75 GiB total capacity; 13.25 GiB already allocated; 126.81 MiB free; 13.51 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
how can I run resnet50 without any problem on Pytorch using GPU?
any insight is very appreciated.