Skip to content

Commit a793512

Browse files
committed
updates experiments
1 parent cf28a4c commit a793512

2 files changed

Lines changed: 17 additions & 15 deletions

File tree

lectures/back_prop.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ kernelspec:
1616
```{include} _admonition/gpu.md
1717
```
1818

19+
In addition to what's included in base Anaconda, we need to install the following packages
20+
21+
```{code-cell} ipython3
22+
:tags: [hide-output]
23+
24+
!pip install kaleido
25+
!conda install -y -c plotly plotly plotly-orca retrying
26+
```
27+
28+
We also need to install JAX to run this lecture
29+
1930
```{code-cell} ipython3
2031
:tags: [skip-execution]
2132
@@ -28,15 +39,6 @@ import jax
2839
print(f"JAX backend: {jax.devices()[0].platform}")
2940
```
3041

31-
In addition to what's included in base Anaconda, we need to install the following packages
32-
33-
```{code-cell} ipython3
34-
:tags: [hide-output]
35-
36-
!pip install kaleido
37-
!conda install -y -c plotly plotly plotly-orca retrying
38-
```
39-
4042
```{note}
4143
If you are running this on Google Colab the above cell will
4244
present an error. This is because Google Colab doesn't use Anaconda to manage

lectures/status.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ and the following package versions
3333
!conda list
3434
```
3535

36+
This lecture series has access to the following GPU
37+
38+
```{code-cell} ipython
39+
!nvidia-smi
40+
```
41+
3642
You can check the backend used by JAX using:
3743

3844
```{code-cell} ipython3
3945
import jax
4046
# Check if JAX is using GPU
4147
print(f"JAX backend: {jax.devices()[0].platform}")
42-
```
43-
44-
and this lecture series also has access to the following GPU
45-
46-
```{code-cell} ipython
47-
!nvidia-smi
4848
```

0 commit comments

Comments
 (0)