From 66e0d8b9fd4d0f7a2231d689c055e26fdf1cf04a Mon Sep 17 00:00:00 2001 From: YurenHao0426 Date: Sat, 13 Jun 2026 12:35:36 -0500 Subject: rrm workspace: TRM/HRM/SRM code, Maze dataset, dynamical-analysis pipeline Curated export for clone-and-run Maze training (2x A6000) + diagnostics. trm/hrm pretrain.py carry trajectory-augmentation code (backward-compatible). Heavy artifacts (checkpoints/wandb/npz) gitignored; see PROVENANCE.md. Co-Authored-By: Claude Fable 5 --- .../flossing/flossing_suite/watch_and_summarize.sh | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 research/flossing/flossing_suite/watch_and_summarize.sh (limited to 'research/flossing/flossing_suite/watch_and_summarize.sh') diff --git a/research/flossing/flossing_suite/watch_and_summarize.sh b/research/flossing/flossing_suite/watch_and_summarize.sh new file mode 100755 index 0000000..a75c250 --- /dev/null +++ b/research/flossing/flossing_suite/watch_and_summarize.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash +set -euo pipefail + +ROOT="/home/yurenh2/rrm" +PY="/home/yurenh2/miniconda3/envs/rrm/bin/python" +cd "${ROOT}" + +if [[ "$#" -gt 0 ]]; then + pid_files=("$@") +else + pid_files=(research/flossing/flossing_suite/results/trm_faithful/trm_seed123_*.pid) +fi + +echo "watching ${#pid_files[@]} pid files" +for pf in "${pid_files[@]}"; do + [[ -f "${pf}" ]] || continue + pid="$(cat "${pf}")" + echo "watch ${pf}: pid ${pid}" + while kill -0 "${pid}" 2>/dev/null; do + sleep 60 + done + echo "done ${pf}: pid ${pid}" +done + +"${PY}" research/flossing/flossing_suite/summarize_flossing.py +bash research/flossing/flossing_suite/status.sh > research/flossing/flossing_suite/results/summary/final_status.txt +echo "watch complete" -- cgit v1.2.3