I’ve run into this error when I try to load a batch onto the GPU that is too large to fit. The solution in this case is to select a smaller batch size.
I’ve also had this issue when I stop code during execution, I think because the GPU memory is not properly cleared in this case. The solution for me here has been to restart the kernel.
I’d start with checking these first. If neither of these solutions works for you, you’ll have to get some more detailed help.
Lastly, the following command line command provides a display of the GPU resources and their utilization, and can be useful for diagnosing issues:

watch nvidia-smi -l 1