Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
- name: Install JAX and Numpyro
shell: bash -l {0}
run: |
pip install -U "jax[cuda13]"
# Pinned to the lecture baseline, QuantEcon/lectures' _base/environment-update.yml.
pip install "jax[cuda13]==0.12.1"
pip install numpyro
python scripts/test-jax-install.py
- name: Build matplotlib's font cache
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
- name: Install JAX and Numpyro
shell: bash -l {0}
run: |
pip install -U "jax[cuda13]"
# Pinned to the lecture baseline, QuantEcon/lectures' _base/environment-update.yml.
pip install "jax[cuda13]==0.12.1"
pip install numpyro
python scripts/test-jax-install.py
- name: Build matplotlib's font cache
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
- name: Install JAX and Numpyro
shell: bash -l {0}
run: |
pip install -U "jax[cuda13]"
# Pinned to the lecture baseline, QuantEcon/lectures' _base/environment-update.yml.
pip install "jax[cuda13]==0.12.1"
pip install numpyro
python scripts/test-jax-install.py
- name: Build matplotlib's font cache
Expand Down
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ dependencies:
- pip
- pip:
- jupyter-book>=1.0.4post1,<2.0
- quantecon-book-theme==0.22.1
- quantecon-book-theme==0.22.2
- sphinx-tojupyter==0.6.0
- sphinxext-rediraffe==0.3.0
- sphinx-exercise==1.2.2
- sphinx-proof==0.4.0
- sphinx-proof==0.4.1
- sphinxcontrib-youtube==1.5.0
- sphinx-togglebutton==0.4.5
- sphinx-reredirects==1.1.0
Expand Down
2 changes: 1 addition & 1 deletion lectures/ak2.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ In addition to what’s in Anaconda, this lecture will need the following librar

```{code-cell} ipython3
:tags: [hide-output]
!pip install --upgrade quantecon
!pip install quantecon
```

## Overview
Expand Down
12 changes: 2 additions & 10 deletions lectures/back_prop.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,19 @@ In addition to what's included in base Anaconda, we need to install the followin
```{code-cell} ipython3
:tags: [hide-output]

!pip install -U kaleido plotly
!conda install -y -c plotly plotly-orca
!pip install "kaleido>=1" "plotly>=6.1"

# kaleido needs chrome to build images
import kaleido
kaleido.get_chrome_sync()
```

```{note}
If you are running this on Google Colab the above cell will
present an error. This is because Google Colab doesn't use Anaconda to manage
the Python packages. However this lecture will still execute as Google Colab
has `plotly` installed.
```

We also need to install JAX to run this lecture

```{code-cell} ipython3
:tags: [skip-execution]

!pip install --upgrade jax
!pip install jax
```

```{code-cell} ipython3
Expand Down
2 changes: 1 addition & 1 deletion lectures/kesten_processes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
```{code-cell} ipython3
:tags: [hide-output]

!pip install --upgrade quantecon yfinance
!pip install quantecon yfinance
!pip install jax
```

Expand Down
2 changes: 1 addition & 1 deletion lectures/likelihood_ratio_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ In addition to what’s in Anaconda, this lecture will need the following librar

```{code-cell} ipython3
:tags: [hide-output]
!pip install --upgrade quantecon
!pip install quantecon
```

## Overview
Expand Down
4 changes: 2 additions & 2 deletions lectures/opt_transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ several implementations of linear programming, including, in order,
```{code-cell} ipython3
:tags: [hide-output]

!pip install --upgrade quantecon
!pip install --upgrade POT
!pip install quantecon
!pip install POT
```

Let's start with some imports.
Expand Down
2 changes: 1 addition & 1 deletion lectures/pandas_panel.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ In addition to what’s in Anaconda, this lecture will need the following librar
```{code-cell} ipython3
:tags: [hide-output]

!pip install --upgrade seaborn
!pip install seaborn
```

We use the following imports.
Expand Down
2 changes: 1 addition & 1 deletion lectures/robust_permanent_income.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie

```{code-cell} ipython3
:tags: [hide-output]
!pip install --upgrade quantecon
!pip install quantecon
```

## Overview
Expand Down
Loading