update: this question is related to Google Colab\'s \"Notebook settings: Hardware accelerator: GPU\". This question was written before the \"TPU\" option was added.
Restart Jupyter IPython Kernel:
!pkill -9 -f ipykernel_launcher