Skip to content

Commit fc0b03d

Browse files
mmckyclaude
andcommitted
Pin jax to 0.11.0 in CI -- jax 0.11.1 hangs the fori_loop cells on CPU
jax 0.11.1 (2026-08-17) regresses lax.fori_loop on the CPU path. numpy_vs_numba_vs_jax's jax cells jit with device=cpu, so the regression bites even on this repo's GPU runners; the unpinned 'pip install -U jax[cuda13]' would resolve the broken release at the next Monday cache rebuild (2026-08-24). Executed in 8.18s under 0.11.0 on 2026-08-17; the fr/fa siblings measured >1800s under 0.11.1. Full evidence and the family-wide exposure map are recorded in QuantEcon/workspace-lectures#49. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent ccb8084 commit fc0b03d

3 files changed

Lines changed: 21 additions & 3 deletions

File tree

.github/workflows/cache.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ jobs:
2121
- name: Install JAX and Numpyro
2222
shell: bash -l {0}
2323
run: |
24-
pip install -U "jax[cuda13]"
24+
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
25+
# lax.fori_loop cells -- they jit with device=cpu, so the CPU-path
26+
# regression bites even on these GPU runners. Context is recorded in
27+
# QuantEcon/workspace-lectures#49. With jax already present, the
28+
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
29+
# and does not upgrade.
30+
pip install "jax[cuda13]==0.11.0"
2531
pip install numpyro
2632
python scripts/test-jax-install.py
2733
- name: Check nvidia drivers

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ jobs:
2626
- name: Install JAX and Numpyro
2727
shell: bash -l {0}
2828
run: |
29-
pip install -U "jax[cuda13]"
29+
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
30+
# lax.fori_loop cells -- they jit with device=cpu, so the CPU-path
31+
# regression bites even on these GPU runners. Context is recorded in
32+
# QuantEcon/workspace-lectures#49. With jax already present, the
33+
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
34+
# and does not upgrade.
35+
pip install "jax[cuda13]==0.11.0"
3036
pip install numpyro
3137
python scripts/test-jax-install.py
3238
- name: Install latex dependencies

.github/workflows/publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ jobs:
3838
- name: Install JAX and Numpyro
3939
shell: bash -l {0}
4040
run: |
41-
pip install -U "jax[cuda13]"
41+
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
42+
# lax.fori_loop cells -- they jit with device=cpu, so the CPU-path
43+
# regression bites even on these GPU runners. Context is recorded in
44+
# QuantEcon/workspace-lectures#49. With jax already present, the
45+
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
46+
# and does not upgrade.
47+
pip install "jax[cuda13]==0.11.0"
4248
pip install numpyro
4349
python scripts/test-jax-install.py
4450
- name: Check nvidia drivers

0 commit comments

Comments
 (0)