From fb7b9f5f78a883415052b7af9ef302f69d556831 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 4 Mar 2024 19:52:20 +1100 Subject: [PATCH 1/4] MAINT: upgrade to anaconda==2024.02 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06b24f0c..e4de6319 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-c + image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2024-02-py311 options: --gpus all steps: - uses: actions/checkout@v3 From 253e8269f518d91ee74a14b673f011fb8fa4ea99 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 4 Mar 2024 19:57:12 +1100 Subject: [PATCH 2/4] update CUDA version in docker --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4de6319..35651a51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2024-02-py311 + image: docker://mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2024-02-py311 options: --gpus all steps: - uses: actions/checkout@v3 From e3c3424020379471636152027d70963427d376bc Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 4 Mar 2024 20:11:23 +1100 Subject: [PATCH 3/4] TMP: disable cache for full build --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35651a51..6517e75c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,13 +41,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - - name: Download "build" folder (cache) - uses: dawidd6/action-download-artifact@v2 - with: - workflow: cache.yml - branch: main - name: build-cache - path: _build + # - name: Download "build" folder (cache) + # uses: dawidd6/action-download-artifact@v2 + # with: + # workflow: cache.yml + # branch: main + # name: build-cache + # path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0} From 70d64bc8627e4761d2a162914ab84c7ec3947819 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 4 Mar 2024 20:44:38 +1100 Subject: [PATCH 4/4] Reenable Cache and update docker for cache and publish ' --- .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/publish.yml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index bb759564..575a9d2b 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -27,7 +27,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-c + image: docker://mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2024-02-py311 options: --gpus all steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6517e75c..35651a51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,13 +41,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - # - name: Download "build" folder (cache) - # uses: dawidd6/action-download-artifact@v2 - # with: - # workflow: cache.yml - # branch: main - # name: build-cache - # path: _build + - name: Download "build" folder (cache) + uses: dawidd6/action-download-artifact@v2 + with: + workflow: cache.yml + branch: main + name: build-cache + path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 04893da0..f5a5788f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311-c + image: docker://mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2024-02-py311 options: --gpus all steps: - name: Checkout