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 --- .../registries/General/.ci/instantiate.sh | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 research/flossing/external/julia_depot/registries/General/.ci/instantiate.sh (limited to 'research/flossing/external/julia_depot/registries/General/.ci/instantiate.sh') diff --git a/research/flossing/external/julia_depot/registries/General/.ci/instantiate.sh b/research/flossing/external/julia_depot/registries/General/.ci/instantiate.sh new file mode 100755 index 0000000..ce636ec --- /dev/null +++ b/research/flossing/external/julia_depot/registries/General/.ci/instantiate.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +# This script runs `Pkg.instantiate()` inside a bounded retry loop. + +dir="${1:-}" + +if [ -z "$dir" ]; then + echo "Usage: $0 " >&2 + exit 2 +fi +if [ ! -d "$dir" ]; then + echo "Error: '$dir' is not a directory." >&2 + exit 2 +fi + +try_count=0 +while [ "$try_count" -lt 9 ]; do + julia --color=yes --project="$dir" -e 'import Pkg; Pkg.instantiate()' + if [ $? -eq 0 ]; then exit 0; fi + try_count=$((try_count + 1)) + sleep 20 +done + +exit 1 -- cgit v1.2.3