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:
2727 needs : deploy-runner
2828 runs-on : [self-hosted, cml-gpu]
2929 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
3131 options : --gpus all
3232 steps :
3333 - uses : actions/checkout@v3
3434 with :
3535 ref : ${{ github.event.pull_request.head.sha }}
36- - name : Install Jax and Upgrade CUDA
36+ - name : Check nvidia drivers
3737 shell : bash -l {0}
3838 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
4139 nvidia-smi
4240 - name : Build HTML
4341 shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ jobs:
4040 - name : Display Pip Versions
4141 shell : bash -l {0}
4242 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
5050 # Build Assets (Download Notebooks and PDF via LaTeX)
5151 - name : Build Download Notebooks (sphinx-tojupyter)
5252 shell : bash -l {0}
Original file line number Diff line number Diff line change 1111 fail-fast : false
1212 matrix :
1313 os : ["ubuntu-latest"]
14- python-version : ["3.9 "]
14+ python-version : ["3.10 "]
1515 steps :
1616 - name : Checkout
1717 uses : actions/checkout@v2
5454 fail-fast : false
5555 matrix :
5656 os : ["macos-latest"]
57- python-version : ["3.8 "]
57+ python-version : ["3.10 "]
5858 steps :
5959 - name : Checkout
6060 uses : actions/checkout@v2
8686 # fail-fast: false
8787 # matrix:
8888 # os: ["windows-latest"]
89- # python-version: ["3.8 "]
89+ # python-version: ["3.10 "]
9090 # steps:
9191 # - name: Checkout
9292 # uses: actions/checkout@v2
Original file line number Diff line number Diff line change 1313 fail-fast : false
1414 matrix :
1515 os : ["ubuntu-latest"]
16- python-version : ["3.9 "]
16+ python-version : ["3.10 "]
1717 steps :
1818 - name : Checkout
1919 uses : actions/checkout@v2
2323 auto-update-conda : true
2424 auto-activate-base : true
2525 miniconda-version : ' latest'
26- python-version : 3.9
26+ python-version : ' 3.10 '
2727 environment-file : environment.yml
2828 activate-environment : quantecon
2929 - name : Download "build" folder (cache)
Original file line number Diff line number Diff line change @@ -28,19 +28,17 @@ jobs:
2828 needs : deploy-runner
2929 runs-on : [self-hosted, cml-gpu]
3030 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
3232 options : --gpus all
3333 steps :
3434 - name : Checkout
3535 uses : actions/checkout@v3
3636 - name : Install Git (required to commit notebooks)
3737 shell : bash -l {0}
3838 run : apt-get install -y git
39- - name : Install Jax and Upgrade CUDA
39+ - name : Check nvidia drivers
4040 shell : bash -l {0}
4141 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
4442 nvidia-smi
4543 - name : Display Conda Environment Versions
4644 shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: quantecon
22channels :
33 - default
44dependencies :
5- - python=3.9
6- - anaconda=2022.10
5+ - python=3.10
6+ - anaconda=2023.03
77 - pip
88 - pip :
99 - jupyter-book==0.15.1
You can’t perform that action at this time.
0 commit comments