diff --git a/examples/bumpy_hpo.yaml b/examples/bumpy_hpo.yaml index bd0d109..48f53a1 100644 --- a/examples/bumpy_hpo.yaml +++ b/examples/bumpy_hpo.yaml @@ -11,6 +11,11 @@ metrics: static: global-mu: "23 42 66" +wlm: + gpu-count: 0 + cpu-count: 2 + mem-gb: 4 + hpo: x: type: float diff --git a/examples/wlm_plugins/ccc_plugin.sh b/examples/wlm_plugins/ccc_plugin.sh index 14f1d5f..ec750f8 100755 --- a/examples/wlm_plugins/ccc_plugin.sh +++ b/examples/wlm_plugins/ccc_plugin.sh @@ -1,76 +1,68 @@ #!/usr/bin/env bash # ============================================================================= -# Trial script for iterate2 - CCC (IBM Spectrum LSF) backend +# iterate2 WLM plugin - CCC (IBM Spectrum LSF) # -# Called once per Optuna trial. Activates the venv, builds the training -# command from ITERATE_PARAM_* env vars, and submits it via bsub -K. +# Invocation contract (set by iterate2 when --wlm-plugin is used): # -# Environment variables provided by iterate2 -# ------------------------------------------ -# ITERATE_TRIAL_NUMBER integer trial ID -# ITERATE_OUT_FILE metric lines are read from here by iterate2 -# ITERATE_ERR_FILE path for error output -# ITERATE_PARAM_ one variable per HPO + static parameter -# (key uppercased, hyphens -> underscores) +# ccc_plugin.sh