From 9b762abd9bcb133407f841786c88c6fd03e41aa4 Mon Sep 17 00:00:00 2001 From: echobt <154886644+echobt@users.noreply.github.com> Date: Thu, 15 Oct 2026 03:22:40 +0000 Subject: [PATCH] fix(launch): restore staging time in the signed launch window task8-deps stops staging at cutoff - (qualification + hard margin), so the 11460 s window left 60 s for host deps and failed with remote_absolute_deadline_exhausted. Window back to 13200 s and the admit guard counts the 1800 s staging budget. --- scripts/launch_cuda_run.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/launch_cuda_run.sh b/scripts/launch_cuda_run.sh index 5819559..39d8afc 100755 --- a/scripts/launch_cuda_run.sh +++ b/scripts/launch_cuda_run.sh @@ -31,8 +31,9 @@ REPO=${REPO:-$(cd "$(dirname "$0")/.." && pwd)} FIX_BASE=${FIX_BASE:-1a8f91e} MINER_SSH=${MINER_SSH:-} MINER_KEY=${MINER_KEY:-} -# Signed floor: cutoff >= admitted + qualification 9600 s + hard margin 1800 s (orchestrate.py). -WINDOW=${WINDOW:-11460} +# Signed floor: cutoff >= admitted + staging 1800 s + qualification 9600 s + hard margin 1800 s; +# task8-deps stops staging at cutoff - (qualification + hard margin), so staging needs its own 1800 s. +WINDOW=${WINDOW:-13200} HOTKEY_SEED=${HOTKEY_SEED:-$RD/keys/uid247-hotkey.seed} COORD_KEY=${COORD_KEY:-/root/.config/cortex-secrets/s100-master/challenges/hypertrain/coord.key} PROXY_TOKEN=${PROXY_TOKEN:-/root/.config/cortex-secrets/od-large-e2e-miners/proxy.token} @@ -147,7 +148,7 @@ COMMON=(--base "$PREP/base/private/review-base.json" --parent-pid "$$" --owner-s LIVE=$PREP/live-$TAG if stage admit; then [ ! -e "$RUN/journal.jsonl" ] || die "$RUN already holds a transaction of another parent: use a new TAG" - [ $((A + 9600 + 1800)) -le "$CUT" ] || die "window too short A=$A CUT=$CUT (job deadline $JD)" + [ $((A + 1800 + 9600 + 1800)) -le "$CUT" ] || die "window too short A=$A CUT=$CUT (job deadline $JD)" install -d -o 65532 -g 65532 -m 0700 "$RUN" "$LIVE" as_runtime "$PY" "$T/prepare_record.py" "${COMMON[@]}" --action admit --beacon "$(beacon_round)" \ --output "$LIVE/review-admit.json" "${CTX[@]}" > "$STATE/admit.out" 2>&1 || die "see $STATE/admit.out"