Skip to content

Commit

Permalink
[ifp_egm] Tidy up EGM, remove jitclass (#144)
Browse files Browse the repository at this point in the history
* misc

* TMP: return to previous software environment CUDA=12.1.0

* Revert "TMP: return to previous software environment CUDA=12.1.0"

This reverts commit 0192e23.

* add suggestion to clarify which jit is used

* MAINT: update action versions

* check python version

* update nb to numba

* TMP: disable cache for clean build test

* Revert "TMP: disable cache for clean build test"

This reverts commit 226b45f.

* update full build folder on failre

* initiate a reverse ssh tunnel

* instal tmux fo reverse tunnel

* update apt-get

* install upterm

* update reference to deb file

* remove reverse tunnel action -- not working

* TMP: simplify jit function interface for testing

* Revert "TMP: simplify jit function interface for testing"

This reverts commit 180b02e.

* TST: test if arrays was the issue

* TST: remove array unpacking as passed in separately

* TST: update arrays variable to contain numpy arrays

---------

Co-authored-by: mmcky <[email protected]>
  • Loading branch information
jstac and mmcky authored Mar 7, 2024
1 parent 1cd0306 commit 3a88350
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 126 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ jobs:
deploy-runner:
runs-on: ubuntu-latest
steps:
- uses: iterative/setup-cml@v1
- uses: actions/checkout@v3
- uses: iterative/setup-cml@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Deploy runner on EC2
Expand All @@ -27,22 +27,25 @@ jobs:
image: docker://mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2024-02-py311
options: --gpus all
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
# Check nvidia-smi
- name: Check nvidia drivers
shell: bash -l {0}
run: |
nvidia-smi
- name: Check python version
shell: bash -l {0}
run: |
python --version
- name: Display Conda Environment Versions
shell: bash -l {0}
run: conda list
- name: Display Pip Versions
shell: bash -l {0}
run: pip list
- name: Download "build" folder (cache)
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
workflow: cache.yml
branch: main
Expand All @@ -66,6 +69,12 @@ jobs:
shell: bash -l {0}
run: |
jb build lectures --path-output ./ -n -W --keep-going
- name: Upload build folder
uses: actions/upload-artifact@v2
if: failure()
with:
name: _build
path: _build/
- name: Upload Execution Reports
uses: actions/upload-artifact@v2
if: failure()
Expand Down
Loading

0 comments on commit 3a88350

Please sign in to comment.