Skip to content

Commit 213e10b

Browse files
authored
Update README.md
1 parent a662f44 commit 213e10b

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,29 @@ pip install -r requirements.txt
6262

6363
* Option 3
6464

65-
Run
65+
Run the following. (Note the `--depth 1` prevents installing the whole history, which is very large).
6666
```
6767
git clone --depth 1 https://github.com/probml/pyprobml.git
6868
```
6969
Then install manually.
7070

71-
## GCP, TPUs, and all that
71+
If you want to save the figures, you first need to execute something like this
72+
```
73+
export FIG_DIR="/teamspace/studios/this_studio/figures"
74+
```
75+
This is used by the [savefig](https://github.com/probml/probml-utils/blob/main/probml_utils/plotting.py#L78) function
76+
to store pdf files.
77+
78+
79+
## Cloud computing
7280

7381
When you want more power or control than colab gives you,
74-
you should get a Google Cloud Platform (GCP) account
75-
(or you can use some other cloud provider, like Paperspace)
76-
to get a virtual machine with GPUs or TPUs.
77-
You can then use this as a virtual desktop which you can access via ssh from inside VScode.
78-
We have created [a short tutorial on Colab, GCP and TPUs](https://github.com/probml/pyprobml/blob/master/notebooks/tutorials/colab_gcp_tpu_tutorial.md) with more information.
82+
I recommend you use
83+
https://lightning.ai/studios,
84+
which makes it very easy to develop using VScode, running on a VM accessed from your web browser;
85+
you can then launch on one or more GPUs when needed with a single button click.
86+
Alternatively, if you are a power user, you can try Google Cloud Platform, which supports GPUs and TPUs;
87+
see this [short tutorial on Colab, GCP and TPUs](https://github.com/probml/pyprobml/blob/master/notebooks/tutorials/colab_gcp_tpu_tutorial.md).
7988

8089

8190
## How to contribute

0 commit comments

Comments
 (0)