From b1bfae2367a08c9ecea71bc392c0b485eba144e9 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Fri, 22 May 2026 20:45:21 +0200 Subject: [PATCH] feat(argo): replace --seq-len with --multi-resolution in alpha-perception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Default '1:10,30:10,100:12' (32 positions, 1510-tick context). Greenfield migration — no legacy seq-len fallback. Operators override per-run via './scripts/argo-alpha-perception.sh --multi-resolution 1:32' for the parity-check config. --- infra/k8s/argo/alpha-perception-template.yaml | 6 +++--- scripts/argo-alpha-perception.sh | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/infra/k8s/argo/alpha-perception-template.yaml b/infra/k8s/argo/alpha-perception-template.yaml index c2d1e0383..946f11ac2 100644 --- a/infra/k8s/argo/alpha-perception-template.yaml +++ b/infra/k8s/argo/alpha-perception-template.yaml @@ -48,8 +48,8 @@ spec: # Trainer hyperparameters (mirror the validated smoke config). - name: epochs value: "5" - - name: seq-len - value: "32" + - name: multi-resolution + value: "1:10,30:10,100:12" - name: mamba2-state-dim value: "16" - name: lr-cfc @@ -461,7 +461,7 @@ spec: --predecoded-dir "$PREDECODED_DIR" \ --out "$OUT_DIR" \ --epochs {{workflow.parameters.epochs}} \ - --seq-len {{workflow.parameters.seq-len}} \ + --multi-resolution "{{workflow.parameters.multi-resolution}}" \ --mamba2-state-dim {{workflow.parameters.mamba2-state-dim}} \ --lr-cfc {{workflow.parameters.lr-cfc}} \ --lr-mamba2 {{workflow.parameters.lr-mamba2}} \ diff --git a/scripts/argo-alpha-perception.sh b/scripts/argo-alpha-perception.sh index 28a2faf25..0c89b8b72 100755 --- a/scripts/argo-alpha-perception.sh +++ b/scripts/argo-alpha-perception.sh @@ -20,7 +20,7 @@ SHA=HEAD BRANCH=$(git symbolic-ref --short HEAD 2>/dev/null || echo "ml-alpha-phase-a") GPU_POOL=ci-training-l40s EPOCHS=5 -SEQ_LEN=32 +MULTI_RESOLUTION="1:10,30:10,100:12" MAMBA2_STATE_DIM=16 LR_CFC=3e-3 LR_MAMBA2=1e-3 @@ -45,7 +45,7 @@ Usage: $0 [OPTIONS] --branch Git branch (default: $BRANCH) --gpu-pool GPU pool (default: $GPU_POOL) --epochs Training epochs (default: $EPOCHS) - --seq-len Snapshots per sequence window (default: $SEQ_LEN) + --multi-resolution Multi-scale input: scale:count[,...] (default: $MULTI_RESOLUTION) --mamba2-state-dim Mamba2 SSM state dim (default: $MAMBA2_STATE_DIM) --lr-cfc CfC learning rate (default: $LR_CFC) --lr-mamba2 Mamba2 learning rate (default: $LR_MAMBA2) @@ -67,7 +67,7 @@ while [[ $# -gt 0 ]]; do --branch) BRANCH="$2"; shift 2 ;; --gpu-pool) GPU_POOL="$2"; shift 2 ;; --epochs) EPOCHS="$2"; shift 2 ;; - --seq-len) SEQ_LEN="$2"; shift 2 ;; + --multi-resolution) MULTI_RESOLUTION="$2"; shift 2 ;; --mamba2-state-dim) MAMBA2_STATE_DIM="$2"; shift 2 ;; --lr-cfc) LR_CFC="$2"; shift 2 ;; --lr-mamba2) LR_MAMBA2="$2"; shift 2 ;; @@ -120,7 +120,7 @@ echo " branch: $BRANCH" echo " sha: $SHA" echo " gpu-pool: $GPU_POOL (sm_$SM)" echo " epochs: $EPOCHS" -echo " seq-len: $SEQ_LEN" +echo " multi-resolution: $MULTI_RESOLUTION" echo " mamba2-state-dim: $MAMBA2_STATE_DIM" echo " lr-cfc: $LR_CFC" echo " lr-mamba2: $LR_MAMBA2" @@ -139,7 +139,7 @@ argo submit -n foxhunt --from=wftmpl/alpha-perception \ -p cuda-compute-cap="$SM" \ -p gpu-pool="$GPU_POOL" \ -p epochs="$EPOCHS" \ - -p seq-len="$SEQ_LEN" \ + -p multi-resolution="$MULTI_RESOLUTION" \ -p mamba2-state-dim="$MAMBA2_STATE_DIM" \ -p lr-cfc="$LR_CFC" \ -p lr-mamba2="$LR_MAMBA2" \