Skip to content

Commit 158090f

Browse files
authored
Update GPU admonition to match jstac's text (#448)
* Add centralized GPU admonition for JAX lectures - Create _admonition/gpu.md for single-source GPU notice - Update jax_intro.md to use include directive - Update numpy_vs_numba_vs_jax.md to use include directive This makes it easier to maintain consistent GPU notices across all JAX-related lectures. * Fix grammar: target -> targets * Simplify GPU admonition text * Update GPU admonition to match jstac's text from lecture-python.myst
1 parent c4c03c8 commit 158090f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lectures/_admonition/gpu.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
```{admonition} GPU
22
:class: warning
33
4-
This lecture is designed to run on a GPU. To use Google Colab's free GPUs, click the play icon top right, select Colab, and set the runtime to include a GPU. For local GPU setup, see the [JAX installation guide](https://github.com/google/jax).
4+
This lecture was built using a machine with access to a GPU.
5+
6+
[Google Colab](https://colab.research.google.com/) has a free tier with GPUs
7+
that you can access as follows:
8+
9+
1. Click on the "play" icon top right
10+
2. Select Colab
11+
3. Set the runtime environment to include a GPU
512
```

0 commit comments

Comments
 (0)