File tree Expand file tree Collapse file tree 6 files changed +18
-22
lines changed Expand file tree Collapse file tree 6 files changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,15 @@ jobs:
27
27
needs : deploy-runner
28
28
runs-on : [self-hosted, cml-gpu]
29
29
container :
30
- image : docker://mmcky/quantecon-lecture-python:py39- anaconda-2022-10-jb-0.15.1
30
+ image : docker://mmcky/quantecon-lecture-python:cuda-12.1.0- anaconda-2023-03-py310
31
31
options : --gpus all
32
32
steps :
33
33
- uses : actions/checkout@v3
34
34
with :
35
35
ref : ${{ github.event.pull_request.head.sha }}
36
- - name : Install Jax and Upgrade CUDA
36
+ - name : Check nvidia drivers
37
37
shell : bash -l {0}
38
38
run : |
39
- pip install --upgrade "jax[cuda]==0.4.2" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
40
- pip install --upgrade "numpyro[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
41
39
nvidia-smi
42
40
- name : Build HTML
43
41
shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ jobs:
40
40
- name : Display Pip Versions
41
41
shell : bash -l {0}
42
42
run : pip list
43
- # - name: Download "build" folder (cache)
44
- # uses: dawidd6/action-download-artifact@v2
45
- # with:
46
- # workflow: cache.yml
47
- # branch: main
48
- # name: build-cache
49
- # path: _build
43
+ - name : Download "build" folder (cache)
44
+ uses : dawidd6/action-download-artifact@v2
45
+ with :
46
+ workflow : cache.yml
47
+ branch : main
48
+ name : build-cache
49
+ path : _build
50
50
# Build Assets (Download Notebooks and PDF via LaTeX)
51
51
- name : Build Download Notebooks (sphinx-tojupyter)
52
52
shell : bash -l {0}
Original file line number Diff line number Diff line change 11
11
fail-fast : false
12
12
matrix :
13
13
os : ["ubuntu-latest"]
14
- python-version : ["3.9 "]
14
+ python-version : ["3.10 "]
15
15
steps :
16
16
- name : Checkout
17
17
uses : actions/checkout@v2
54
54
fail-fast : false
55
55
matrix :
56
56
os : ["macos-latest"]
57
- python-version : ["3.8 "]
57
+ python-version : ["3.10 "]
58
58
steps :
59
59
- name : Checkout
60
60
uses : actions/checkout@v2
86
86
# fail-fast: false
87
87
# matrix:
88
88
# os: ["windows-latest"]
89
- # python-version: ["3.8 "]
89
+ # python-version: ["3.10 "]
90
90
# steps:
91
91
# - name: Checkout
92
92
# uses: actions/checkout@v2
Original file line number Diff line number Diff line change 13
13
fail-fast : false
14
14
matrix :
15
15
os : ["ubuntu-latest"]
16
- python-version : ["3.9 "]
16
+ python-version : ["3.10 "]
17
17
steps :
18
18
- name : Checkout
19
19
uses : actions/checkout@v2
23
23
auto-update-conda : true
24
24
auto-activate-base : true
25
25
miniconda-version : ' latest'
26
- python-version : 3.9
26
+ python-version : ' 3.10 '
27
27
environment-file : environment.yml
28
28
activate-environment : quantecon
29
29
- name : Download "build" folder (cache)
Original file line number Diff line number Diff line change @@ -28,19 +28,17 @@ jobs:
28
28
needs : deploy-runner
29
29
runs-on : [self-hosted, cml-gpu]
30
30
container :
31
- image : docker://mmcky/quantecon-lecture-python:py39- anaconda-2022-10-jb-0.15.1
31
+ image : docker://mmcky/quantecon-lecture-python:cuda-12.1.0- anaconda-2023-03-py310
32
32
options : --gpus all
33
33
steps :
34
34
- name : Checkout
35
35
uses : actions/checkout@v3
36
36
- name : Install Git (required to commit notebooks)
37
37
shell : bash -l {0}
38
38
run : apt-get install -y git
39
- - name : Install Jax and Upgrade CUDA
39
+ - name : Check nvidia drivers
40
40
shell : bash -l {0}
41
41
run : |
42
- pip install --upgrade "jax[cuda]==0.4.2" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
43
- pip install --upgrade "numpyro[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
44
42
nvidia-smi
45
43
- name : Display Conda Environment Versions
46
44
shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: quantecon
2
2
channels :
3
3
- default
4
4
dependencies :
5
- - python=3.9
6
- - anaconda=2022.10
5
+ - python=3.10
6
+ - anaconda=2023.03
7
7
- pip
8
8
- pip :
9
9
- jupyter-book==0.15.1
You can’t perform that action at this time.
0 commit comments