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:
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 }}
3636 # Install Hardware Dependant Libraries
37- - name : Install Jax and Upgrade CUDA
37+ - name : Check nvidia drivers
3838 shell : bash -l {0}
3939 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
4240 nvidia-smi
4341 - name : Build HTML
4442 shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -24,32 +24,30 @@ jobs:
2424 needs : deploy-runner
2525 runs-on : [self-hosted, cml-gpu]
2626 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
2828 options : --gpus all
2929 steps :
3030 - uses : actions/checkout@v3
3131 with :
3232 ref : ${{ github.event.pull_request.head.sha }}
3333 # Install Hardware Dependant Libraries
34- - name : Install Jax and Upgrade CUDA
34+ - name : Check nvidia drivers
3535 shell : bash -l {0}
3636 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
3937 nvidia-smi
4038 - name : Display Conda Environment Versions
4139 shell : bash -l {0}
4240 run : conda list
4341 - name : Display Pip Versions
4442 shell : bash -l {0}
4543 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
5351 # Build Assets (Download Notebooks and PDF via LaTeX)
5452 - name : Build Download Notebooks (sphinx-tojupyter)
5553 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
Original file line number Diff line number Diff line change 1111 fail-fast : false
1212 matrix :
1313 os : ["macos-latest"]
14- python-version : ["3.9 "]
14+ python-version : ["3.10 "]
1515 steps :
1616 - name : Checkout
1717 uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1111 fail-fast : false
1212 matrix :
1313 os : ["windows-latest"]
14- python-version : ["3.9 "]
14+ python-version : ["3.10 "]
1515 steps :
1616 - name : Checkout
1717 uses : actions/checkout@v2
Original file line number Diff line number Diff line change 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,17 +28,15 @@ 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 # Install Hardware Dependant Libraries
37- - name : Install Jax and Upgrade CUDA
37+ - name : Check nvidia drivers
3838 shell : bash -l {0}
3939 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
4240 nvidia-smi
4341 - name : Display Conda Environment Versions
4442 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