We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bca43b commit 33ff39fCopy full SHA for 33ff39f
2 files changed
lectures/back_prop.md
@@ -595,7 +595,7 @@ Image(fig.to_image(format="png"))
595
596
```{code-cell} ipython3
597
## to check that gpu is activated in environment
598
-jax.extend.backend.get_backend()
+print(f"JAX backend: {jax.devices()[0].platform}")
599
```
600
601
```{note}
lectures/status.md
@@ -33,7 +33,15 @@ and the following package versions
33
!conda list
34
35
36
-This lecture series also has access to the following GPU
+You can check the backend used by JAX using:
37
+
38
+```{code-cell} ipython3
39
+import jax
40
+# Check if JAX is using GPU
41
42
+```
43
44
+and this lecture series also has access to the following GPU
45
46
```{code-cell} ipython
47
!nvidia-smi
0 commit comments