Skip to content

Commit 2a37d97

Browse files
committed
test local_device_count
1 parent 33735e2 commit 2a37d97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lectures/ar1_turningpts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ import arviz as az
6767
sns.set_style('white')
6868
colors = sns.color_palette()
6969
key = random.PRNGKey(0)
70+
71+
print(f"Available devices: {jax.local_device_count()}")
72+
print(f"Device list: {jax.devices()}")
7073
```
7174

7275
## A Univariate First-Order Autoregressive Process

0 commit comments

Comments
 (0)