From d885dc501917c8b201c7e9dd6ed093a5fd649491 Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Tue, 10 Nov 2026 20:27:08 +0100 Subject: [PATCH] Window scripts: holder env var goes before nohup (nohup HOLDER_MEMFD=... failed to start the holder) Co-Authored-By: Claude Sonnet 5.5 --- scripts/e2e/codex/compare/cmp_window.sh | 2 +- scripts/e2e/codex/speed/spd_window.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/e2e/codex/compare/cmp_window.sh b/scripts/e2e/codex/compare/cmp_window.sh index f08a9f55..6d7177e3 100644 --- a/scripts/e2e/codex/compare/cmp_window.sh +++ b/scripts/e2e/codex/compare/cmp_window.sh @@ -13,7 +13,7 @@ restart_holder() { rmdir "$HOME/work/gpu-runs/MODEL.lock" 2>/dev/null # ours, if the payload died holding it rm -f "$H/jobs/STOP" "$H/jobs/READY" # the restarted holder must not inherit this window's CMP_* settings (it passes its environment on to every later queue stub: cmp-van-r2 once ran as VANL because of it) - ( cd "$H" && unset CMP_ARM CMP_TASKS CMP_OPTIONAL CMP_REPS CMP_VANILLA_LOSSY CMP_WALL CMP_ROUNDS CMP_RUN CMP_TARBALL && setsid nohup HOLDER_MEMFD=sparse bash /data/leleka-e2e/prefill-latency/tools/pf_holder_sparse.sh > "$H/holder3.out" 2>&1 < /dev/null & ) + ( cd "$H" && unset CMP_ARM CMP_TASKS CMP_OPTIONAL CMP_REPS CMP_VANILLA_LOSSY CMP_WALL CMP_ROUNDS CMP_RUN CMP_TARBALL && HOLDER_MEMFD=sparse setsid nohup bash /data/leleka-e2e/prefill-latency/tools/pf_holder_sparse.sh > "$H/holder3.out" 2>&1 < /dev/null & ) note "window $LABEL over: holder restarted SPARSE with pf_holder_sparse.sh (holder3.out; the full single-copy-holder.sh refilled the memfd to 51.5 GiB after every window); queue open again" } trap restart_holder EXIT diff --git a/scripts/e2e/codex/speed/spd_window.sh b/scripts/e2e/codex/speed/spd_window.sh index 12d3569f..16fd97a1 100644 --- a/scripts/e2e/codex/speed/spd_window.sh +++ b/scripts/e2e/codex/speed/spd_window.sh @@ -14,7 +14,7 @@ restart_holder() { rmdir "$HOME/work/gpu-runs/MODEL.lock" 2>/dev/null # ours, if the payload died holding it rm -f "$H/jobs/STOP" "$H/jobs/READY" # the restarted holder must not inherit this window's CMP_* settings (it passes its environment on to every later queue stub: cmp-van-r2 once ran as VANL because of it) - ( cd "$H" && unset CMP_ARM CMP_TASKS CMP_OPTIONAL CMP_REPS CMP_VANILLA_LOSSY CMP_WALL CMP_ROUNDS CMP_RUN CMP_TARBALL SPD_LOSSY SPD_MAX SPD_CELLS SPD_RUN && setsid nohup HOLDER_MEMFD=sparse bash /data/leleka-e2e/prefill-latency/tools/pf_holder_sparse.sh > "$H/holder3.out" 2>&1 < /dev/null & ) + ( cd "$H" && unset CMP_ARM CMP_TASKS CMP_OPTIONAL CMP_REPS CMP_VANILLA_LOSSY CMP_WALL CMP_ROUNDS CMP_RUN CMP_TARBALL SPD_LOSSY SPD_MAX SPD_CELLS SPD_RUN && HOLDER_MEMFD=sparse setsid nohup bash /data/leleka-e2e/prefill-latency/tools/pf_holder_sparse.sh > "$H/holder3.out" 2>&1 < /dev/null & ) note "window $LABEL over: holder restarted SPARSE with pf_holder_sparse.sh (holder3.out; the full single-copy-holder.sh refilled the memfd to 51.5 GiB after every window); queue open again" } trap restart_holder EXIT