I am using Google Colab and using Hugging Face library. The code ran once but I tried to restart the session and rerun it and resulted in the following error.
RuntimeError: CUDA out of memory. Tried to allocate 30.00 MiB (GPU 0; 7.43 GiB
total capacity; 6.58 GiB already allocated; 30.94 MiB free; 6.79 GiB reserved in 
total by PyTorch)

It would be really great to understand what is causing this issue.