File tree Expand file tree Collapse file tree 8 files changed +19
-25
lines changed Expand file tree Collapse file tree 8 files changed +19
-25
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,16 @@ 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
36
# Install Hardware Dependant Libraries
37
- - name : Install Jax and Upgrade CUDA
37
+ - name : Check nvidia drivers
38
38
shell : bash -l {0}
39
39
run : |
40
- pip install --upgrade "jax[cuda]==0.4.2" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
41
- pip install --upgrade "numpyro[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
42
40
nvidia-smi
43
41
- name : Build HTML
44
42
shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -24,32 +24,30 @@ jobs:
24
24
needs : deploy-runner
25
25
runs-on : [self-hosted, cml-gpu]
26
26
container :
27
- image : docker://mmcky/quantecon-lecture-python:py39- anaconda-2022-10-jb-0.15.1
27
+ image : docker://mmcky/quantecon-lecture-python:cuda-12.1.0- anaconda-2023-03-py310
28
28
options : --gpus all
29
29
steps :
30
30
- uses : actions/checkout@v3
31
31
with :
32
32
ref : ${{ github.event.pull_request.head.sha }}
33
33
# Install Hardware Dependant Libraries
34
- - name : Install Jax and Upgrade CUDA
34
+ - name : Check nvidia drivers
35
35
shell : bash -l {0}
36
36
run : |
37
- pip install --upgrade "jax[cuda]==0.4.2" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
38
- pip install --upgrade "numpyro[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
39
37
nvidia-smi
40
38
- name : Display Conda Environment Versions
41
39
shell : bash -l {0}
42
40
run : conda list
43
41
- name : Display Pip Versions
44
42
shell : bash -l {0}
45
43
run : pip list
46
- - name : Download "build" folder (cache)
47
- uses : dawidd6/action-download-artifact@v2
48
- with :
49
- workflow : cache.yml
50
- branch : main
51
- name : build-cache
52
- path : _build
44
+ # - name: Download "build" folder (cache)
45
+ # uses: dawidd6/action-download-artifact@v2
46
+ # with:
47
+ # workflow: cache.yml
48
+ # branch: main
49
+ # name: build-cache
50
+ # path: _build
53
51
# Build Assets (Download Notebooks and PDF via LaTeX)
54
52
- name : Build Download Notebooks (sphinx-tojupyter)
55
53
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
Original file line number Diff line number Diff line change 11
11
fail-fast : false
12
12
matrix :
13
13
os : ["macos-latest"]
14
- python-version : ["3.9 "]
14
+ python-version : ["3.10 "]
15
15
steps :
16
16
- name : Checkout
17
17
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 11
11
fail-fast : false
12
12
matrix :
13
13
os : ["windows-latest"]
14
- python-version : ["3.9 "]
14
+ python-version : ["3.10 "]
15
15
steps :
16
16
- name : Checkout
17
17
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 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,17 +28,15 @@ 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
# Install Hardware Dependant Libraries
37
- - name : Install Jax and Upgrade CUDA
37
+ - name : Check nvidia drivers
38
38
shell : bash -l {0}
39
39
run : |
40
- pip install --upgrade "jax[cuda]==0.4.2" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
41
- pip install --upgrade "numpyro[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
42
40
nvidia-smi
43
41
- name : Display Conda Environment Versions
44
42
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