Hard to tell without seeing some code. Maybe start by checking CUDA/CUDNN versions on both platforms?
Colab for me shows:

image.png1205×348 23.7 KB

I have also had problems with old hardware (780ti) a long time ago behaving strangely when memory consumption was close to 100%.