Skip to content

Commit

Permalink
Dev icenet-ai#38: Ensuring dawn specifics aren't polluting the variab…
Browse files Browse the repository at this point in the history
…les passed through
  • Loading branch information
JimCircadian committed Aug 20, 2024
1 parent 158fbd5 commit 5f2289b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
12 changes: 6 additions & 6 deletions ensemble/predict.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ ensemble:
- ../../../network_datasets
- ../../../processed
- ../../../results
mem: 224gb
cluster: pvc
cluster: short
email: [email protected]
length: 00:30:00
mem: 128gb
nodes: 1
ntasks: 2

pre_process: []
post_process: []
Expand All @@ -23,11 +27,7 @@ ensemble:
templatedir: ../template
templates:
- icenet_predict.sh.j2
email: [email protected]
job_file: icenet_predict.sh
nodes: 1
ntasks: 8
length: 00:30:00
maxruns: 100
maxjobs: 10

Expand Down
8 changes: 4 additions & 4 deletions ensemble/train.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ ensemble:
- ../../../network_datasets
- ../../../processed
- ../../../results
cluster: long
email: [email protected]
gpus: 1
length: 4-00:00:00
mem: 128gb
cluster: pvc
nodes: 1
ntasks: NTASKS

pre_process:
- name: execute
Expand All @@ -31,10 +34,7 @@ ensemble:
templatedir: ../template
templates:
- icenet_train.sh.j2
email: [email protected]
job_file: icenet_train.sh
ntasks: NTASKS
length: 4-00:00:00
maxruns: 5
maxjobs: MAXJOBS

Expand Down
1 change: 1 addition & 0 deletions run_predict_ensemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ENSEMBLE_SEEDS_DEFAULT=42,46,45
while getopts ":b:df:i:lm:p:r:x" opt; do
case "$opt" in
b) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}arg_batch=$OPTARG ";;
c) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}cluster=$OPTARG ";;
d) ENSEMBLE_TARGET="dummy";;
f) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}arg_filter_factor=$OPTARG ";;
i) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}arg_ident=$OPTARG ";;
Expand Down
1 change: 1 addition & 0 deletions run_train_ensemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ while getopts ":b:c:de:f:g:j:l:m:n:p:q:r:s:t:" opt; do
l) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}arg_preload=$OPTARG ";;
m) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}mem=$OPTARG ";;
n) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}nodelist=$OPTARG ";;
o) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}nodes=$OPTARG ";;
p) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}arg_prep=$OPTARG ";;
q) ENSEMBLE_ARGS="${ENSEMBLE_ARGS}arg_queue=$OPTARG ";;
r) ENSEMBLE_RUNS=$OPTARG ;; # Ensemble member run seed values
Expand Down

0 comments on commit 5f2289b

Please sign in to comment.