Skip to content

Commit 52f3dc7

Browse files
committed
add colab_instructions
1 parent 9c0d691 commit 52f3dc7

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,6 @@ dmypy.json
130130

131131
# solved notebooks
132132
*_solved*
133+
134+
# any zipped
135+
*.zip

colab_instructions.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Running on Google Colab (tested for all weeks)
2+
Google has released its own flavour of Jupyter called Colab, which has free GPUs!
3+
4+
Here's how you can use it:
5+
1. Open https://colab.research.google.com, click **Sign in** in the upper right corner, use your Google credentials to sign in.
6+
2. Click **GITHUB** tab, paste https://github.com/hse-aml/intro-to-dl-pytorch and press Enter
7+
3. Choose the notebook you want to open, e.g. week01/week01_linear_models.ipynb
8+
4. Click **File -> Save a copy in Drive...** to save your progress in Google Drive
9+
5. Click **Runtime -> Change runtime type** and select **GPU** in Hardware accelerator box
10+
6. Start with **executing** some of the first cells that download dependencies and import packages
11+
7. Enjoy the assignment!
12+
8. If you run many notebooks on Colab, they can continue to eat up memory,
13+
you can kill them with `! pkill -9 python3` and check with `! nvidia-smi` that GPU memory is freed.

0 commit comments

Comments
 (0)