Google Colab updates its runtime periodically to use newer versions of packages like Tensorflow. This can sometimes affect the use of GPUs for notebooks that require older versions, or cause problems in installing required packages. To get around it, please use the fallback runtime before running any of the code in your notebook. Here are the steps:
-
Make sure that you are already connected to a runtime (CPU or GPU, depending on the default used in the assignment). You can click on that on the upper right of the UI:
-
After connecting, go to
Tools>Command Palette:
-
Search for “fallback” and select
Use fallback runtime version:
- Wait for the runtime to reconnect and start solving the assignment (or re-run all your code if you already started it beforehand). It can take up to 5 minutes for the fallback runtime to connect.
In most cases, you won’t need to use this fallback. But in case you do, please report it by creating a new topic in the Forum so the course mentors and staff will be aware of it. We will try to upgrade the graders to work with more recent versions. This process can take some time so we advise that you use the fallback in the meantime. Thank you!


