Skip to content

Commit 43a2a31

Browse files
Merge pull request #66 from actuarialopensource/compiled-model
Compiled model
2 parents 25a42fb + f9b6510 commit 43a2a31

17 files changed

Lines changed: 165 additions & 24 deletions

.github/workflows/BasicTerm_ME_PyTorch.yml renamed to .github/workflows/BasicTerm_ME_python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: basicterm_me_pytorch
1+
name: basicterm_me_python
22

33
on:
44
workflow_dispatch:
55
push:
66
paths:
7-
- 'containers/BasicTerm_ME_heavylight/**'
7+
- 'containers/BasicTerm_ME_python/**'
88

99
jobs:
1010
docker:
@@ -28,6 +28,6 @@ jobs:
2828
name: Build and push
2929
uses: docker/build-push-action@v5
3030
with:
31-
context: "{{defaultContext}}:containers/BasicTerm_ME_heavylight"
31+
context: "{{defaultContext}}:containers/BasicTerm_ME_python"
3232
push: true
33-
tags: actuarial/basicterm_me_pytorch:latest
33+
tags: actuarial/basicterm_me_python:latest

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ We currently only have 1 benchmark, we are working to expand the benchmarks. Ope
88

99
Time measurement is currently the best of 3 runs.
1010

11-
| benchmark | recursive | container |A100-SXM4-40GB | H100-SXM5-80GB |
11+
| benchmark | classification | container |A100-SXM4-40GB | H100-SXM5-80GB |
1212
|---------------|-|-|----------------|----------------|
13-
| BasicTerm_ME 100 Million | Yes | [link](https://hub.docker.com/repository/docker/actuarial/basicterm_me_pytorch/general) | 15.8194s | 7.1820s |
13+
| BasicTerm_ME 100 Million | recursive PyTorch | [link](https://hub.docker.com/repository/docker/actuarial/basicterm_me_python/general) | 15.8284s | 7.205s |
14+
| BasicTerm_ME 100 Million | compiled iterative JAX | [link](https://hub.docker.com/repository/docker/actuarial/basicterm_me_python/general) | 3.448s | 1.551s |
1415

1516

1617
### Notes

containers/BasicTerm_ME_heavylight/.devcontainer/devcontainer.json renamed to containers/BasicTerm_ME_python/.devcontainer/devcontainer.json

File renamed without changes.

containers/BasicTerm_ME_heavylight/BasicTerm_ME/Projection/__init__.py renamed to containers/BasicTerm_ME_python/BasicTerm_ME/Projection/__init__.py

File renamed without changes.

containers/BasicTerm_ME_heavylight/BasicTerm_ME/__init__.py renamed to containers/BasicTerm_ME_python/BasicTerm_ME/__init__.py

File renamed without changes.

containers/BasicTerm_ME_heavylight/BasicTerm_ME/_data/data.pickle renamed to containers/BasicTerm_ME_python/BasicTerm_ME/_data/data.pickle

File renamed without changes.

containers/BasicTerm_ME_heavylight/BasicTerm_ME/_system.json renamed to containers/BasicTerm_ME_python/BasicTerm_ME/_system.json

File renamed without changes.

containers/BasicTerm_ME_heavylight/BasicTerm_ME/disc_rate_ann.xlsx renamed to containers/BasicTerm_ME_python/BasicTerm_ME/disc_rate_ann.xlsx

File renamed without changes.

containers/BasicTerm_ME_heavylight/BasicTerm_ME/model_point_table.xlsx renamed to containers/BasicTerm_ME_python/BasicTerm_ME/model_point_table.xlsx

File renamed without changes.

containers/BasicTerm_ME_heavylight/BasicTerm_ME/mort_table.xlsx renamed to containers/BasicTerm_ME_python/BasicTerm_ME/mort_table.xlsx

File renamed without changes.

0 commit comments

Comments
 (0)