Skip to content

Commit

Permalink
Merge pull request #65 from actuarialopensource/basicterm_heavylight_…
Browse files Browse the repository at this point in the history
…pytorch

Basicterm heavylight pytorch
  • Loading branch information
MatthewCaseres authored May 3, 2024
2 parents 37be84c + 715b67e commit a911955
Show file tree
Hide file tree
Showing 106 changed files with 1,395 additions and 1,855 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/BasicTerm_ME_PyTorch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: basicterm_me_pytorch

on:
workflow_dispatch:
push:
paths:
- 'containers/BasicTerm_ME_heavylight/**'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Delete huge unnecessary tools folder # https://github.com/orgs/community/discussions/25678
run: rm -rf /opt/hostedtoolcache
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: actuarial
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:containers/BasicTerm_ME_heavylight"
push: true
tags: actuarial/basicterm_me_pytorch:latest
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: bench
name: github-runners-benchmarks
on:
workflow_dispatch:
push:
paths:
- 'github-runners-benchmarks/**'
pull_request:
paths:
- 'github-runners-benchmarks/**'
jobs:
bench-R:
runs-on: ubuntu-latest
env:
RENV_PATHS_ROOT: ~/.local/share/renv
defaults:
run:
working-directory: R
working-directory: github-runners-benchmarks/R
steps:
- uses: actions/checkout@v3 #now we need to install R
- uses: r-lib/actions/setup-r@v2
Expand All @@ -36,12 +40,12 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: R_benchmark
path: R/benchmark_results.yaml
path: github-runners-benchmarks/R/benchmark_results.yaml
bench-Julia:
runs-on: ubuntu-latest
defaults:
run:
working-directory: Julia
working-directory: github-runners-benchmarks/Julia
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
Expand All @@ -54,12 +58,12 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: Julia_benchmark
path: Julia/benchmark_results.yaml
path: github-runners-benchmarks/Julia/benchmark_results.yaml
bench-Python:
runs-on: ubuntu-latest
defaults:
run:
working-directory: Python
working-directory: github-runners-benchmarks/Python
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
Expand All @@ -81,8 +85,11 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: Python_benchmark
path: Python/benchmark_results.yaml
create-README:
path: github-runners-benchmarks/Python/benchmark_results.yaml
create-README:
defaults:
run:
working-directory: github-runners-benchmarks
runs-on: ubuntu-latest
needs: [bench-R, bench-Julia, bench-Python]
steps:
Expand All @@ -91,17 +98,17 @@ jobs:
uses: actions/download-artifact@v2
with:
name: R_benchmark
path: R
path: github-runners-benchmarks/R
- name: Download Julia benchmark
uses: actions/download-artifact@v2
with:
name: Julia_benchmark
path: Julia
path: github-runners-benchmarks/Julia
- name: Download Python benchmark
uses: actions/download-artifact@v2
with:
name: Python_benchmark
path: Python
path: github-runners-benchmarks/Python
# SETUP python and install dependencies
- uses: actions/setup-python@v2
with:
Expand Down
Loading

0 comments on commit a911955

Please sign in to comment.