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
12 changes: 6 additions & 6 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
- name: Install JAX and Numpyro
shell: bash -l {0}
run: |
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
# Pinned to the lecture baseline, QuantEcon/lectures'
# _base/environment-update.yml. jax 0.11.1 hung numpy_vs_numba_vs_jax's
# lax.fori_loop cells -- they jit with device=cpu, so the CPU-path
# regression bites even on these GPU runners. Context is recorded in
# QuantEcon/workspace-lectures#49. With jax already present, the
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
# and does not upgrade.
pip install "jax[cuda13]==0.11.0"
# regression bit even on these GPU runners (QuantEcon/workspace-lectures#49);
# 0.12.1 runs them. The lecture's own install cell names the same
# version, so it is satisfied and reinstalls nothing.
pip install "jax[cuda13]==0.12.1"
pip install numpyro
python scripts/test-jax-install.py
- name: Build matplotlib's font cache
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- name: Install JAX and Numpyro
shell: bash -l {0}
run: |
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
# Pinned to the lecture baseline, QuantEcon/lectures'
# _base/environment-update.yml. jax 0.11.1 hung numpy_vs_numba_vs_jax's
# lax.fori_loop cells -- they jit with device=cpu, so the CPU-path
# regression bites even on these GPU runners. Context is recorded in
# QuantEcon/workspace-lectures#49. With jax already present, the
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
# and does not upgrade.
pip install "jax[cuda13]==0.11.0"
# regression bit even on these GPU runners (QuantEcon/workspace-lectures#49);
# 0.12.1 runs them. The lecture's own install cell names the same
# version, so it is satisfied and reinstalls nothing.
pip install "jax[cuda13]==0.12.1"
pip install numpyro
python scripts/test-jax-install.py
- name: Build matplotlib's font cache
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/execution-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@ jobs:
- name: Install Jax [CPU]
shell: bash -l {0}
run: |
# Pinned: jax 0.11.1 (2026-08-17) regresses XLA:CPU execution --
# numpy_vs_numba_vs_jax's lax.fori_loop and lax.scan cells go
# quadratic in n, so this -W build dies on CellTimeoutError. Matches
# the pin already in cache/ci/publish.yml; evidence and the exposure
# map are recorded in QuantEcon/workspace-lectures#49. With jax
# already present, the lecture's unpinned
# `!pip install quantecon jax` cell is satisfied and does not
# upgrade.
pip install "jax[CPU]==0.11.0"
# Pinned to the lecture baseline, QuantEcon/lectures'
# _base/environment-update.yml, as in cache/ci/publish.yml. jax 0.11.1
# regressed XLA:CPU execution -- numpy_vs_numba_vs_jax's lax.fori_loop
# and lax.scan cells went quadratic in n, so this -W build died on
# CellTimeoutError (QuantEcon/workspace-lectures#49); 0.12.1 runs them.
# The lecture's own install cell names the same version, so it is
# satisfied and reinstalls nothing.
pip install "jax[CPU]==0.12.1"
- name: Build Lectures (+ Execution Checks)
shell: bash -l {0}
run: jb build lectures --path-output=./ -W --keep-going
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/execution-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@ jobs:
- name: Install Jax [CPU]
shell: bash -l {0}
run: |
# Pinned: jax 0.11.1 (2026-08-17) regresses XLA:CPU execution --
# numpy_vs_numba_vs_jax's lax.fori_loop and lax.scan cells go
# quadratic in n, so this -W build dies on CellTimeoutError. Matches
# the pin already in cache/ci/publish.yml; evidence and the exposure
# map are recorded in QuantEcon/workspace-lectures#49. With jax
# already present, the lecture's unpinned
# `!pip install quantecon jax` cell is satisfied and does not
# upgrade.
pip install "jax[CPU]==0.11.0"
# Pinned to the lecture baseline, QuantEcon/lectures'
# _base/environment-update.yml, as in cache/ci/publish.yml. jax 0.11.1
# regressed XLA:CPU execution -- numpy_vs_numba_vs_jax's lax.fori_loop
# and lax.scan cells went quadratic in n, so this -W build died on
# CellTimeoutError (QuantEcon/workspace-lectures#49); 0.12.1 runs them.
# The lecture's own install cell names the same version, so it is
# satisfied and reinstalls nothing.
pip install "jax[CPU]==0.12.1"
- name: Build Lectures (+ Execution Checks)
shell: bash -l {0}
run: jb build lectures --path-output=./ -W --keep-going
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/execution-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@ jobs:
- name: Install Jax [CPU]
shell: bash -l {0}
run: |
# Pinned: jax 0.11.1 (2026-08-17) regresses XLA:CPU execution --
# numpy_vs_numba_vs_jax's lax.fori_loop and lax.scan cells go
# quadratic in n, so this -W build dies on CellTimeoutError. Matches
# the pin already in cache/ci/publish.yml; evidence and the exposure
# map are recorded in QuantEcon/workspace-lectures#49. With jax
# already present, the lecture's unpinned
# `!pip install quantecon jax` cell is satisfied and does not
# upgrade.
pip install "jax[CPU]==0.11.0"
# Pinned to the lecture baseline, QuantEcon/lectures'
# _base/environment-update.yml, as in cache/ci/publish.yml. jax 0.11.1
# regressed XLA:CPU execution -- numpy_vs_numba_vs_jax's lax.fori_loop
# and lax.scan cells went quadratic in n, so this -W build died on
# CellTimeoutError (QuantEcon/workspace-lectures#49); 0.12.1 runs them.
# The lecture's own install cell names the same version, so it is
# satisfied and reinstalls nothing.
pip install "jax[CPU]==0.12.1"
- name: Build Lectures (+ Execution Checks)
shell: powershell
run: jb build lectures --path-output=./ -W --keep-going
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
- name: Install JAX and Numpyro
shell: bash -l {0}
run: |
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
# Pinned to the lecture baseline, QuantEcon/lectures'
# _base/environment-update.yml. jax 0.11.1 hung numpy_vs_numba_vs_jax's
# lax.fori_loop cells -- they jit with device=cpu, so the CPU-path
# regression bites even on these GPU runners. Context is recorded in
# QuantEcon/workspace-lectures#49. With jax already present, the
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
# and does not upgrade.
pip install "jax[cuda13]==0.11.0"
# regression bit even on these GPU runners (QuantEcon/workspace-lectures#49);
# 0.12.1 runs them. The lecture's own install cell names the same
# version, so it is satisfied and reinstalls nothing.
pip install "jax[cuda13]==0.12.1"
pip install numpyro
python scripts/test-jax-install.py
- name: Build matplotlib's font cache
Expand Down
2 changes: 1 addition & 1 deletion lectures/numpy_vs_numba_vs_jax.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
---
tags: [hide-output]
---
!pip install quantecon "jax==0.11.0"
!pip install quantecon "jax==0.12.1"
Comment thread
mmcky marked this conversation as resolved.
Resolved
```

```{include} _admonition/gpu.md
Expand Down
Loading