Skip to content

environment: jax 0.12.1; refresh numpy_vs_numba_vs_jax with its new pin - #76

Merged
mmcky merged 1 commit into
mainfrom
env-jax-0.12.1
Nov 19, 2026
Merged

mmcky merged 1 commit into
mainfrom
env-jax-0.12.1

Conversation

@mmcky

@mmcky mmcky commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

What

This moves the baseline's jax from 0.11.0 to 0.12.1 (the owner's decision of 2026-11-19, QuantEcon/project-monorepo#77). Programming and jax already pin 0.12.1 upstream: QuantEcon/lecture-python-programming#665 and QuantEcon/lecture-jax#374.

File Change
_base/environment-update.yml jax==0.12.1. The comment now names 0.12.1 for the GPU build's jax[cuda13], and drops jax from the exceptions to "the newest release", since 0.12.1 is the newest.
_base/README.md the same, in prose
lectures/numpy_vs_numba_vs_jax.md, sync/ledger.yml the lecture re-promoted from programming at bae31ee: its install line becomes !pip install quantecon "jax==0.12.1", and its ledger entry gets the new digest and pin

Why the lecture comes in this PR

The lecture pins jax exactly, so pool-check's install-listed rule is red whenever the lecture and the list disagree. They can't move one after the other. If the list went first, this PR would be red. If the bot's refresh went first, the refresh would be red, as it is now on the refresh PR that follows today's sync. Editing the pool copy by hand would make drift-check report a pool-edited violation.

So this PR re-promotes the one lecture with tools/promote numpy_vs_numba_vs_jax, after a sync moved programming's pin to bae31ee (00cefa1, run 44485833962). The pool copy and the ledger record change exactly as the nightly refresh would change them. The lecture's change is the one already reviewed and merged in programming#665.

After this merges, a drift-check run rebuilds drift/refresh from main without this lecture, and its pool-check goes green.

Checks

Nothing builds with the list yet, so no site changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL

The owner moved the baseline's jax from 0.11.0 to 0.12.1 on 2026-11-19,
once a test build showed 0.12.1 runs programming's numpy_vs_numba_vs_jax,
whose lax.fori_loop cells hang on 0.11.1. Programming and jax now pin
0.12.1 upstream (QuantEcon/lecture-python-programming#665,
QuantEcon/lecture-jax#374).

The lecture's own install line pins jax exactly, so the list and the lecture
move together: tools/promote numpy_vs_numba_vs_jax re-promotes it from
programming at bae31ee, the same change the nightly refresh would make, and
pool-check's install-listed rule stays satisfied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
Copilot AI balanced review requested due to automatic review settings November 19, 2026 08:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the JAX baseline and lecture pin update.

No open issues 🎉

What changed in this PR

Updates the planned shared environment to JAX 0.12.1 and re-promotes the matching programming lecture so its install pin stays aligned with the baseline. Existing site builds are unchanged because they do not yet use this environment.

Changes:

  • Pins JAX to 0.12.1 in the baseline and lecture install command.
  • Records the refreshed lecture’s source digest and promotion commit.
  • Updates documentation and comments to explain the version change and matching GPU package.
File Description
sync/​ledger.yml Records the lecture’s updated source digest and promotion commit.
lectures/​numpy_vs_numba_vs_jax.md Updates the JAX install pin to 0.12.1.
_base/​README.md Revises the baseline rationale and GPU installation guidance.
_base/​environment-update.yml Pins JAX to 0.12.1 and updates explanatory comments.

Review effort: Balanced

@mmcky
mmcky merged commit ab7dae8 into main Nov 19, 2026
7 checks passed
@mmcky
mmcky deleted the env-jax-0.12.1 branch November 19, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants