Skip to content

Commit

Permalink
add colab_instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
birshert committed Feb 16, 2021
1 parent 9c0d691 commit 52f3dc7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,6 @@ dmypy.json

# solved notebooks
*_solved*

# any zipped
*.zip
13 changes: 13 additions & 0 deletions colab_instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Running on Google Colab (tested for all weeks)
Google has released its own flavour of Jupyter called Colab, which has free GPUs!

Here's how you can use it:
1. Open https://colab.research.google.com, click **Sign in** in the upper right corner, use your Google credentials to sign in.
2. Click **GITHUB** tab, paste https://github.com/hse-aml/intro-to-dl-pytorch and press Enter
3. Choose the notebook you want to open, e.g. week01/week01_linear_models.ipynb
4. Click **File -> Save a copy in Drive...** to save your progress in Google Drive
5. Click **Runtime -> Change runtime type** and select **GPU** in Hardware accelerator box
6. Start with **executing** some of the first cells that download dependencies and import packages
7. Enjoy the assignment!
8. 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.

0 comments on commit 52f3dc7

Please sign in to comment.