Skip to content

Commit ca57701

Browse files
authored
MAINT: Upgrade to anaconda=2024.02 and cuda=12.3.1 (#388)
* MAINT: update to anaconda=2024.02 * TMP: remove cache for full test build * fix linkchecker * update status page * install interpolation from repo * v2 of cml runner * Update lectures/odu.md reverts to pypi version which is currently `2.2.6` * enable build cache
1 parent 8b654f2 commit ca57701

File tree

7 files changed

+28
-8
lines changed

7 files changed

+28
-8
lines changed

.github/workflows/cache.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
needs: deploy-runner
2828
runs-on: [self-hosted, cml-gpu]
2929
container:
30-
image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-c
30+
image: docker://mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2024-02-py311
3131
options: --gpus all
3232
steps:
3333
- uses: actions/checkout@v3

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
deploy-runner:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: iterative/setup-cml@v1
7+
- uses: iterative/setup-cml@v2
88
- uses: actions/checkout@v3
99
with:
1010
ref: ${{ github.event.pull_request.head.sha }}
@@ -24,7 +24,7 @@ jobs:
2424
needs: deploy-runner
2525
runs-on: [self-hosted, cml-gpu]
2626
container:
27-
image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-c
27+
image: docker://mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2024-02-py311
2828
options: --gpus all
2929
steps:
3030
- uses: actions/checkout@v3

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
needs: deploy-runner
2929
runs-on: [self-hosted, cml-gpu]
3030
container:
31-
image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-c
31+
image: docker://mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2024-02-py311
3232
options: --gpus all
3333
steps:
3434
- name: Checkout

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- default
44
dependencies:
55
- python=3.11
6-
- anaconda=2023.09
6+
- anaconda=2024.02
77
- pip
88
- pip:
99
- jupyter-book==0.15.1

lectures/_static/quant-econ.bib

+8
Original file line numberDiff line numberDiff line change
@@ -2522,3 +2522,11 @@ @article{stachurski2019impossibility
25222522
year = {2019},
25232523
publisher = {Elsevier}
25242524
}
2525+
2526+
@book{Brunton_Kutz_2019,
2527+
place = {Cambridge},
2528+
title = {Data-Driven Science and Engineering: Machine Learning, Dynamical Systems, and Control},
2529+
publisher = {Cambridge University Press},
2530+
author = {Brunton, Steven L. and Kutz, J. Nathan},
2531+
year = {2019}
2532+
}

lectures/status.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ This table contains the latest execution statistics.
1818

1919
(status:machine-details)=
2020

21-
These lectures are built on `linux` instances through `github actions` and `amazon web services (aws)` to
22-
enable access to a `gpu`. These lectures are built on a [p3.2xlarge](https://aws.amazon.com/ec2/instance-types/p3/)
23-
that has access to `8 vcpu's`, a `V100 NVIDIA Tesla GPU`, and `61 Gb` of memory.
21+
These lectures are built on `linux` instances through `github actions`.
22+
23+
These lectures are using the following python version
24+
25+
```{code-cell} ipython
26+
!python --version
27+
```
28+
29+
and the following package versions
30+
31+
```{code-cell} ipython
32+
:tags: [hide-output]
33+
!conda list
34+
```

lectures/var_dmd.md

+1
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ Dynamic mode decomposition was introduced by {cite}`schmid2010`,
271271
272272
You can read about Dynamic Mode Decomposition {cite}`DMD_book` and {cite}`Brunton_Kutz_2019` (section 7.2).
273273
274+
274275
**Dynamic Mode Decomposition** (DMD) computes a rank $ r < p $ approximation to the least squares regression coefficients $ \hat A $ described by formula {eq}`eq:AhatSVDformula`.
275276
276277

0 commit comments

Comments
 (0)