Skip to content

Commit

Permalink
Bump method requirements (openproblems-bio#43)
Browse files Browse the repository at this point in the history
* increase max time

* bump
  • Loading branch information
rcannood authored May 22, 2024
1 parent 449e07e commit c0fe3a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _viash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ config_mods: |
.platforms[.type == 'docker'].target_image_source := 'https://github.com/openproblems-bio/task-dge-perturbation-prediction'
.platforms[.type == "nextflow"].directives.tag := "$id"
.platforms[.type == "nextflow"].auto.simplifyOutput := false
.platforms[.type == "nextflow"].config.labels := { lowmem : "memory = 20.Gb", midmem : "memory = 50.Gb", highmem : "memory = 100.Gb", lowcpu : "cpus = 5", midcpu : "cpus = 15", highcpu : "cpus = 30", lowtime : "time = 1.h", midtime : "time = 4.h", hightime : "time = 8.h" }
.platforms[.type == "nextflow"].config.labels := { lowmem : "memory = 20.Gb", midmem : "memory = 50.Gb", highmem : "memory = 100.Gb", lowcpu : "cpus = 5", midcpu : "cpus = 15", highcpu : "cpus = 30", lowtime : "time = 1.h", midtime : "time = 4.h", hightime : "time = 8.h", veryhightime : "time = 24.h" }
.platforms[.type == "nextflow"].config.script := "process.errorStrategy = 'ignore'"
2 changes: 1 addition & 1 deletion src/common/nextflow_helpers/labels_tw.config
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ process {
containerOptions = { workflow.containerEngine != 'singularity' ? "--shm-size ${String.format("%.0f",task.memory.mega * 0.25)}" : ""}
}
withLabel: gpu {
cpus: 8
cpus = 16
accelerator = 1
containerOptions = { workflow.containerEngine == "singularity" ? '--nv':
( workflow.containerEngine == "docker" ? '--gpus all': null ) }
Expand Down
2 changes: 1 addition & 1 deletion src/task/methods/lstm_gru_cnn_ensemble/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [hightime,highmem,highcpu,highsharedmem,gpu]
label: [veryhightime,highmem,highcpu,highsharedmem,gpu]

0 comments on commit c0fe3a5

Please sign in to comment.