Google has released its own flavour of Jupyter called Colab, which has free GPUs!
Here's how you can use it:
- Open https://colab.research.google.com, click Sign in in the upper right corner, use your Google credentials to sign in.
- Click GITHUB tab, paste https://github.com/hse-aml/intro-to-dl-pytorch and press Enter
- Choose the notebook you want to open, e.g. week01/week01_linear_models.ipynb
- Click File -> Save a copy in Drive... to save your progress in Google Drive
- Click Runtime -> Change runtime type and select GPU in Hardware accelerator box
- Start with executing some of the first cells that download dependencies and import packages
- Enjoy the assignment!
- If you run many notebooks on Colab, they can continue to eat up memory,
you can kill them with
! pkill -9 python3
and check with! nvidia-smi
that GPU memory is freed.