Normally torch.cuda.empty_cache()  clears cache as stated in documentation. The documentation also stated that it doesn’t increase the amount of GPU memory available for PyTorch. I’ve been dealing with same problem on colab, the problem can be related with its garbage collector or something like that. Removing variables (e.g. del model) or a factory reset would be a precise solution.