Skip to content

Commit 0bfcac8

Browse files
authored
Simplify GPU admonition and add to all JAX lectures (#751)
- Simplify _admonition/gpu.md text (more concise messaging) - Add GPU admonition include to 17 JAX lectures that were missing it JAX lectures now with GPU admonition (21 total): - aiyagari.md, ak_aiyagari.md, ar1_bayes.md, back_prop.md - bayes_nonconj.md, endogenous_lake.md, ifp_advanced.md - ifp_discrete.md, ifp_egm.md, ifp_egm_transient_shocks.md - ifp_opi.md, lake_model.md, mccall_fitted_vfi.md - mccall_model.md, mccall_model_with_sep_markov.md - mccall_model_with_separation.md, mccall_persist_trans.md - mix_model.md, mle.md, newton_method.md, os_egm_jax.md
1 parent 5c935a7 commit 0bfcac8

17 files changed

+49
-0
lines changed

lectures/aiyagari.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ kernelspec:
2222

2323
# The Aiyagari Model
2424

25+
```{include} _admonition/gpu.md
26+
```
27+
2528
```{contents} Contents
2629
:depth: 2
2730
```

lectures/ak_aiyagari.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ kernelspec:
1414

1515
# A Long-Lived, Heterogeneous Agent, Overlapping Generations Model
1616

17+
```{include} _admonition/gpu.md
18+
```
19+
1720
In addition to what's in Anaconda, this lecture will need the following library
1821

1922
```{code-cell} ipython3

lectures/endogenous_lake.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ kernelspec:
2222

2323
# Lake Model with an Endogenous Job Finding Rate
2424

25+
```{include} _admonition/gpu.md
26+
```
27+
2528
```{index} single: Lake Model, Endogenous
2629
```
2730

lectures/ifp_advanced.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ kernelspec:
1919

2020
# {index}`The Income Fluctuation Problem V: Stochastic Returns on Assets <single: The Income Fluctuation Problem V: Stochastic Returns on Assets>`
2121

22+
```{include} _admonition/gpu.md
23+
```
24+
2225
```{contents} Contents
2326
:depth: 2
2427
```

lectures/ifp_discrete.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ kernelspec:
1313

1414
# The Income Fluctuation Problem I: Discretization and VFI
1515

16+
```{include} _admonition/gpu.md
17+
```
1618

1719
## Overview
1820

lectures/ifp_egm.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ kernelspec:
2121

2222
# {index}`The Income Fluctuation Problem III: The Endogenous Grid Method <single: The Income Fluctuation Problem III: The Endogenous Grid Method>`
2323

24+
```{include} _admonition/gpu.md
25+
```
26+
2427
```{contents} Contents
2528
:depth: 2
2629
```

lectures/ifp_egm_transient_shocks.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ kernelspec:
2121

2222
# {index}`The Income Fluctuation Problem IV: Transient Income Shocks <single: The Income Fluctuation Problem IV: Transient Income Shocks>`
2323

24+
```{include} _admonition/gpu.md
25+
```
26+
2427
```{contents} Contents
2528
:depth: 2
2629
```

lectures/ifp_opi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ kernelspec:
1313

1414
# The Income Fluctuation Problem II: Optimistic Policy Iteration
1515

16+
```{include} _admonition/gpu.md
17+
```
1618

1719
## Overview
1820

lectures/lake_model.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ kernelspec:
2222

2323
# A Lake Model of Employment and Unemployment
2424

25+
```{include} _admonition/gpu.md
26+
```
27+
2528
```{index} single: Lake Model
2629
```
2730

lectures/mccall_fitted_vfi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ kernelspec:
2121

2222
# Job Search IV: Fitted Value Function Iteration
2323

24+
```{include} _admonition/gpu.md
25+
```
26+
2427
```{contents} Contents
2528
:depth: 2
2629
```

0 commit comments

Comments
 (0)