From d49b5ce20fcc4fc6d28ebedb7742264c343ace40 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 28 Aug 2025 03:49:22 +0000 Subject: [PATCH 1/3] Initial plan From dcccb477e66975b3761109de9ba9e9e92a1e4860 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 28 Aug 2025 04:01:59 +0000 Subject: [PATCH 2/3] Standardize seealso admonitions to consistent format Co-authored-by: mmcky <8263752+mmcky@users.noreply.github.com> --- lectures/newton_method.md | 3 +-- lectures/wealth_dynamics.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lectures/newton_method.md b/lectures/newton_method.md index 4f2788cf1..3620be109 100644 --- a/lectures/newton_method.md +++ b/lectures/newton_method.md @@ -29,8 +29,7 @@ kernelspec: ``` ```{seealso} -**GPU:** A version of this lecture which makes use of [jax](https://jax.readthedocs.io) to run the code -on a `GPU` is [available here](https://jax.quantecon.org/newtons_method.html) +A version of this lecture using a GPU is [available here](https://jax.quantecon.org/newtons_method.html) ``` ## Overview diff --git a/lectures/wealth_dynamics.md b/lectures/wealth_dynamics.md index bdd5d7d8f..13010af8f 100644 --- a/lectures/wealth_dynamics.md +++ b/lectures/wealth_dynamics.md @@ -24,8 +24,7 @@ kernelspec: ``` ```{seealso} -A [version of this lecture](https://jax.quantecon.org/wealth_dynamics.html) using a `GPU` -is [available here](https://jax.quantecon.org/wealth_dynamics.html) +A version of this lecture using a GPU is [available here](https://jax.quantecon.org/wealth_dynamics.html) ``` In addition to what's in Anaconda, this lecture will need the following libraries: From d11b9463357ed3b3d0e91277452e7e63104dffec Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 28 Aug 2025 08:00:08 +0000 Subject: [PATCH 3/3] Update seealso admonitions with standardized JAX template and intersphinx links Co-authored-by: mmcky <8263752+mmcky@users.noreply.github.com> --- lectures/_config.yml | 3 +++ lectures/newton_method.md | 4 ++-- lectures/wealth_dynamics.md | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lectures/_config.yml b/lectures/_config.yml index 9fde9a122..c60ac8dc0 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -98,6 +98,9 @@ sphinx: advanced: - "https://python-advanced.quantecon.org" - null + jax: + - "https://jax.quantecon.org/" + - null mathjax3_config: tex: macros: diff --git a/lectures/newton_method.md b/lectures/newton_method.md index 3620be109..f6b8a6733 100644 --- a/lectures/newton_method.md +++ b/lectures/newton_method.md @@ -29,7 +29,7 @@ kernelspec: ``` ```{seealso} -A version of this lecture using a GPU is [available here](https://jax.quantecon.org/newtons_method.html) +A version of this lecture using [JAX](https://github.com/jax-ml/jax) is {doc}`available here ` ``` ## Overview @@ -789,7 +789,7 @@ With the larger overhead, the speed is not better than the optimized `scipy` fun Our next step is to investigate a large market with 3,000 goods. A JAX version of this section using GPU accelerated linear algebra and -automatic differentiation is available [here](https://jax.quantecon.org/newtons_method.html#application) +automatic differentiation is {doc}`available here ` The excess demand function is essentially the same, but now the matrix $A$ is $3000 \times 3000$ and the parameter vectors $b$ and $c$ are $3000 \times 1$. diff --git a/lectures/wealth_dynamics.md b/lectures/wealth_dynamics.md index 13010af8f..f8d544346 100644 --- a/lectures/wealth_dynamics.md +++ b/lectures/wealth_dynamics.md @@ -24,7 +24,7 @@ kernelspec: ``` ```{seealso} -A version of this lecture using a GPU is [available here](https://jax.quantecon.org/wealth_dynamics.html) +A version of this lecture using [JAX](https://github.com/jax-ml/jax) is {doc}`available here ` ``` In addition to what's in Anaconda, this lecture will need the following libraries: