Skip to content

Commit

Permalink
Feature: Optimizations and bug fixes for training (#42)
Browse files Browse the repository at this point in the history
* performance optimizations

* train multiple repeats on single node in parallel

* bug fix

* fix bug in indexing when subset_samples() removed something

* sleep between jobs; stop if any job fails

* format with black

* bug fixes

* add test for MultiphenoDataloader

* update environments

* uncomment rules

* bug fixes

* subset samples in training_dataset rule

* example config.yaml

* use gpu queue for compute_burdens

* performance optimizations

* train multiple repeats on single node in parallel

* bug fix

* fix bug in indexing when subset_samples() removed something

* sleep between jobs; stop if any job fails

* format with black

* bug fixes

* add test for MultiphenoDataloader

* update environments

* uncomment rules

* bug fixes

* subset samples in training_dataset rule

* example config.yaml

* use gpu queue for compute_burdens

* refactoring

* add test for make_dataset

* update test runner for multiple conda envs

* Fix githubaction yaml

* bugfix

* fix test

---------

Co-authored-by: Brian Clarke <brian.clarke@dkfz.de>
Co-authored-by: Magnus Wahlberg <endast@gmail.com>
  • Loading branch information
3 people authored Dec 19, 2023
1 parent 67c70ae commit e7bb0dc
Show file tree
Hide file tree
Showing 271 changed files with 2,183 additions and 186 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/test-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ on: [ push ]

jobs:
DeepRVAT-Tests-Runner:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1.4.3
with:
environment-name: deeprvat-preprocess-gh-action
environment-file: ${{ github.workspace }}/deeprvat_env_no_gpu.yml
cache-environment: true
cache-downloads: true

- name: Install DeepRVAT
run: pip install -e ${{ github.workspace }}
shell: micromamba-shell {0}
- name: Run pytest deeprvat
run: pytest -v ${{ github.workspace }}/tests/deeprvat
shell: micromamba-shell {0}

DeepRVAT-Tests-Runner-Preprocessing:
runs-on: ubuntu-latest
steps:

Expand All @@ -20,6 +39,6 @@ jobs:
run: pip install -e ${{ github.workspace }}
shell: micromamba-shell {0}

- name: Run pytest
run: pytest -v ${{ github.workspace }}/tests
- name: Run pytest preprocessing
run: pytest -v ${{ github.workspace }}/tests/preprocessing
shell: micromamba-shell {0}
Loading

0 comments on commit e7bb0dc

Please sign in to comment.